homepage Welcome to WebmasterWorld Guest from 50.19.206.49
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

    
gap between divs in IE6
Halim




msg:3531760
 6:41 am on Dec 20, 2007 (gmt 0)

Hi,

i got problems with my test page. IE6 shows about 10px gap between two divs. CSS is validated. Here are the code


.bar{
clear: both;
background: url(ajaxtabs/linebarfortab.jpg) no-repeat;
width: 472px;
height: 8px;
}
#countrydivcontainer{
width: 450px;
padding: 10px;
margin-bottom: 1em;
border: 1px solid gray;
}

<div class="bar"></div>
<div id="countrydivcontainer">
This is some default tab content, embedded directly inside this space
and not via Ajax. It can be shown when no tabs are automatically
selected, or associated with a certain tab, in this case, the first
tab.
</div>


Thank you so much

[edited by: alt131 at 5:57 am (utc) on Jun 5, 2011]
[edit reason] Side Scroll [/edit]

 

Halim




msg:3531771
 6:57 am on Dec 20, 2007 (gmt 0)

problem is solved. the solution is to add font-size: 0 into the "bar" class

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved