Previous Message
Next Message

Re: [css-d] best practice for inventing styles

Sent by Russell Griechen on 31 January 2002 21:09


> BB> DIVs and SPANs, I worry that I may be missing something.

One reason is that you can wrap a series of ...say....links and other
content with a div and also include id's and classes to present content in a
very specified way without any further formatting
Here is some that I use at http://geocities/efoxfiles

<head>
  <title></title>
  <style type="text/css">
<!--
#01az{color:#3300CC;position:relative;top:0;font-size:16;
  font-family: Arial Black;font-weight: 600;text-align:center;}

.02{position:relative;top:5;}
  div.02 a{font-size:18px;font=weight:800;}
  div.02
a:link{font-size:18px;font-weight:500;line-height:19px;color:#0000CD;
text-decoration:none;}
  div.02
a:visited{font-size:18px;font-weight:500;line-height:19px;color:#0000CD;
text-decoration:none;}
  div.02 a:hover{font-family: Arial
Black;font-size:18px;font-weight:500;line-height:19px;color:white;background
:#FF83FA;text-decoration:none;}
  div.02 a:active{font-size:18px;font-weight:500;line-height:19px;color
:#ff0000;text-decoration:underline;vertical-align: top;}
-->
</style>
</head>
<body>
 <div align="center"id="01az"class="02">
<a href="02toc.html#a">A</a>
<a href="02toc.html#b">B</a>
<a href="02toc.html#c">C</a>
<a href="02toc.html#d">D</a>
<a href="02toc.html#e">E</a>
       <!-- snip -->
</div>
</body>
This is a framed site with multiple frames...14 and some others hidden to
preload files, graphics etc.
It takes very precise code and would probably have more code than content if
css was not used.

Russell Griechen
Previous Message
Next Message

Possibly related: