/    Sign up×
Community /Pin to ProfileBookmark

Having trouble (Tableless). Works correctly in IE but not in FF

[url]http://www.hostreviewers.com/hostrev/[/url]

Works how I want it to in IE but when I check the same page out in Firefix it doesn’t look how I want it to look. HELP!!! ?

[code=html]
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html dir=”ltr” lang=”en”>
<head>
<title>Your page title goes here</title>
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″ />
<style type=”text/css”>
<!–
body {
background: #DBEBF5;
margin: 0px;
font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #5D6882;
}

#wrapper {
width: 770px;
background: #CCE3F1 url(./images/leftcolumn.gif) repeat-y;
border-right: 1px solid #B0CCDD;
}

#leftcolumn {
width: 285px;
}

#leftcolumninner {
background: #EAF0FF;
width: 265px;
margin: auto;
}

#box {
width: 236px;
background: #FFF url(./images/box_start.gif) top no-repeat;
margin: auto;
margin-top: 16px;
margin-bottom: 0px;
color: #6F8299;
}

#boxend {
width: 236px;
background: #FFF url(./images/box_end.gif) top no-repeat;
margin: auto;
margin-bottom: 6px;
height: 9px;
}

#leftcolumnend {
width: 265px;
background: transparent url(./images/leftcolumnend.gif) top no-repeat;
margin: auto;
margin-bottom: 8px;
height: 4px;
}

#box h1 {
color: #6298D5;
font-weight: bold;
font-size: 11px;
padding-top: 7px;
margin-left: 10px;
margin-right: 10px;
margin-bottom: 0px;
}

#box p {
color: #6F8299;
margin-top: 7px;
margin-left: 10px;
margin-right: 10px;
margin-bottom: 0px;
padding: 0px;
}

.il {
margin-left: 14px;
margin-bottom: 15px;
}

.ir {
margin-left: 4px;
margin-bottom: 15px;
}

#strip {
background: transparent url(./images/strip.gif) top repeat-x;
height: 40px;
width: 770px;
border-right: 1px solid #5878C4;
}
–>
</style></head>

<body>
<div id=”strip”></div>
<div id=”wrapper”><div id=”leftcolumn”><div id=”leftcolumninner”><div id=”box”><h1>Elixant.com</h1><p>For many years Elixant has been the solid provider of hosting solutions based both in the US and the UK.</p></div><div id=”boxend”><!– –></div>
<a href=”#”><img src=”images/visit.gif” alt=”” border=”0″ class=”il”></a><a href=”#”><img src=”images/reviews.gif” alt=”” border=”0″ class=”ir”></a><div id=”box”><h1>Elixant.com</h1><p>For many years Elixant has been the solid provider of hosting solutions based both in the US and the UK.</p></div><div id=”boxend”><!– –></div>
<a href=”#”><img src=”images/visit.gif” alt=”” border=”0″ class=”il”></a><a href=”#”><img src=”images/reviews.gif” alt=”” border=”0″ class=”ir”></a></div><div id=”leftcolumnend”><!– –></div>
</div></div>
</body>
</html>[/code]

Ps. If you see any other bad coding by me, please tell me. ?

Thanks in advance,

Sam Granger

to post a comment
CSS

3 Comments(s)

Copy linkTweet thisAlerts:
@toicontienNov 10.2005 — The following post won't solve your problem. I'm at work and don't have the time ? but the post brings up some ideas that will help you trouble shoot the problem yourself. http://www.webdeveloper.com/forum/showpost.php?p=462307&postcount=2
Copy linkTweet thisAlerts:
@SiddanNov 11.2005 — the #box using margin-top:16px pushes down the whole box from the top in Firefox.

If that´s the one you are reffering to
Copy linkTweet thisAlerts:
@drhowarddrfineNov 11.2005 — Validate your code. You have multiply defined 'id's and missing end tags.


If it works in IE but not Firefox then your code has problems. Never design in IE.
×

Success!

Help @Sam_Granger spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 4.28,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...