cULTURE
Styleguide
Template
Basic 100% Table Deprecated HTML Tags
Best Practice Design External CSS

Deprecated HTML tag Template

This Template uses deprecated html tags in the page to expand the table and keep it at 100% of the browser window:

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

- it's best practice to put them in a CSS - see this CSS 100% Table for an example of best practice web design.


To view html source of this w


webpage, in your browser go to View > Source.

The master Table is coloured grey. The content Table has two columns, green for nav and blue for content.

Note the inpage or inline Styles (between the <head> tags in the html document or page) setting the grey background colour of this page:

<style type="text/css">
<!--
body {
background-color: #CCCCCC;
}
-->
</style>

Inline Styles cannot be changed by the master CSS as inline Styles rank BEFORE external master CSS settings (values, attributes). This is an example of the cascade, hierarchy, sequence or ranking of Cascading Style Sheets.

Best to NOT use inline Styles, except for test pages or quick-fix emergencies! Then you can change the attributes (colours etc) on an entire site from one "master" CSS file!

Note also the use of deprecated paragraph <p> tags. It's best to use line break <br> tags instead as ht is make formatting and styles much easier to manage.

Note that two <br> tags equal one old fashioned <p> tag.

cULTURE cHANNEL Webtech 2006.