Thread: CSS image help
View Single Post
Old 01-31-2013, 10:52 AM   PM User | #1
ianhaney
New Coder

 
Join Date: Apr 2012
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
ianhaney is an unknown quantity at this point
CSS image help

Hi

I have a image at the top of my page and is in the right place on my 1024 x 768 screen but when looking at it on my second screen which is a 1280 x 768 I think, it appears off the page, how do I set it so it appears in the same place on both screen sizes

The css I got for it is below

Code:
img.homeimg {
margin: -30% 0 0 -25%;
position: fixed;
z-index: 10;
}
ianhaney is offline   Reply With Quote