Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Autoresize table?

Asked Modified Viewed 8,746 times
A
AK
A
AK 10
  • Member, joined since
  • Contributed 50 posts on the community forums.
  • Started 15 threads in the forums
  • Started this discussions
asked
Member

Hi,

Jeg have a table inside a panel, I would like the table to auto-resize so it fits the panel. right now it is bigger than the panel, and 25% of the table is not being show, because it is too big.

here is the code:

openside("Hvordan Tjener Jeg Point??");

echo "<table border='0'>
<tbody>
<tr>
<td colspan='2'><span style='color: #ff0000; font-size: small;'><strong>Hvordan Tjener Jeg Point?</strong></span></td>
</tr>
<tr>
<td colspan='2'>
<pre><strong style='font-family: arial, helvetica, sans-serif; font-size: small;'>Her p&aring; siden koster det Point at hente opgaver</strong></pre>
</td>
</tr>
<tr>
<td colspan='2'>
<pre><strong style='font-family: arial, helvetica, sans-serif; font-size: small;'>Point tjener du ved at:</strong></pre>
</td>
</tr>
<tr>
<td><img style='float: right;' title='Check' src='/images/check14.png' alt='Check' width='14' height='14' /></td>
<td><strong>Skrive p&aring; forum</strong></td>
</tr>
<tr>
<td><img style='float: right;' title='Check' src='/images/check14.png' alt='Check' width='14' height='14' /></td>
<td><strong><strong>Skrive p&aring; forum</strong></strong></td>
</tr>
<tr>
<td><img style='float: right;' title='Check' src='/images/check14.png' alt='Check' width='14' height='14' /></td>
<td><strong><strong>Skrive en kommentar&nbsp;</strong></strong></td>
</tr>
<tr>
<td><img style='float: right;' title='Check' src='/images/check14.png' alt='Check' width='14' height='14' /></td>
<td><strong>Uploade en opgave der er l&oslash;st!</strong></td>
</tr>
<tr>
<td><img style='float: right;' title='Check' src='/images/check14.png' alt='Check' width='14' height='14' /></td>
<td><strong>Vurdere/bed&oslash;mme en opgave</strong></td>
</tr>
<tr>
<td><img style='float: right;' title='Check' src='/images/check14.png' alt='Check' width='14' height='14' /></td>
<td><strong>Donere til siden</strong></td>
</tr>
</tbody>
</table>
<div></div>
</center>";
closeside();
0 replies

23 posts

A
AK
A
AK 10
  • Member, joined since
  • Contributed 50 posts on the community forums.
  • Started 15 threads in the forums
  • Started this discussions
answered
Member

I agree with you guys. It is hard, and I didn't expect any thing else. Tyler could have given me the code all from the start, but he showed me the right direction. And yes, it ended with that, at the end he gave me the code, but I have at least looked around, opened some files, tried to do some thing by my self, And understood how this code is set together, or had a feeling or an idea of how it is set together... And I appreciate and praise the good work you guys do here,.. Much respect from here.

EDIT: Yes, It became as I wanted it to be :)

peecee.dk/uploads/042013/done.JPG
Edited by AK on 30-04-2013 15:08,
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 23 posts
  • Votes 0 votes
  • Topic users 3 members

3 participants

T
T
Tyler 10
Helping, would be pointing you in the right direction, not doing it all for you.
  • Member, joined since
  • Contributed 198 posts on the community forums.
  • Started 3 threads in the forums
K
K
KasteR 10
  • Senior Member, joined since
  • Contributed 290 posts on the community forums.
  • Started 1 thread in the forums
A
A
AK 10
  • Member, joined since
  • Contributed 50 posts on the community forums.
  • Started 15 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet