PDF Preview:
PDF Title : | Head First HTML with CSS & XHTML |
---|---|
Total Page : | 704 Pages |
Author: | Elisabeth Robson, Eric Freeman |
PDF Size : | 20.8 MB |
Language : | English |
Source : | oreilly.com |
PDF Link : | Available |
Summary
Here on this page, we have provided the latest download link for Head First HTML with CSS & XHTML PDF. Please feel free to download it on your computer/mobile. For further reference, you can go to oreilly.com
Head First HTML with CSS & XHTML
After reloading the Starbuzz page, you should see the coffee bag over to the right part of the sidebar. What is interesting is that part of the image is actually extending beyond the sidebar into the margin and off the edge of the page. How does that work?
Well, as you’ve seen, the browser first flows a relative element onto the page, and only then does it offset where it is displayed. So the element still takes up the same spot on the page, it’s just drawn in a different location.
Relative is a little like static positioning, but with a dash of absolute thrown in. But, unlike absolute, relative positioning is specified just as an offset from the element’s real location, not in absolute coordinates from the nearest containing block.