Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Vertical rendering of background image Firefox/IE

Status
Not open for further replies.

worldly1

Technical User
Mar 20, 2007
36
US
Hello all,

I have noticed that when placing a background image within a div that there's a good 20 or so pixel vertical difference between how Firefox and IE render it. IE renders it how it looks in Dreamweaver, while Firefox renders the background image higher. Any way to work around this? I'm using a background image to frame some HTML and the difference is causing me trouble. Any help or direction would be greatly appreciated.

Scott
 
Sounds like you haven't dealt with default browser margins and/or padding. Quick way of testing is to include the following at the top of your CSS
Code:
* {
margin:0;
padding:0;
}

Otherwise we may need to look at your page

___________________________________________________________
If you want the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
Steam Engine Prints
 

Has that solved it? Or do you need to post a URL?

___________________________________________________________
If you want the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
Steam Engine Prints
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top