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

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s