...

View Full Version : Is it possible to center an elment without css when using strict-doctype



earni23
09-12-2011, 07:33 PM
Hi
Is it possible to center an elment without css when using strict-doctype?

teedoff
09-12-2011, 07:52 PM
Can you wrap a present without wrapping paper? lol

Not sure how to answer you. CSS is for styling a webpage, therefore you have to use CSS to present your document in the manner you wish. Whether it's inline, embedded, or external, its all a means to "style" an element. Not sure why you'd NOT want to use CSS anyway??

alykins
09-13-2011, 01:57 PM
Can you wrap a present without wrapping paper? lol


I can... with a brown paper bag :D

@OP...
If you are referring to the old <center> tags, the answer is no... those are long gone... you can easily use CSS though and set a margin:0px auto; for the element you are trying to center

Note: Center with regards to horizontal

teedoff
09-13-2011, 01:59 PM
I can... with a brown paper bag

Still a wrapper...lol

And I didn't want to even mention the center tag. lol



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum