Jump to content

Css Position On Text On Banner Different With Ff And Ie


Recommended Posts

Hiya ive got some text positioned on my banner and it changes in its position when its viewed in IE. It appears as it should do in FF and Chrome but IE it pushes the text further up.

 

#header{
position:relative;
height:150px;
background:#EFEFEF url(images/banner.jpg) no-repeat center top;
width:100%;
display:block;
overflow:auto;
overflow:hidden;
}
#mailto{
position: absolute;
left: 682px;
top: 100px;
}


.BannerHeading { COLOR: #FAF0F1; TEXT-DECORATION: none; font-weight:bold; font-size:12px; font-family: "Times New Roman", Times, serif; font-size:18px;}

<div id="header"><div id="mailto"><a href="mailto:info@vitalbodyhealth.com" class="BannerHeading">info@vitalbodyhealth.com</a>
</div></div>

 

 

Any ideas why it would do that?

 

Thank you :)

Edited by yandoo

I checked your site in the latest versions of Chrome, IE and Firefox. The banner looks great to me!

 

CSS Browser Selector is a great hack that has helped me combat CSS positioning issues, etc. in older versions of IE.

 

Perhaps this will help?

 

http://rafael.adm.br/css_browser_selector/

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.