SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Wizard edshuck's Avatar
    Join Date
    Jul 2000
    Posts
    1,200
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi

    Over in website review we have a site that uses a php / mysql to provide several lists.

    But there is a problem, when artists is selected on the menu and then specific artists chosen, the width of the td varies. So we are working the problem but more help would be useful, cause we have not found it yet.

    Also it is a really nice site.

    http://www.sitepointforum.com/showth...threadid=13107

    peace

  2. #2
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Location
    Lancaster, Ca. USA
    Posts
    12,305
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Simply force the width as your writing the HTML code in your PHP file. Add the Width attribute to your generated code.
    Wayne Luke
    ------------


  3. #3
    SitePoint Wizard edshuck's Avatar
    Join Date
    Jul 2000
    Posts
    1,200
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi

    Thanks for the reply Wayne.

    The problem is that the tr of which this td is a component, contains 5 td's. Four are, or appear to be fixed width and the fifth (the component in question) varies in width with the browser.

    Some of the time, the first, third and fifth appear to split the pixels into thirds ( less the cosmetic 2 pixel demands of the second and forth tds). This is in violation of the fixed width declaration.

    Your solution is perfect for most applications, this is just a bit more bizzar.

    Thanks



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
  •