2 replies [Last post]
tomiford
Offline
newbie
Last seen: 17 years 21 weeks ago
Joined: 2004-07-07
Posts: 2
Points: 0

Hi

I have a Netscape compatibility issue. Here is a sample of the html

<div id="content">
    <div id="content-container">
        <div id="divContentWrapper">
            <div id="divLeft">E-Benkyo Ad / New user info</div>
            <div id="divRight">Hot Jobs</div>
        </div>
    </div>
</div>

here is a sample of the CSS.

#content {
	background:	url("../images/content/body_bg.gif") top left repeat-y;
	border-bottom:	none;
	border-left: 	1px solid #fff;
	border-right: 	1px solid #fff;
	border-top: 	none;
	clear: 		both;
	margin: 		0 auto;
	padding:		0;
	position: 		relative;
	text-align: 	left;
	top:		0;
	width: 		756px !important;
	width: 		758px;
}
#content-container {
	border: 		1px solid #fff;
	clear: 		both;
	margin: 		0 11px 0 8px;
	padding:		0;
	position: 		relative;
	text-align: 	left;
	width: 		735px !important;
	width: 		737px;
}
#divContentWrapper {
	border:		none;
	height:		auto;
	padding:		0;
	width:		735px;
}
#divRight {
	border:		1px solid #A3B4E1;
	float:		right;
	height:		200px !important;
	margin:		8px 0 0 0;
	padding:		0;
	width:		150px !important;
}
#divLeft {
	border:		1px solid #A3B4E1;
	float:		left;
	height:		200px !important;
	margin:		8px 0 0 0;
	width:		572px !important;
}

The backgorund for the content div does not repeat in Netscape, Opera and IE are fine. Any advice would be much appreciated.

I realise there are a lot of wrapper, but for formatting reasons they are presently needed.

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 5 weeks 2 days ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5343
Points: 2964

Netscape wrapper image not repeating

Hi tomiford,
Start by commenting out sections of your css till you can narrow down what is causing the problem.

If you have firefox and the developers extension it should be really easy.

Hope that helps

tomiford
Offline
newbie
Last seen: 17 years 21 weeks ago
Joined: 2004-07-07
Posts: 2
Points: 0

Netscape wrapper image not repeating

Thanks for your advice. The problem still remains in Netscape.

I have done some more testing and if I add <br/> below the <div> inside the wrapper div the background is displayed. Netscape obviously isn't recognising these divs, has anybody ever come across this problems before?