Forum Moderators: not2easy
My CSS:
body { background: url(images/background.jpg); background-repeat: repeat-x; border-bottom: 8px solid #FF9900; margin: 0px; width:100% height:100% } My HTML:
<body onLoad="MM_preloadImages('images/about-r.gif','images/faq-r.gif','images/survey-r.gif','images/getinvolved-r.gif','images/donate-r.gif','images/join-r.gif','images/jobs-r.gif')">
<div> The CSS/HTML was generated originally in Adobe CS4, but I've moved it around to try to get it to work and added the "border-bottom 8px" code. This works in Safari but not in Firefox. I've played with it for two days and I'm afraid as a newbie CSS editor I don't understand what's wrong. I think it's the order in which the CSS happens but I'm not sure.
Would anyone have a suggestion about how to make this seemingly simple line work across browsers?
Thank you so much!
Welcome to WebmasterWorld :)
Are your stylesheets and HTML valid? I suspect there might be some errors - I can see one already.
Width:100% - should have a following semi-colon e.g:
width:100%;
Height:100%; might also cause you some issues as browser support is very mixed for this attribute. Especially in IE.