CSS / 3 columns / header / footer
no javascript, no table, no image
no javascript, no table, no image
Here is a text with colour, attributes and size that depend on the style applied to the generic container <span>.
The HTML code with inline style:
Here is a text with <span style="font-weight: 800;color: red;background-color: blue;padding:.2em 1em;">colour</span>, <span style="font:italic 800 1.2em/normal Geneva, Arial, sans;">attributes</span> and <span style="font-size: 2em;">size</span> that depend on the <span style="margin:.2em .5em;padding:0.1em .5em;border:2px solid black;background-color: red;color:#FFF;">style</span> applied to the <span style="padding:0 .2em;border:medium double blue;white-space: nowrap;">generic</span> container <span style="font-weight: bold;border-bottom:2px dotted blue;"><span></span>
Code compatible with MSIE 5+, Opera 7+, Mozilla , Netscape 7.2+, Konqueror 3.2.
The only trouble here is that MSIE needs an instuction for a:hover to apply the style when hovering.
Here it will mostly be:
a:hover{background:transparent;}
with display (crash with Netscape 6 and 7.0)
with visibility
with color and background-color
with color, background-color and margin-left
with color
with unicode-bidi and direction
with color, background-color and padding
The next pages (still under construction) will deal with applying a style to a non empty span.
Right Column
visits: 498517
at 8:32:03 utc+ on Tue Aug 5, 2025