Align a Table In Master Pages

  • Thread starter Thread starter DAL
  • Start date Start date
D

DAL

I tried to use align="center", but a message comes up saying the align
element is outdated. I am looking for the correct way center a table in a
Master Page. Thank you in advance, DAL.
 
I tried to use align="center", but a message comes up saying the align
element is outdated. I am looking for the correct way center a table in a
Master Page. Thank you in advance, DAL.

There's no such thing as 'correct', only valid and invalid.

Visual Studio 2005 defaults to XHTML 1.0 Transitional, and align is
deprecated in XHTML. You can either change to HTML 4, or use CSS (or both,
but that's kind of pointless).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top