Wednesday, September 12, 2007

id tag and floating elements in css

http://www.quackit.com/css/properties/css_clear.cfm

http://www.tizag.com/cssT/float.php

#footer
{
clear: both;
}

Usage of #: < div id="footer" >

clear: both clears both the left and right sides of the footer element.

Tuesday, September 11, 2007

IMG tags in html

< img style="margin: 15px 0px 15px 15px; width: 220px; float: right; text-align: left;" alt="CamTim circuit" src="http://www.blogger.com/images/CamTim/P5060003.JPG"/>

The margin parameters are left right top bottom
float right is for floating the image to the right

hspace, vspace and align are all deprecated in html 4.1

http://codingforums.com/archive/index.php?t-12034.html