...

View Full Version : Div Stretching issues (PC users definitely look)



assassinave
10-19-2007, 07:40 PM
So i'm having some issues on a site.

To browse take a look here: Group (http://www.yoficosmetics.com/group.html)

The main contain frame (#frame)which contains all the rest of the content is not sizing based on that content. It has creeped up as if it isn't defined properly(which of course its not). Of course this is only an issue in IE6 and 7.

Here is the link to the CSS sheet: CSS (http://yoficosmetics.com/master_IE.css)

I've tried a couple things but I can't test effectively as I do my work on a Mac and IE5 has shows no similar issues.

I would say i'm a novice, but effective coder who is just trying to get better and I constantly run into this issue.

Issue# 2

When i define a margin-left: at 20px for the div body_contain on the same page in IE7 is balances both the left and right margin fine. If i keep it defined as that anyone using IE6 will see the frame pushed further to the right, but if i change the margin-left to 10px its balanced in IE6, but becomes f'd in IE7. Sorry don't have both examples, but you should notice an unbalanced space on this page (http://www.yoficosmetics.com/group.html) when you view it.


out of breath.

dcostalis
10-19-2007, 07:47 PM
quickfix:



<!--[if gte IE 6]>
<style type = "text/css">
#bodycontain
{
margin-left:10px;
}
</style>
<![endif]-->



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum