Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/mislz28/public_html/wp-content/themes/css-faq-v2/timeweather/timeweather.php on line 19
  • CSS for Beginers
27 June 2008

CSS Fundamentals

Are you still dealing with nested tables and deprecated markup despite hearing all the excitement about the new method of separating style from content? We are here to introduce the use of CSS in styling your (X)HTML files with a guarantee that CSS will surely offer various opportunities for you and your web visitors.

As mentioned earlier, a Cascading Style Sheet or CSS allows the separation of your site’s (X)HTML content from style. With CSS, we still use the (X)HTML file to edit the content but all the other elements, including font, background, colors, borders, text formatting, and link effects, will be carried out using style sheets.

CSS is poised to conquer the landscape of web design because it enables developers to manage the layout of several web pages using only one CSS file. Web authors have the power to specify styles for every HTML element to be applied on multiple pages at once. Simply alter a style on a single file to automatically update your web pages.

You could specify information using different methods with style sheets. Assign styles within one HTML element, like the element of an HTML File, or inside an external CSS file. A single HTML document could be a product of several external style sheets.

You could either apply style using internal or external CSS Style Sheets:

Internal Style Sheet

The internal method simply entails putting the CSS code inside the tags in every (X)HTML file in use. Review the following format:
<head>
<title><title>
<style type=”text/css”>
CSS Content Goes Here
</style>
</head>
<body>

With internal style sheets, a specific set of CSS codes that need to be implemented over a single page must be put in every (X)HTML file. Simply put, changes directed to one page will automatically take effect on all pages. The use of this method is recommended only for styling a single page or if the developer wishes to create unique styles for each page of a website.

Tags:

This entry was posted on 27 June 2008 at 3:06 PM and is filed under CSS for Beginers. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a reply

Name (*)
Mail (will not be published) (*)
URI
Comment