PDA

View Full Version : what is the purpose of the hash # in css



nikos101
Aug 10th, 2007, 06:03 PM
what is the purpose of the hash # in css
for example #logo and #title


body{
font:9pt Arial, sans-serif;
color:#FFFFFF
background-color: #FFFFFF;
padding: 0px;
line-height:1.4em;
margin: 5px 0;
}
#logo {
background-image: url(back.jpg);
background-repeat: no-repeat;
top: auto;
}
#title {
font-family: Arial;
line-height: 1.9em;
background-color: #990066;
padding: 2px;
float: left;
font-weight: bold;
}

abduraooft
Aug 10th, 2007, 06:11 PM
This may help!:thumbsup:
http://www.tizag.com/cssT/cssid.php