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-21-2009, 05:40 PM IE6 Displaying Odd
bige2533's Avatar
Skilled Talker

Posts: 79
Name: Eric
Location: Colorado
Trades: 1
I'm using a container with boxes to display as columns. The first box displays ok for the most part. But, the content for the second box is in the right box but it starts below the content from the first box.

See this:
http://www.trailsticker.com
__________________

Please login or register to view this content. Registration is FREE
bige2533 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-21-2009, 05:43 PM Re: IE6 Displaying Odd
bige2533's Avatar
Skilled Talker

Posts: 79
Name: Eric
Location: Colorado
Trades: 1
Sorry, here's the CSS.
Code:
body { font-size : 10pt; 
font-family : verdana, geneva, arial, helvetica, sans-serif; 

} 
p.leftAlign { text-align : left; 
padding-left : 10px; 

} 
h1 { font-size : 14px; 
font-weight : bold; 

} 
#wrapper { margin : 0 auto; 
width : 100%; 
position : relative; 
overflow : auto; 

} 
#boxWrap { background-color : white; 
width : 100%; 
margin : 0 auto; 
text-align : center; 
overflow : hidden; 

} 
.box1 { background-color : #7abe61; 
margin-top : 0; 
margin-right : 0; 
margin-left : 0; 
margin-bottom : -32767px; 
padding-bottom : 32767px; 
height : auto; 
width : 25%; 
float : left; 

} 
.box2 { background-color : white; 
margin-top : 0; 
margin-right : 0; 
margin-left : 0; 
margin-bottom : -32767px; 
padding-bottom : 32767px; 
height : auto; 
width : 75%; 
float : right; 

} 
#styleCopyright { margin : 0 auto; 
font-family : verdana, geneva, arial, helvetica, sans-serif; 
text-align : center; 
font-size : smaller; 
width : 900px; 
color : white; 

} 
div#styleCenter { margin : 0 auto; 
width : 100%; 
background-color : white; 
font-family : verdana, geneva, arial, helvetica, sans-serif; 

} 
#styleCenterHeader { margin : 0 auto; 
width : 900px; 

} 
div#contentBackground { height : 100%; 
width : 100%; 
padding : 5px; 
font-family : verdana, geneva, arial, helvetica, sans-serif; 

} 
div#contentBackgroundProduct { height : auto; 
width : 85.5%; 
margin : 0 auto; 
padding : 10px; 

} 
div#grayShading { background-color : silver; 
height : auto; 
width : 900px; 
border : 10px solid silver; 
margin : 0 auto; 

} 
div#googleSearch { padding : 10px; 
width : 150px; 
font-family : verdana, geneva, arial, helvetica, sans-serif; 

} 
.list { text-align : left; 
font-size : smaller; 
color : white; 

} 
.contactLabel { text-align : left; 
padding : 10px 10px 10px 10px; 

} 
a.whiteLink:link, a.whiteLink:visited, a.whiteLink:active, a.whiteLink:hover { color : white; 
text-decoration : none; 

} 
a.blueLink:link, a.blueLink:visited, a.blueLink:active { color : #49cde5; 
text-decoration : none; 

} 
a.blueLink:hover { color : #7abe61; 

} 
#scroller { width : auto; 
height : auto; 

} 
.clear { float : none; 

}
__________________

Please login or register to view this content. Registration is FREE
bige2533 is offline
Reply With Quote
View Public Profile
 
Old 10-21-2009, 10:54 PM Re: IE6 Displaying Odd
vangogh's Avatar
Post Impressionist

Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
I'm not seeing it in your code, but the problem you're having is typical for IE6 when the two boxes end up being wider than the container. The common causes are the double margin float bug where you float and add a margin in the same direction (left/left or right/right). IE6 doubles the margin. The other cause is how IE6 mishandles the box model. In that case it's usually the width of any border you've added to one or both of the boxes that adds the extra width.

I didn't see either of those in your code. I'm wondering if it has to do with your use of % for the widths instead of px. Since you're constraining the page in a fixed width wrapper anyway try assigning widths in px to each of the boxes and the wrapper and see if that helps.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 10-28-2009, 02:37 PM Re: IE6 Displaying Odd
bige2533's Avatar
Skilled Talker

Posts: 79
Name: Eric
Location: Colorado
Trades: 1
Thanks. I lowered the % of the second box and now it looks better.
__________________

Please login or register to view this content. Registration is FREE
bige2533 is offline
Reply With Quote
View Public Profile
 
Old 10-28-2009, 04:37 PM Re: IE6 Displaying Odd
vangogh's Avatar
Post Impressionist

Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
Glad you were able to sort it out.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Reply     « Reply to IE6 Displaying Odd
 

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