Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Nov 2012
    Thanked 0 Times in 0 Posts

    Background Image

    Hi everyone, hope your all keeping well.

    I nearly finished a website. I have my website at fixed width of 960px and centered. I want to put a background image on my site but obviously each page gonna be slightly different heights. I would like to know if their is a way to make by background image automatically adjust height for each page. I tried googling this but seemed to get too many different answers and when i tried one or two they didnt work on every page.
    Thanx everyone.



  • #2
    Senior Coder
    Join Date
    Jan 2011
    Thanked 548 Times in 547 Posts
    Changing just the height of an image will distort it, so you don't want to do that.
    Two things come to mind. Use a repeating theme for the sides and place the ads over them.
    Or do a little more work to have your pages all come out the same or nearly the height so the sides can fit.
    Evolution - The non-random survival of random variants.


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts