0
Welcome Guest! Login
0 items Join Now

Code Question with tables, any ideas on what I am missing from my code?

  • Re: Code Question with tables, any ideas on what I am missing from my code?

    Posted 15 years 11 months ago
    • If you can restore the DIVs, I'll be happy to take a look.
    • James Spencer / Developer & Support / Hull, UK
  • Re: Code Question with tables, any ideas on what I am missing from my code?

    Posted 15 years 11 months ago
    • I'll make a new page with them and post it in the next few minutes, thanks!
  • Re: Code Question with tables, any ideas on what I am missing from my code?

    Posted 15 years 11 months ago
    • Here is a link to a page that I recreated the same problem. I used the code above submitted by 'prim' which didn't fix the problem but improved the results a little.

      Another problem I am having using the <div class="module-style2"> tags is the <div> borders are not expanding with content height. Any ideas for that as well?

      Thanks for the help.
  • Re: Code Question with tables, any ideas on what I am missing from my code?

    Posted 15 years 11 months ago
  • Re: Code Question with tables, any ideas on what I am missing from my code?

    Posted 15 years 11 months ago
    • It would be

      <div class="module-style2"><div><div><div>

      Those 3 additional DIVs are important.
    • James Spencer / Developer & Support / Hull, UK
  • Re: Code Question with tables, any ideas on what I am missing from my code?

    Posted 15 years 11 months ago
    • Current page code does include the three <div> tags following the first tag...
      <div class="module-style2">
      <div>
      <div>
      <div>CONTENT AREA&nbsp; 
      <table style="height: 150px;" class="module-style2" border="0" cellpadding="5" cellspacing="5" width="100%">
      <tbody>
      <tr style="height: 100%;">
      <td style="width: 63%;">
      <h3>Green Glue in Five Gallon Buckets</h3>
      Green Glue in buckets, wtf!?!</td>
      <td style="width: 37%;">adsfasdfsadf</td>
      </tr>
      </tbody>
      </table>
      <table style="height: 150px;" class="module-style2" border="0" cellpadding="5" cellspacing="5" width="100%">
      <tbody>
      <tr style="height: 100%;">
      <td style="width: 63%;">
      <h3>Green Glue in Five Gallon Buckets</h3>
      Green Glue in buckets, wtf!?!</td>
      <td style="width: 37%;">adsfasdfsadf</td>
      </tr>
      </tbody>
      </table>
      <table style="height: 150px;" class="module-style2" border="0" cellpadding="5" cellspacing="5" width="100%">
      <tbody>
      <tr style="height: 100%;">
      <td style="width: 63%;">
      <h3>Green Glue in Five Gallon Buckets</h3>
      Green Glue in buckets, wtf!?!</td>
      <td style="width: 37%;">adsfasdfsadf</td>
      </tr>
      </tbody>
      </table>
      </div>
      </div>
      </div>
      </div>
  • Re: Code Question with tables, any ideas on what I am missing from my code?

    Posted 15 years 11 months ago
    • Hey, any ideas? Is this not possible... ?

      I have another question, maybe easier to do... Can you adjust the height of the side borders? It seems like it has a limit in height...
  • Re: Code Question with tables, any ideas on what I am missing from my code?

    Posted 15 years 11 months ago
    • ???
  • Re: Code Question with tables, any ideas on what I am missing from my code?

    Posted 15 years 11 months ago
    • Your problem is you seem to be wanting the rounded corners be on the table, it just can't happen. You need 4 elements, DIVs in order to apply the 4 background corner images. A table can't cut it without it being fixed.

      This type of styling is explained at tutorials.rockettheme.com/joomla-tutoria.../module-hilites.html
    • James Spencer / Developer & Support / Hull, UK
  • Re: Code Question with tables, any ideas on what I am missing from my code?

    Posted 15 years 11 months ago
    • Is there any way to extend the side borders to fit with the content on pages with a lot of text? Right now it seems like the <div class="style2"> tags are only expandable to maybe 1000px vertically.

Time to create page: 0.058 seconds