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 02-02-2010, 04:02 AM vertical gaps
Ultra Talker

Posts: 254
Trades: 0
when i create pages i used to face a small issue only with ie6 and ie7

for example there is a div with is floated and after this there is another div normally i used to give clear both before the next div starts inspite of this only in ie6 and ie7 there used to be a small vertical gap of 2-3px after which the next div used to start, in all other browsers the 2nd div exactly starts where the 1st div ends

i have used the following technique to solve the issue in ie6 and 7

#div1{
float: left;
width: 900px;
height: 100px;
overflow: hidden;
}


previously i used to use negative margin for ie so that the 2nd div starts exactly where the 2nd div ends, by using overflow: hidden; i do not have to give negative pixels for ie and it is working fine in ie6 and ie7 now with overflow: hidden

is this the right way to go about for ie6 and ie7

please advice.

thanks
sudhakararaog is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-02-2010, 01:21 PM Re: vertical gaps
wongpk's Avatar
Extreme Talker

Posts: 178
Trades: 0
Yeap... As long as IE showing the right thing you're right. Don't need to look for the "real" solution...
__________________
Regards,
Andrew

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
wongpk is offline
Reply With Quote
View Public Profile Visit wongpk's homepage!
 
Old 02-02-2010, 06:59 PM Re: vertical gaps
Junior Talker

Posts: 3
Name: Greg Parker
Trades: 0
I am having this problem, but my gaps are above my div not below so the overflow cuts it off.
GregBParker is offline
Reply With Quote
View Public Profile
 
Old 02-02-2010, 10:45 PM Re: vertical gaps
wongpk's Avatar
Extreme Talker

Posts: 178
Trades: 0
Do show the CSS so we can see what's the problem with it?
__________________
Regards,
Andrew

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
wongpk is offline
Reply With Quote
View Public Profile Visit wongpk's homepage!
 
Reply     « Reply to vertical gaps
 

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