Saturday 28th of January 2012 01:08:59 PM
Nice and Free CSS Templates
Now let's say you want to position an element that is in the
upper-right corner of its containing block and is one-third as wide
as its containing block, but only as tall as necessary to display its
content, as shown in Figure 9-5.
In an unordered list, these will be little symbols, but in an orderedlist, the bullet could be a letter or number.
7.7.1. Types of Lists
This part will probably seem very familiarto those of you who have been fiddling with lists in HTML. In order
negative horizontal margins cause an element to push outside of itsparent. Consider:
As we can see from Figure 8-22, the paragraph hassimply been pulled upward by its negative top margin, such thatit's outside the parent DIV !
Figure 8-22. The effects of a negative top margin
With a negative bottom margin, though, it looks as though everythingfollowing the paragraph has been pulled upward. Compare the following
However, that's the good news. The bad news is that thischapter will contain a good many caveats, warnings, and discussionsof browser bugs and inconsistencies between operating systems.Remember, though, that CSS is not supposed to be a totally preciselayout language -- and besides, many of the issues discussed inthe chapter are not the fault of CSS but are more fundamental issuesthat you'll encounter no matter what you try to do with acomputer. So, once you've finished this chapter, you will havea grasp not only of how CSS units work, but perhaps also of a fewbasic issues that you previously were unaware of.
Using XML to pass parameters and return values on servers makes it very easy to allow these servers to be web-enabled. A thin server side Java layer might be added that interacts with web browsers using HTML and translates the requests and responses from the client into XML, that is then fed into the server.
XML is totally extensible
By not predefining any tags in the XML Recommendation, the W3C allowed developers full control over customizing their data as they see fit. This makes XML very attractive to encoding data that already exists in legacy databases (by using database metadata, and other schema information). This extensibility of XML makes it such a great fit when trying to get different systems to work with each other.
XML supports shareable structure (using DTDs)