By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,723 Members | 1,662 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,723 IT Pros & Developers. It's quick & easy.

Table inside DIV not being wrapped - VS2003

P: 21
Hi,

Developing with VS2005 I usually put a table inside a div, setting align="center" for the div and it works fine in IE, with the table centered inside the div and wrapped by the div.

Now I am trying to do the same in VS2003 but there's no way to get the div wrap any control coding a div element around the table form the markup editor.

If I then go the design view and drag the table inside the div - from what I am coding it should already be there - it works, with some butchering of the source (like empty divs dropped on the markup source).

It's just the way it is - kind of a known bug - or I am doing something wrong?

Expand|Select|Wrap|Line Numbers
  1. <div align="center">
  2. <table>
  3. ...
  4. </table>
  5. </div> 
Regards,

JI
Jan 18 '08 #1
Share this Question
Share on Google+
1 Reply


drhowarddrfine
Expert 5K+
P: 7,435
I believe you are having a vs2003 issue but I don't think this is the right forum for that and I don't know that anyone here uses that. But you say "it works in IE" so that makes me wonder if it's a html question. Be more specific.
Jan 18 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.