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
Old 10-01-2009, 06:06 PM vertical gaps in ie
Ultra Talker

Posts: 254
Trades: 0
i am using ie6 and 7 and other browsers for consistancy. most of the layout works fine in all browsers except for ie 6 especially about creating unwanted vertical gaps between the end of 1st div and the begining of the next div, this issue is only with ie6 not with all the other browsers including ie7


in order to fix this i am using <br class="break" /> or <div class="clear"></div>
.break {
clear: both;
}
.clear {
clear: both;
}


using either <br class="break" /> or <div class="clear"></div> i am able to remove the unwanted vertical gap that ie6 is creating, however due to this i am increasing the number of <br class="break" /> or <div class="clear"></div> tags in my entire page, i guess its not a big issue but if there is a way i can avoid that unwanted vertical gap created by ie6 so that i can reduce the number of times i use <br> or <div> as mentioned above it would be great.

also for the 2nd div i am using clear: both as the div above is floating.

can anyone please advice if there is a work around for this.

thanks.
sudhakararaog is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-02-2009, 10:24 AM Re: vertical gaps in ie
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
First of all, you don't need the clearing on divs or <br>'s or any other element. Read our stickies on Clearing Floats.

As for your unwanted gaps, lets have a URL or ALL of the code, otherwise we can't possibly help you.
__________________
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 vertical gaps in ie
 

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.09899 seconds with 12 queries