HTML CSS sep 7 2011

<html>
</body>
<style type="text/css">
.ex
{
width:50%;
height:100%;
padding:10px;
border:1px solid blue;
margin:0px;
<!-- float: right; -->
}
</style>
<div class="ex">
<div style="float:right;padding-top:50%;">
<a href="http://www.beautifulwork.org/testing"> Home </a>
<br><br>
<a href=""> About Us </a>
<br><br>
<a href=""> Portfolio </a>
<br><br>
<a href=""> Gallery </a>
<br><br>
<a href=""> Blog </a>
<!-- <? echo SYmmel; ?> -->
</div>
</div>
</body>
</html>
1. CLASS. .ex = A user defined class.
2. CSS Property. width,padding ..etc are properties of CSS
3. HTML Element. div is a HTML element.
 

Leave a Reply

Your email address will not be published. Required fields are marked *