Page 1 of 1

borders for divs

Posted: Thu Mar 08, 2007 9:09 am
by dude81
Is there a way in which I can draw a border for divs

Posted: Thu Mar 08, 2007 10:10 am
by wtf

Code: Select all

<div style="border: 1px solid #ff0000;">ha</div>

Posted: Fri Mar 09, 2007 3:16 am
by dude81
hey thanks it really helped me. And also floats. I'm new to divs