Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

width limits

Status
Not open for further replies.

ratcho

Programmer
Jul 25, 2002
3
CA
Hi guys,

Please, tell me if there are any limits of the width property of a table. Or, are there any limits in the number of columns of a table?

I try to display a table with a lot of columns - 100 or more. For each column I need at least 60 pixels.
For example, I used this code:

<div style=&quot;width:6500&quot;; height: 300px; overflow-y: scroll;border:0.2cm;&quot;>
<table style=&quot;width:100%;&quot; id=&quot;tblSample&quot;>

or
<table style=&quot;width:6500&quot;; id=&quot;tblSample&quot;>

It works for &quot;width:4700px&quot; or less.
Can I achieve better results if I work with %. For exemple,
&quot;width:500%&quot; . Are there any limits in this case?

Thanks a lot for your help!
 
What does it do when it doesn't work?
And is that exactly the code you're using? Because you have a &quot; after your div's width and there shouldn't be one there. Also try specifying the unit of measure for the width (ie. 6500px).

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top