ok i programmed my nav bar on another computer with a smaller screen but when i moved it to 20 inch it wasn't centered cause i can't figure out how to align the images with css without naming pixels... also how do i resize my content with the browser size in css? how do i add another image for a background overflow like aeropostale.com? three seperate questions...
Anyways to center in all browsers instead of using px i like to create a div and assign margin to auto. This ensures that in all browsers and screen sizes it will be in the center...
I would look something like this:
#wrapper { margin: auto; padding: inherit; }
As far as the background is concerned let me know what you find out haha. Getting a background image to re-size itself in different resolutions as eluded me for some time now :oops: . I believe it can be achieved with some JavaScript, however im unsure of the code.
Anyways to center in all browsers instead of using px i like to create a div and assign margin to auto. This ensures that in all browsers and screen sizes it will be in the center...
I would look something like this:
As far as the background is concerned let me know what you find out haha. Getting a background image to re-size itself in different resolutions as eluded me for some time now :oops: . I believe it can be achieved with some JavaScript, however im unsure of the code.