css ie6 disaster
- Started
- Last post
- 6 Responses
- shouldbeworking
can someone tell me what i can do about this site so it works in IE6? the menu doesn't work and it tiles the background. Check it out and let me know.
- shouldbeworking0
if you view the source code of this page it's the style sheet, i just copied it into an html page.... needless to say i'm a noob, but thanks for your help
- ender790
insert this into your code:
background-repeat:no-repeat;
put it underneath background-image: url(images/homebgnew.jpg);
that should take care of the background repeating.
- ender790
offhand, i'm not quite sure why all that extra space shows on the right side, causing the background to repeat. bump this tomorrow, when all the css gurus are up.
- Stugoo0
dont really have time to look at it in depth but make sure that if an item ahs margins it has a display: inline; as IE6 buggs out and doubles them.
other wise i get page not found when i open http://www.stevehopfdesign.com/f…
- Stugoo0
if you dont want the background to repeat use.
background:url() no-repeat;
or
background:url() repeat-x; to repeat on the horizontal axisor
background:url() repeat-y; on the vertical axis.the positioning is not how i would build that site if you want the box fixed height and width in the center of the page try this :
#centerColum {
width:870px;
height: 544px;
left: 50%;
top: 50%;
position: absolute;
margin-left: -435px;
margin-top: -277px;
padding: 0;
font-family: Arial;
border:3px solid #fff;
background-image: url(images/homebgnew.jpg) no-repeat;
}
your menu i haven't looked at but feel free to email me about a centrally aligned layout.peace.
- shouldbeworking0
gracias