Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-12-2011, 07:33 PM   PM User | #1
earni23
New Coder

 
Join Date: Feb 2010
Posts: 95
Thanks: 14
Thanked 0 Times in 0 Posts
earni23 has a little shameless behaviour in the past
Is it possible to center an elment without css when using strict-doctype

Hi
Is it possible to center an elment without css when using strict-doctype?
earni23 is offline   Reply With Quote
Old 09-12-2011, 07:52 PM   PM User | #2
teedoff
Senior Coder

 
Join Date: Aug 2010
Location: High Point, NC
Posts: 3,325
Thanks: 5
Thanked 363 Times in 360 Posts
teedoff is on a distinguished road
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??
__________________
Teed
teedoff is offline   Reply With Quote
Old 09-13-2011, 01:57 PM   PM User | #3
alykins
Senior Coder

 
alykins's Avatar
 
Join Date: Apr 2011
Posts: 1,608
Thanks: 37
Thanked 183 Times in 182 Posts
alykins will become famous soon enough
Quote:
Originally Posted by teedoff View Post
Can you wrap a present without wrapping paper? lol
I can... with a brown paper bag

@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
__________________

I code C hash-tag .Net
Reference: W3C W3CWiki .Net Lib
Validate: html CSS
Debug: Chrome FireFox IE
alykins is offline   Reply With Quote
Old 09-13-2011, 01:59 PM   PM User | #4
teedoff
Senior Coder

 
Join Date: Aug 2010
Location: High Point, NC
Posts: 3,325
Thanks: 5
Thanked 363 Times in 360 Posts
teedoff is on a distinguished road
Quote:
I can... with a brown paper bag
Still a wrapper...lol

And I didn't want to even mention the center tag. lol
__________________
Teed
teedoff is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:19 PM.


Advertisement
Log in to turn off these ads.