PDA

View Full Version : Whats the html code for center?


blakey_snakie
07-27-2004, 04:54 AM
could someone tell me what the html code for center is, i have no idea

Aivoton
07-27-2004, 05:03 AM
<center></center>

Frese
07-27-2004, 05:34 AM
lol, easy, huh?

RedGunner
07-27-2004, 06:51 AM
if you need help goto www.lissaexplains.com :P

blakey_snakie
07-27-2004, 03:49 PM
cheers guys

NorthViking
07-27-2004, 04:31 PM
You can also use <ALIGN="middle">

But I always used <center>

http://www.htmlgoodies.com/tutors/align.html

Moylance
08-01-2004, 03:29 AM
If you want to make it follow the guidelines of W3C then I don't think you can use <center> </center>

I'm pretty sure you can use <div align="center"> </div> though.

Aivoton
08-02-2004, 03:03 AM
If you want to make it follow the guidelines of W3C then I don't think you can use <center> </center>

I'm pretty sure you can use <div align="center"> </div> though.

He can use <center></center> all he want, though it isnt recommended by the W3C team. An alternate option is to use .css stylesheets, and make a class that is centered and use that class on the part of his text that should be centered