
9th March 2008, 03:29 AM
|
|
Junior Member
|
|
Join Date: Mar 2008
Posts: 1
Credits: 0
|
|
<UL> and <LI> CSS and HTML Stacking on top of each other.?
On my web page I have and with a background that looks like a tab. I like the way it looks but when the page is made smaller it stacks the tabs on top of each other. In the CSS if I put the position:Absolute; it just makes it so only one shows up what am I doing wrong?CSS#menu {display:block;position:relative;padding: 0px 40px 0px 425px;}#menu ul {position:relative;list-style: none;}#menu li {display:inline;height:22px;position:relative;}#me nu a {float:left;position:relative;width: 71px;height: 22px;padding-top:2px;margin:0 2px 0 0;background: url('images/tab.jpg') no-repeat;#menu a:hover, #menu .current a {background: url('images/tab_current.jpg') no-repeat;}HTMLHomeBenefitsProducts**No answers that just link to other pages**
|