Saturday 28th of January 2012 01:08:59 PM

Nice and Free CSS Templates

A related topic is the subject of backgrounds and their relationshipto floated elements that occur earlier in thedocument, which was also discussed in the previous chapter, as hasbeen illustrated in Figure 8-41.

Figure 8-41

Figure 8-41. Backgrounds "slide under" floated elements

Because the floated element is both within and without the flow, thissort of thing is bound to happen. What's going on? Well, thecontent of the paragraphs is being "displaced" by thefloated element. However, each paragraph's element width is

This site contains free css templates for your website - Just copy and paste and there you have a stunning website !

Menu und content
dynamic

Menu fixed, content
dynamic

Menu und content
dynamic

3 columns all
dynamic

4 columns all
dynamic

Menu floating

Menu fix, Inhalt u.
Head dynamic

3 columns fix
centered

dynamic mit
Head und Footer

fixed BOX centered

dynamic BOX
centered

fixed Box total
centered

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.

Figure 9-5

Figure 9-5. "Shrink-wrapping" a positioned element

This is where auto really comes into its own. The styles needed to get the result shown in Figure 9-5 is:

a list item, as depicted in Figure 7-79.

Figure 7-79

Figure 7-79. Bullets

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

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)