[thelist] Learning CSS - what's the # for + any good tutorials?

Bob Boisvert webdad at tampabay.rr.com
Mon Mar 18 07:10:00 CST 2002


The # sign indicates using an ID instead of a named class

<style type="text/css">

#example {
	left: 40;
	top: 120;
	}

</style

The above CSS would then be applied to a div to take on the CSS information.

<div ID="example">
<img src="images/your_image.gif alt="this is your image" width="100"
height="50">
</div>

Bob



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.338 / Virus Database: 189 - Release Date: 3/14/02





More information about the thelist mailing list