473,320 Members | 1,883 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Table inside DIV not being wrapped - VS2003

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
1 1564
drhowarddrfine
7,435 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

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

Similar topics

2
by: Robin Tucker | last post by:
I have some code that dynamically creates a database (name is @FullName) and then creates a table within that database. Is it possible to wrap these things into a transaction such that if any one...
1
by: Eric Wilds | last post by:
Greetings, I'm trying to use CSS to position a table in the top right corner of a webpage and not have the table disappear off the screen when the user scrolls down. Simply, my design is like...
7
by: Herbman | last post by:
Hi, I'm trying to position a <tr> ("row") element with CSS. The table itself is positioned with <div> tags. The problem is when I use <div> tags to position the rows within the table nothing...
8
by: stoptv | last post by:
Hello group, this is my dilemma: ------------------------------------------------------------------------ #include <iostream> using namespace std; // a regular manipulator ostream & hello(...
3
by: Pavan | last post by:
Hi All, I am having a wierd problem while displaying my panel. My code is something like this <table> <tr> <td width=100>label</td> <td width=100>label</td> <td width=100>label</td> <td...
6
by: TomB | last post by:
Hello all, On the page located at http://deimos.curious.be/~dusk/lyrics.php#gotn I have put the lyrics text inside <pre> elements so that the UA renders the linebreaks in the code. Because...
3
by: axlq | last post by:
I created an experimental page at: http://sunbeam.rahul.net/~unicorn/csstest.html ....which is a standard header + nav bar + 2-column content + footer CSS layout. The left column is 10em wide...
5
by: fjleon | last post by:
Hi, i want to create a table declared inside a <td> , which already exists as follows: <tr> <td id="prueba" colspan="4"> </td> </tr> I have a button somewhere calling this script, which i...
0
by: Markus | last post by:
Hello I encountered a very annoying behaviour of IE7 with max-width on elements inside a table cell - it seems to be related to the max-width bugs on list items and floated elements (discussed...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.