Quote:
Originally Posted by PeterPeiGuo
Try the following in your browser:
Code:
<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?