467,163 Members | 975 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,163 developers. It's quick & easy.

Table inside DIV not being wrapped - VS2003


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> 

Jan 18 '08 #1
  • viewed: 1468
1 Reply
Expert 4TB
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.

Similar topics

1 post views Thread by Eric Wilds | last post: by
8 posts views Thread by stoptv@gmail.com | last post: by
3 posts views Thread by axlq | last post: by
5 posts views Thread by fjleon@gmail.com | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.