Given this HTML:
<div>foo</div><div>bar</div><div>baz</div>
How do you make them display inline like this:
foo bar baz
not like this:
foo
bar
baz
Given this HTML:
<div>foo</div><div>bar</div><div>baz</div>
How do you make them display inline like this:
foo bar baz
not like this:
foo
bar
baz
You need to contain the three divs. Here is an example:
CSS
Note: border-radius attributes are optional and only work in CSS3 compliant browsers.
HTML
Note that the divs 'foo' 'bar' and 'baz' are each held within the 'contain' div.