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: PropertiesIE 6 and IE 7 continue to show a scroll bar <strong>for</strong> the whole window, even though it isn’t needed. You applythe overflow: hidden; declaration to the element to get rid of the scroll bar via Microsoft’sconditional comments that target IE 7 and earlier versions. Now the redundant scroll bar is no more.The source code in Figure 11-18 a, b, and c gives you a layout that works well between the differentbrowsers, as you see in the screenshot that appears in Figure 11-18d.Figure 11-18dIn Figure 11-18d, you can see that the heading stays in place whenever the content is scrolled. You couldjust as easily replace the with a there and include additional content that stays fixed in placeat the top of the page. But how do you do a fixed footer? This is covered in the next section.414

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

Saved successfully!

Ooh no, something went wrong!