13.07.2015 Views

Beginning CSS: Cascading Style Sheets for Web Design, 2nd ...

Beginning CSS: Cascading Style Sheets for Web Design, 2nd ...

Beginning CSS: Cascading Style Sheets for Web Design, 2nd ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Part II: PropertiesThe <strong>CSS</strong> in Figure 10-3a is combined with the markup in Figure 10-3b.Figure 10-3bThe <strong>CSS</strong> in Figure 10-3a and the markup in Figure 10-3b result in the output you see in Figure 10-3c.Figure 10-3cIn Figure 10-3, you see the background-image property applied to the element; by default ittiles both horizontally (along the x-axis) and vertically (along the y-axis). You’ll see how to control tilingin the next section with the background-repeat property.In the following Try It Out, you try the background-image property <strong>for</strong> yourself. The images andsource code <strong>for</strong> this and all the other examples in this book can be found online at www.wrox.com.344

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!