Positioning tables using CSS
If I want to position 3 separate tables on a web page how can I do that using CSS? I'm going back and forth on using objects or tables and I want to see which one will work the best for me. For now I would like to know how to position these tables using CSS. Any insight would be great!
Same as positioning anything else... primarily use the box model (http://www.w3.org/TR/CSS2/box.html) for positioning, then use relative and then absolute positioning if absolutely necessary.
Thank you Dave!
I have a followup question. If I position the tables "absolute" using pixel value locations won't I have problems with different resolutions for different visitor screens? How do I keep the tables where I want them consistently with a wide variety of screen resolutions?
This is an example of how I'm locating the tables.
Yes, if you position absolutely you will have problems with different screen resolutions. That's one reason I list that above as the last priority "if you absolutely must" option. To handle different size page widths, you should probably be looking into box model positioning with major elements (like these tables) positioned as a percentage of the page width. Then as you get down to phone-sized pages, you should use CSS media queries to re-position your tables, maybe all one beneath the other rather than next to each other.
Thank you once again Dave. I want to make these tables a link as well. Have you done that before?
how do you want to link the tables?
is how to link one table with the other table ?
Thnks all for your wonderful suggestions
Each table will be a link to another page of the website.
Originally Posted by legend@12
Last edited by KBear; 10-27-2012 at 02:33 PM.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)