Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
content Box extending
Old 02-10-2007, 04:58 PM content Box extending
Average Talker

Posts: 20
Trades: 0
Hey guys I am trying to make my template content boxes extend correctly. Basically my content boxes are sort of small, so I want them to extend when I put a php form into it thats larger than the box itself. Here is the code for one content box:


Code:
<table width="100%" style="margin-right: 5px;" cellspacing="0" cellpadding="0">
        <tr>
          <td width="141" colspan="3"><img src="Hazard-designs%202.0/img/stats.jpg" alt="Stats" /></td>
        </tr>
        <tr>
          <td width="9" background="Hazard-designs%202.0/img/ls.jpg"></td>
          <td width="127" background="Hazard-designs%202.0/img/mbg.jpg">
            anjohgeoa u hgoae hgaoeng oaen gaelhla enhlajen hlajen halej nhalj enhal ejnhlj aenhagggggggggggggggggggg jlehnl a</td>
          </td>
          <td width="5" background="Hazard-designs%202.0/img/rs.jpg"></td>
        </tr>
        <tr>
          <td colspan="3"><img src="Hazard-designs%202.0/img/mfooter.jpg" alt="" /></td>
        </tr>
      </table>
UnfixedCODERJ is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-10-2007, 06:00 PM Re: content Box extending
RanaD's Avatar
Super Talker

Posts: 139
Name: David
Trades: 0
The code you gave expands the paragraph in my browser (FF2)...not sure what the problem is. (Oh, IE7 doesn't extend it.) Where do you want to include PHP?

% widths is normally the solution, but you should also look into CSS to replace the table-layout. I'm sure that would solve your problem.
Code:
          <td width="5%" background="Hazard-designs%202.0/img/ls.jpg"></td>
 <td width="95%" background="Hazard-designs%202.0/img/mbg.jpg">
anjohgeoa u hgoae hgaoeng oaen gaelhla enhlajen hlajen halej nhalj enhal ejnhlj aenhagggggggggggggggggggg jlehnl a
</td>
 </td>
A link to where you're testing this would help somewhat.
RanaD is offline
Reply With Quote
View Public Profile
 
Old 02-11-2007, 01:40 PM Re: content Box extending
Average Talker

Posts: 20
Trades: 0
Hummm, Let me play around with some code and try to make it work. Thanks for your help .
UnfixedCODERJ is offline
Reply With Quote
View Public Profile
 
Old 02-11-2007, 01:51 PM Re: content Box extending
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,935
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
The other thing you may want to try is style="overflow: auto;" in your TD tag (or create a CSS class for it as well.) See how that plays out.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Reply     « Reply to content Box extending
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.13002 seconds with 12 queries