Align a Table In Master Pages

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.
 
E

Erik Funkenbusch

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

Members online

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,216
Latest member
topweb3twitterchannels

Latest Threads

Top