The tag that defines preformatted text is the only tag in HTML which preserves and respects line breaks, blanks and tabs and also the multiple space between words, when anything is enclosed inside the pre element that will be displayed as it is in the web browser. When you like to show a code snippet the pre tag is an excellent choice, if you choose pre tag your blog will be preserved most of the java scripts code that are seen on the blog are displayed by using the pre tag.The pre tag can push the right side bar to the bottom of the
Connection of a CSS style sheet with HTML can be done three ways. One of the ways is using and external style sheet to make the connection. Similarly an internal style sheet can be used as define the relation between a CSS style sheet and a HTML element. Finally the last but not the least is using the HTML style attribute to obtain the same objective. These are not possible with XML with the current browsers. Connection can only be done using <?xml-stylesheet?> processing instruction. There is no alternative method of achieving this
Heather Soloman writes about a several important and helpful points in this article on using SharePonint and CSS.
"SharePoint utilizes CSS quite heavily, and it is both a curse and a blessing. Since nearly all of the SharePoint 2003 UI is hard coded in the site definitions, CSS provides one of the best ways to update the UI. But the SharePoint CSS is also pretty unruly and can be quite daunting at first glance. Let's go ahead and get the numbers out on the table.
For a SharePoint 2003 Portal and WSS install, there are 7 separate style sheets
First, Rick Strahl gives an excellent example. He wants to demonstrate a problem he has with ASP .NET. Then he talks about it: "Notice that the style sheet I defined in the master content page as well as in the master page (#pagecontent) end up above the Standard.css themes file.
The same is true if you attempt to add any controls to the Page.Header controls collection - whatever you do there ends up BEFORE the themes style sheet as far as I can tell or if you add styles manually to the header section.
This means you effectively can't override
"There are three ways to connect a CSS style sheet with HTML: You can use an internal style sheet, you can use an external style sheet, or you can use the HTML STYLE attribute to associate a CSS style with a particular HTML element. You don't have the luxury of these options in XML, at least not with the current crop of browsers. At this point, there's really only one way of connecting a style sheet to an XML document: by using the <?xml-stylesheet?> processing instruction.
Actually, <?xml-stylesheet?> isn't built in to the XML
SharePoint utilizes CSS quite heavily, and it is both a curse and a blessing. Since nearly all of the SharePoint 2003 UI is hard coded in the site definitions, CSS provides one of the best ways to update the UI. But the SharePoint CSS is also pretty unruly and can be quite daunting at first glance. Let's go ahead and get the numbers out on the table.
For a SharePoint 2003 Portal and WSS install, there are 7 separate style sheets (excluding themes), totaling to 7,403 lines of code and 1,227 style statements. Ouch! Luckily some of that we can slash
Style sheets represent a major breakthrough for Web page designers, expanding their ability to improve the appearance of their pages. In the scientific environments in which the Web was conceived, people are more concerned with the content of their documents than the presentation. As people from wider walks of life discovered the Web, the limitations of HTML became a source of continuing frustration and authors were forced to sidestep HTML's stylistic limitations. While the intentions have been good -- to improve the presentation of Web pages -- the