Tables question

  • Thread starter Thread starter sinneD
  • 7 comments
  • 400 views
Messages
41
I recently put together a website where most pages of it are tables. The only one that isnt is my home page. I went on to realize that if someone was to resize the window that the text on the page went everywhere except where it should be.

So I redesigned the page into table also, but upon finishing and testing it through resizing, the text still scatters.

I don't know the terms to call what i am trying to do... but for instance on any of the pages with a table, the very top box in the table has a title. Now if you resize those windows, the text stays where it is... and in fact it will get cut off if you make the window small enough, but the text does not reshape.

Thats what i want my hompage to do. I dont want the text to always stay on screen and get scrambled. I want it to always stay in place.

Can anone help me? My site is in my sig.
 
Don't use tables for layouts. Tables are for tabular data (like graphs) and tabular data only.

I did know of a website that listed the reasons why not to use table layouts, but I've since forgot. :O
 
You need to set all your table widths to percentages (of screen size) rather than width in pixels. This will allow the table to resize as the screen is resized.
 
Judging by the website in your "website" link, your website need's a few graphical banners on your website. 👍
 
Originally posted by sUn
Judging by the website in your "website" link, your website need's a few graphical banners on your website. 👍
What are you talking about? There's no need for banners and other fancy crap. Slap some nice typography in there and it'll look top notch. 👍
 
Originally posted by GilesGuthrie
You need to set all your table widths to percentages (of screen size) rather than width in pixels. This will allow the table to resize as the screen is resized.


But that is what i am trying to avoid... i dont want my home page to resize when someone resizes their screen... i dont want the text to get scrambled... i want it all to stay in place. Also if someone has a smaller screen then a 17 it automatically makes the text not appear as i intended.


Does anyone know how to do that?


As for the comment about banners... i don't need banners. I'm not advertising anyones junk on my site unless it is my own... and i don't care how pretty it is, as long as it is functional. If people can read the codes i gave out, good enough. I don't have time to make pretty pictures etc. for it, i work and go to schnor do I care. I'm not out for any awards here.
 
Back