4 replies [Last post]
orliville
Offline
newbie
Last seen: 17 years 23 weeks ago
Timezone: GMT-5
Joined: 2004-07-01
Posts: 3
Points: 0

Hi all,

I haven't just recently put up my first XHTML/CSS page on my site that is validated for both. The site looks fine in IE, but not in firefox (or opera and I'm assuming mozilla and netscape). Please let me know how I can set this straight.
Here's the site: Orlinet
and the css: OrlinetLayout

PS: This is my first post, woohoo! :D[/url]

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 1 week 1 day ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5344
Points: 2965

[Help] Firefox bugs on first XHTML/CSS site

Hi orliville,
It looks like the height of #content div is causing the problem.
Try setting that to 100% or try this

#content{min-height:100%;} 
*html #content{height:1%;} /* IE only */ 


Hope that helps

orliville
Offline
newbie
Last seen: 17 years 23 weeks ago
Timezone: GMT-5
Joined: 2004-07-01
Posts: 3
Points: 0

[Help] Firefox bugs on first XHTML/CSS site

That definately helped out a bunch! Thanks! Now the only issue is that there is are two breaks on the page, one above the content section and one below. Any ideas?

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 1 week 1 day ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5344
Points: 2965

[Help] Firefox bugs on first XHTML/CSS site

Hi orliville,
Try giving the #content a border, that might get rid of the space.

orliville
Offline
newbie
Last seen: 17 years 23 weeks ago
Timezone: GMT-5
Joined: 2004-07-01
Posts: 3
Points: 0

[Help] Firefox bugs on first XHTML/CSS site

Tony wrote:
Hi orliville,
Try giving the #content a border, that might get rid of the space.

I gave that a try and it did work, but I started to mess around with the padding on the top and bottom and that fixed the whole issue. Thanks for all your help, I'm sure I'll be back in here asking for more in the not to distant future Wink