News

For example, if the image "building.jpg" is in your site's "images" folder, change the code to: Replace "10" with the image's width and replace "20" with the image's height.
You may already know that CSS is a vital technology for styling your web pages. But you don’t need to use it, and your sites can still look good without it.
The image's width will be 400 pixels wide because that's the value defined in the stretchX CSS class. Return to your document and change 400 to any other value to make the image stretch to that width.
Tony Patton focuses on CSS fundamentals and explains how multiple rules for the same element are handled. Multiple rules ensure that there will be no surprises for either you or the user community.