combustion
08-24-2009, 07:34 AM
Hi,
I'm a CSS and HTML noob.
This is my code:
#DIV1 {width: 770px;height: x;border-width: 1px; border-style:solid; border-color: #00000;background-color: #FFFFFF}
#DIV2 {width: 200px;height: auto;background-color: #FFFFFF; text-align:center;}
#DIV3 {width: 560px;height: auto;background-color: #FFFFFF; text-align:center;}
<div align="center"><div id="DIV1"><p>
<h1>Introductions</h1><b>texttexttext</b>
<div align="right"><div id="DIV2">
<h2>testing</h2>
text <b>bold</b> <i>italic</i> <u>underline</u></div></div>
<div align="left"><div id="DIV3">
<h2>Testing</h2>
text <b>bold</b> <i>italic</i> <u>underline</u></div></div>
Looks like this:
http://img229.imageshack.us/img229/2744/codeu.png
How do I make it look something like this:
http://img197.imageshack.us/img197/626/codee.png
(I used paint to edit this, it's hard to express what I want in words so I just do pictures)
Please help.
I'm a CSS and HTML noob.
This is my code:
#DIV1 {width: 770px;height: x;border-width: 1px; border-style:solid; border-color: #00000;background-color: #FFFFFF}
#DIV2 {width: 200px;height: auto;background-color: #FFFFFF; text-align:center;}
#DIV3 {width: 560px;height: auto;background-color: #FFFFFF; text-align:center;}
<div align="center"><div id="DIV1"><p>
<h1>Introductions</h1><b>texttexttext</b>
<div align="right"><div id="DIV2">
<h2>testing</h2>
text <b>bold</b> <i>italic</i> <u>underline</u></div></div>
<div align="left"><div id="DIV3">
<h2>Testing</h2>
text <b>bold</b> <i>italic</i> <u>underline</u></div></div>
Looks like this:
http://img229.imageshack.us/img229/2744/codeu.png
How do I make it look something like this:
http://img197.imageshack.us/img197/626/codee.png
(I used paint to edit this, it's hard to express what I want in words so I just do pictures)
Please help.