Click to See Complete Forum and Search --> : tables


Justin
05-02-2003, 02:11 PM
how do you get tables to be scertent sizes, like the Iframe
or a frame?

like have scroll bars.

khalidali63
05-02-2003, 02:13 PM
add this style in the table elemtns
<table style="width:300px;height:200px;border:1px green solid;">

Change the width value or height value to your desired range

Justin
05-02-2003, 04:27 PM
all the info put into it just made it gat bigger than specified.
so what could be the problem

jdavia
05-03-2003, 01:36 AM
Originally posted by Justin
Thanks for your help. if you have any good hints for me (I am a begginer in this stuff) it would kind, Thanks
justin the best help I can give you is to ask you to search the internet for a tutoral on "html" or "tables". Learn the fundamentals of the code. It is easier than you think.

Justin
05-03-2003, 06:27 AM
it works with not enough stuff, but when there is more the table expands, i want it not to, i want scrollbars

jdavia
05-03-2003, 12:26 PM
Originally posted by Justin
it works with not enough stuff, but when there is more the table expands, i want it not to, i want scrollbars
That is exactly what it is supposed to do. Which is the reason you should learn more about the code as I suggested.

Charles
05-03-2003, 12:37 PM
Tables are intended to used for displaying tabular data and not as a means for controlling layout. As such they will expand to include all the data. The solution is to control your page layout with CSS like you ought to. From the HTML 4.01 Specification:
Tables should not be used purely as a means to layout document content as this may present problems when rendering to non-visual media. Additionally, when used with graphics, these tables may force users to scroll horizontally to view a table designed on a system with a larger display. To minimize these problems, authors should use style sheets to control layout rather than tables.
http://www.w3.org/TR/html4/struct/tables.html#h-11.1

Justin
05-06-2003, 02:30 PM
A way to make a frame, or a iframe that put info that is in the html document, like a table would, where yo can control the size?

Esmaeiluk
05-06-2003, 04:41 PM
go to insert and then click inline frames
with this u could change shapes

Justin
05-07-2003, 02:50 PM
are you using a program or something?

Esmaeiluk
05-08-2003, 05:33 AM
i'm using front page
remember to use tables in every page
and the other thing is that u should make the tables about 10 pixels less than ur inline frame

nkaisare
05-08-2003, 03:54 PM
Originally posted by Esmaeiluk
remember to use tables in every page
Why do you need tables? Referring AGAIN to what charles had to say:
From the HTML 4.01 Specification
Tables should not be used purely as a means to layout document content as this may present problems when rendering to non-visual media. Additionally, when used with graphics, these tables may force users to scroll horizontally to view a table designed on a system with a larger display. To minimize these problems, authors should use style sheets to control layout rather than tables.
http://www.w3.org/TR/html4/struct/tables.html#h-11.1

If I want a 500*350px "window" with scrollbars positioned 100px from the left and top edges of my screen, I will use:

<div style="margin-left: 100px; margin-top: 100px; width: 500px; height: 350px; overflow: scroll">
<p>This content will be displayed in a 500*350 size div.
The div will have scrollbars by default. You may change "overflow:scroll" to "overflow: auto"
to display or un-display scrollbars depending on the size of contents of this div.</p>
<p>This is CSS2. It will work with IE4, NS6 and later browsers.
It wont work with NS4.7. However NS4.7 will still display the content.</p>
</div>