Results 1 to 4 of 4

Thread: HTML layout tables expand

  1. #1
    Join Date
    Aug 2006
    Posts
    155

    HTML layout tables expand

    Hi,

    I am almost familiar with most HTML, and with php, but I understand there is one thing that I never really learned how to do, what is code the code which makes a layout with tables, to make it expand, and stuff like that. If someone could please post a reply how can i accomplish this.

    Thanks guys.

  2. #2
    Join Date
    Jan 2008
    Posts
    1,521

    Re: HTML layout tables expand

    Most of the website has a header, side nav, content and footer. This info doesn't assist troubleshoot anything.Even if you can't upload the site and put it online you can paste the code to this forum using the code tags.What we have looks somewhat like an excel table of sorts, and it lists the stuff. Some of the links have a plus sign next to them, used to expand the list. We are generally using tables for formatting, b/c there is a thousands of information in there, and it's just simple for the user to read it that way.

  3. #3
    Join Date
    Nov 2005
    Posts
    1,323

    Re: HTML layout tables expand

    if you want a static width, you could, for instance, give the table width through the table elements attributes in pixels but if you want it to always use the entire width of the screen, you could give it's width as a percentage. this method, even if the window is created wider, since the width is a percentage, it will expand with that percentage, relative to the size of the window.having said that, it's best that you don't use tables to contain a pages layout. it's far better to use div's and CSS to achieve what you really need it...

  4. #4
    Join Date
    May 2008
    Posts
    2,012

    Re: HTML layout tables expand

    Using CSS to follow tables is the anti-thesis for using CSS in the first place. Tables were usually used since nothing much else was available. So attempting to duplicate table usage fails the entire purpose of CSS.Your required to layout your page using html only. Group those elements which belong together with a <div> if need; and it's not always necessary. Then, style those elements as wanted using CSS.

Similar Threads

  1. Replies: 3
    Last Post: 31-07-2013, 11:26 AM
  2. Defining a Layout using SMIL and HTML
    By Anathakrishnan in forum Windows Software
    Replies: 3
    Last Post: 30-04-2009, 10:34 AM
  3. BSNL to expand WLL service
    By Champak in forum India BroadBand
    Replies: 0
    Last Post: 17-03-2009, 02:26 PM
  4. How to create Tables in HTML ?
    By Sudra in forum Software Development
    Replies: 2
    Last Post: 21-02-2009, 09:01 AM
  5. How do i expand my C drive
    By Azzan in forum Operating Systems
    Replies: 3
    Last Post: 10-02-2009, 03:32 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,052,819.38158 seconds with 16 queries