View Single Post
Old April 4th, 2010, 01:12 PM
andypandyrox456 andypandyrox456 is offline
Registered User
Join Date: Apr 2010
Location: Planet Earth
Posts: 70
Thanks: 4
Thanked 0 Times in 0 Posts

Originally Posted by PeterPeiGuo View Post
Try the following in your browser:
<div style="float: left">foo</div><div>bar</div>
As you can see, both foo and bar are displayed on the same line. CSS opens up the door for lots of nice things.
Yes, I am currently reading about CSS.
So basically, with <div> you can align your text, while <br /> can't do that for you (it only makes a line break). Just wanted to make sure I got that right.
Also, the default value for <div> is center?