valign not valid in xhtml?

Post February 23rd, 2004, 7:55 am

I use this heavily as I have a series of tables on my webpage. However, when I use the validator at w3.org, it tells me it isn't valid xhtml transitional. What is the replacement tag, or what should I use instead?
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post February 23rd, 2004, 7:55 am

  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 22454
  • Loc: Pittsburgh PA
  • Status: Online

Post February 23rd, 2004, 8:16 am

Use style sheet element: vertical-align
Options are:
percentage
baseline
sub
super
top
text-top
middle
bottom
text-bottom
"The web is a dominatrix. Every where I turn, I see little buttons ordering me to Submit."
Play sports pools and discuss sports topics at Boasting Rights Sports Forum
Get paid to write articles - www.associatedcontent.com

Post February 23rd, 2004, 8:40 am

Excellent :) Again, you have been very helpful!
  • conorific
  • Proficient
  • Proficient
  • User avatar
  • Joined: Jan 12, 2004
  • Posts: 350
  • Loc: NY
  • Status: Offline

Post February 24th, 2004, 2:05 pm

ATNO, in that case, do you happen to know why HTML supports valign and XHTML doesn't? I'm curious...

Post February 24th, 2004, 2:21 pm

xhtml promotes the use of stylesheets even more than its predecessors. Even though I didn't know that the valign was obsolete, it doesn't surprise me it was replaced with a stylesheet element.

Simply, it is to force style sheet immigration.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 22454
  • Loc: Pittsburgh PA
  • Status: Online

Post February 24th, 2004, 2:30 pm

Other than the fact it was depricated by the w3c in XHTML, no, I don't know the specific reason. However, here is an excellent resource that tells you what exactly can be used with any given element in the strict, transitional and frameset DTD:

http://home.pi.be/~thorreke/references/ ... l_1_0.html
"The web is a dominatrix. Every where I turn, I see little buttons ordering me to Submit."
Play sports pools and discuss sports topics at Boasting Rights Sports Forum
Get paid to write articles - www.associatedcontent.com
  • conorific
  • Proficient
  • Proficient
  • User avatar
  • Joined: Jan 12, 2004
  • Posts: 350
  • Loc: NY
  • Status: Offline

Post February 24th, 2004, 3:31 pm

Thanks! Yeah, I understand why. Stylesheets are big, but they really do so much for design, it just makes everything easier. I should probably start switching to XHTML. Thanks for answering!

Post February 24th, 2004, 4:22 pm

conorific wrote:
Thanks! Yeah, I understand why. Stylesheets are big, but they really do so much for design, it just makes everything easier. I should probably start switching to XHTML. Thanks for answering!


actually, my experience with switching to XHTML was quite easy. get a copy of HTML Kit and it will even do it for you with the click of a button. XHTML really isn't that different than regular HTML. The code is a little more strict, and all tags have to be closed. that's about it from what i can tell

mark
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 22454
  • Loc: Pittsburgh PA
  • Status: Online

Post February 24th, 2004, 4:30 pm

Here are the most important differences:
http://www.w3schools.com/xhtml/xhtml_html.asp

And I'm the same as mark. A very easy transition indeed. And I also use the click of a button thing in HTML kit as well.
"The web is a dominatrix. Every where I turn, I see little buttons ordering me to Submit."
Play sports pools and discuss sports topics at Boasting Rights Sports Forum
Get paid to write articles - www.associatedcontent.com
  • s15199d
  • Expert
  • Expert
  • User avatar
  • Joined: Feb 20, 2004
  • Posts: 503
  • Loc: NC, USA
  • Status: Offline

Post February 26th, 2004, 2:07 pm

Can atno or allgoodpeople tell me where I might find the "HTML kit"? I would love to mess around with the xhtml stuff.
Image
Give a man a fish he eats for a day. Teach a man to fish he eats for a lifetime.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 22454
  • Loc: Pittsburgh PA
  • Status: Online

Post February 26th, 2004, 2:28 pm

http://www.chami.com/html-kit/

Click the download link - it's free
"The web is a dominatrix. Every where I turn, I see little buttons ordering me to Submit."
Play sports pools and discuss sports topics at Boasting Rights Sports Forum
Get paid to write articles - www.associatedcontent.com

Post February 27th, 2004, 5:54 am

another good source if you're going to check out XHTML:

http://www.w3schools.com/xhtml/default.asp

easy to read tutorial on what XHTML is all about, and how to go about transitioning your page.

mark

Post Information

  • Total Posts in this topic: 12 posts
  • Users browsing this forum: bilhasry4you and 141 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© Unmelted Enterprises 1998-2009. Driven by phpBB © 2001-2009 phpBB Group.