• Problem I have is a background image that is too large for both of my computers but if I make it smaller it will tile at higher resolutions.
    http://www.pixulatedpiquance.com/wordpress/
    is there a .php tag or css tag to make it stretch to fit? So on a laptop it looks good and on a larger monitor it would look good.
    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Not that I know of.

    Because the background image sits in your stylesheet, you would need some way of manipulating the style in your stylesheet based upon a query that would determine the size of the screen being viewed, not to mention the resolution, etc.

    This is one of the main reasons people use fixed width layouts so they can control the width of the design and layout elements.

    Change the image or use a fixed width layout.

    Thread Starter azjude

    (@azjude)

    Messed around with the image and I think its ok now time will tell.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘need php tags to stretch image to fit viewers window’ is closed to new replies.