Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1532 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

vertical gaps

Thread title: vertical gaps
Reply    
    Thread tools Search this thread Display Modes  
02-02-2010, 08:03 AM
#1
sudhakararaog is offline sudhakararaog
Status: Junior Member
Join date: Sep 2009
Location:
Expertise:
Software:
 
Posts: 51
iTrader: 0 / 0%
 

sudhakararaog is on a distinguished road

  Old  vertical gaps

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

Reply With Quote
Reply    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed