Support » Themes and Templates » Position absolute and IE

Position absolute and IE

  • Having a problem lining up a login link I have at the top of my site for IE, it’s just off by a few pixels but it doesn’t look good, looks fine in FF though. I’ve searched around a bit, but couldn’t figure it out, here is the css i’m using.

    #login-form  {
    	color: #ffffff;
    	font-family:"arial", sans-serif;
    	background: #000;
    	border: none;

    It’s not a login form on the site, only a text link, I just didn’t change the name in the css.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Could be lots of things.

    Have you reset padding and margins anywhere on your stylesheet?

    I’m not sure what you mean by that. I just added this code to position a loginout link in my theme, shows fine in FF, it’s offset in IE

    I’ve been told it’s the position: absolute part causing it, IE doesn’t reconize it, but I don’t know what to add so IE will.

    can you give the link of the site please??

    sure, it’s http://zeaks.org

    I’m not sure what you’re trying to do, but if it’s to place the log in link at the right had side of the menu, I suggest you place your #login-form inside the #access div.

    The #access div has a position of relative; so it’ll be much easier to position your #login-form

    I suggest trying

    #login-form { position:absolute;top:10px;right:20px; }

    and going from there.

    I’m just trying to make the “Login” link show in the same position in IE as in firefox, it shows a few pixels too high in IE is all.

    I’ll try what you said, thanks for the help.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Position absolute and IE’ is closed to new replies.