The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

Flexible (scalable) background images?

  • # June 16, 2009 at 11:56 am

    Hi al –
    So I’ve got this kindof complex background image thing going on:
    There’s the background color, the gradient image at the top, and the corn at the bottom.
    I’m currently on my friend’s netbook (itty bitty cute computer) and looked at the site, and guess what! The background images are jacked because the bottom one is 330 px high and the top one is pretty close to that, so on a smal sceen it looks really bad.
    Is there a way with css to define the size of images with percentages, so that they will scale with the size of the screen? I think I remember reading about that in one of my css books. If I can do that, can I also set maximum and minimum pixel dimensions for the images?

    Thanks! I <3 this site :) Thank you Chris!

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed