WordPress.org

Ready to get started?Download WordPress

Forums

Position absolute and IE (7 posts)

  1. Natilya
    Member
    Posted 4 years ago #

    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;
    	position:absolute;
    	left:950px;
    	top:105px;
    }

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

  2. christhesoul
    Member
    Posted 4 years ago #

    Could be lots of things.

    Have you reset padding and margins anywhere on your stylesheet?

  3. Natilya
    Member
    Posted 4 years ago #

    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.

  4. grvpande
    Member
    Posted 4 years ago #

    can you give the link of the site please??

  5. Natilya
    Member
    Posted 4 years ago #

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

  6. christhesoul
    Member
    Posted 4 years ago #

    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.

  7. Natilya
    Member
    Posted 4 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic