Give help. Get help.

  • # August 11, 2009 at 10:00 am

    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 three seperate questions…

    # August 11, 2009 at 11:54 am

    Hmm, sample code would be helpful.

    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.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.