Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
CSS: White space in IE, but not Firefox
Old 10-27-2006, 04:50 PM CSS: White space in IE, but not Firefox
Average Talker

Posts: 15
Trades: 0
I've been using Wordpress to create a site and the theme that I'm using is working great in Firefox, but when I tested it in IE there's some white space that showed up at the bottom that I don't know how to get rid of. I think it has something to do with the CSS code.

Would anyone know of a problem that IE has with the height property in CSS? Is there any way I can fix it?

View it here...
http://www.burchfield.org/bwoc/test

Thanks,
Jeffrey <><
jacannon2 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-02-2006, 02:19 AM Re: CSS: White space in IE, but not Firefox
Novice Talker

Posts: 7
Name: Nadeem Abbasi
Location: Pakistan
Trades: 0
use <div> tag with setting its "WIDTH" property.
your problem will be solved.

happy coding!
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
NadeemAbbasi is offline
Reply With Quote
View Public Profile
 
Old 11-02-2006, 06:01 AM Re: CSS: White space in IE, but not Firefox
ibbo's Avatar
Super Spam Talker

Posts: 880
Location: Leeds UK
Trades: 0
*{margin:0;padding:0;list-style:none}

Stick that in your CSS file and see if it solves your problem.

ibbo
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Linux user #349545 :
(GNU/Linux)iD8DBQBAzWjX+MZAIjBWXGURAmflAKCntuBbuKCWenpm XoA7LNydllVQOwCf
ibbo is offline
Reply With Quote
View Public Profile Visit ibbo's homepage!
 
Old 11-03-2006, 10:24 AM Re: CSS: White space in IE, but not Firefox
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
The space isn't the only difference between IE and Firefox. The top brown box in FF is only as wide as your content, in IE it's the full width of the screen.

The dropdown menu on the right side of the header section is way over to the right in FF, but more to the left in IE.

Needless to say, IE has all kinds of problems.

This code, which is missing a value for left, puts a 160px bottom margin in the bottom box:
#wp-content-bottom {
background: #d7b48c;
height: 5em;
margin: 10px 11px 160px; (top right bottom.. need value for left !)
Because you have not cleared the float after you closed #wp-content-bottom, and because IE has a broken box model, IE 'shrinkwraps' the contents of the bottom div, THEN adds 160px bottom margin. FF, w/o clearing the float, is NOT 'shrinkwrapping' the bottom div and applying the 160px margin to a very shorten box. If you clear the floats after the bottom div, you'll see FF apply the same 160px bottom margin in the same place as IE does.

There are several methods for clearing floats:
http://css-discuss.incutio.com/?page=ClearingSpace
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to CSS: White space in IE, but not Firefox
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.19402 seconds with 12 queries