Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.5a is a product of Lussumo. More Information: Documentation, Community Support.

    •  
      CommentAuthortsk
    • CommentTimeFeb 28th 2006 edited
     permalink
    I ran into some akward problem lately. I am doing this design where I need to position 2 columns at a certain location on a page.

    My sollution was to place one div and float another one to its right then place a margin-right on it to get the effect. It works fine in FF, yet IE does not understand the value correctly. Somehow it multiplies it so in the end under IE, the margin is not 100px (in my case) but more, and it looks nasty.

    Here's a link to what I'm doing. Have a look at the right div under IE and FF to see my dilema.- Link no longer available

    ----------------------------------------edit----------------------------
    I found a sollution to my problem by adding

    margin-right:100px !important;
    margin-right:50px;

    to my right div. However, does anyone have any idea why IE takes my inital value and adds px to it ? This is no longer a problem, but a personal question for further development.
    •  
      CommentAuthornifkin
    • CommentTimeFeb 28th 2006
     permalink
    ie has a bug on floated elements where it will double the margins on them. if you add display:inline; (which float takes precedence over anyway) to it then it will fix the margin error in IE.
Add your comments
    Username Password
  • Format comments as (Help)