Page 1 of 1

HTMLy question (I think)

Posted: Fri Sep 15, 2006 10:50 am
by Paladin656
How do you set a width. Like I want something to be 80 characters wide, how do you set that in HTML? Or can you? It's an online word processor thing and it doesn't have a width function but lets you edit in HTLM

Thanks

Posted: Sat Sep 16, 2006 8:33 am
by iblis
this won't limit to 80 characters, but here's an example to get you started.

<div style="width: 50%">CONTENT GOES HERE</div>

or use an external style sheet.

lots of examples to be found at w3schools.