FastRedPonyCar
12-02-08, 06:03 PM
I'm trying to get the masthead image of our myspace page centered up and the code I've got doesn't take different monitor sizes and resolution into proportional considerations.
for example, here's the masthead code I'm using.
.masthead {width: 1166px; height: 167px;
position: absolute; margin-left: 75px; left: 12%; top: 200px;
background-image:url(http://img.photobucket.com/albums/v212/fastredponycar/ChromeHeartBigLogo.png);}
And here's what it yields.
www.myspace.com/chromeheartband
now, that big chromeheart logo is perfectly centered on my 22" widescreen but not on a regular view ratio monitor or at a different resolution.
Is there coding that I can use to keep it centered up with equal padding on each side regardless of monitor resoulution or size/shape?
If so, what do I need to change? thanks!
for example, here's the masthead code I'm using.
.masthead {width: 1166px; height: 167px;
position: absolute; margin-left: 75px; left: 12%; top: 200px;
background-image:url(http://img.photobucket.com/albums/v212/fastredponycar/ChromeHeartBigLogo.png);}
And here's what it yields.
www.myspace.com/chromeheartband
now, that big chromeheart logo is perfectly centered on my 22" widescreen but not on a regular view ratio monitor or at a different resolution.
Is there coding that I can use to keep it centered up with equal padding on each side regardless of monitor resoulution or size/shape?
If so, what do I need to change? thanks!