Re: Auto Resize for Different Screen Resolutions
First you really need to change the logo size, the actual image size. You can't expect css to resize image. There are some ways to read screen resolution and but will involve using js, then loading different image based on that. As for centerring the image use this instaed of the class you have right now
#header .logo {
height: 220px;
margin: 0 auto;
width: 1520px;
}
Of course hopefully you will change the image width to somethign like 200-250px, 1520px is just not going to work no matter what you do
__________________
Steve Stoyanov
CFLSystems.com
Web Development
|