<x-flowed>At 03:27 PM 11/29/00 +0000, Pedro Barreto <[EMAIL PROTECTED]> wrote:
>css is some sort of extention to html. html tags are somehow limited, so
>what you do is define a css style and aplly it to the html tag, since css
>has plenty properties to modify html tags that arent present on the html
>tag defenition.
From: http://www.w3.org/Style/CSS/
Cascading Style Sheets (CSS) is a simple mechanism for adding style (e.g.
fonts, colors, spacing) to Web documents.
>example:
>you defined a css file (ascii):
>
>TABLE.links{
>margin-left : 4em;
>padding-left: 3em;
>padding-top: 0em;
>padding-bottom: 0em;
>width:90%;
>}
>
>now, on the html file (whitin the head tag) you link it to the css file:
>
><LINK REL="StyleSheet" HREF="css_file.css">
Minor correction :)
<link rel="stylesheet" type="text/css" href="css_file.css">
>further down the html doc,
>
><table class="links">
>....
></table>
>
>that's enought to make it styled. and notice that the padding and margin
>properties are not part of the TABLE tag sintax, I believe.
They are in CSS2.
http://www.w3.org/TR/REC-CSS2/tables.html
Browser Compatibility Charts - Master Compatibility Chart
http://webreview.com/wr/pub/guides/style/mastergrid.html
Browser Compatibility Charts - CSS2 Selectors Support Chart
http://webreview.com/pub/guides/style/css2select.html
--
Mike Noyes <[EMAIL PROTECTED]>
http://leaf.sourceforge.net/
_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/leaf-devel
</x-flowed>