Jump to content

Recommended Posts

I would really appreciate some help here, not actually with php but html. Whatever dimensions i put on my table row it doesn't change, the width stays as long as it can write "Ime" and next line "stranice". But in dreamweaver while im previewing it, its different, why !? :s

<table width="848" border="0">
  <form id="form" name="form" action="#"  method="post" onsubmit="return validate_form();">
  <tr bgcolor="#FFFF00">
    <td width="35%" align="right">Ime stranice</td>
    <td width="65%"><input type="text" name="pagetitle" /></td>
  </tr>
  <tr bgcolor="#33CCCC">
    <td align="right">Linklabel</td>
    <td><input type="text" name="linklabel" /></td>
  </tr>
  <tr bgcolor="#CCFFFF">
    <td align="right" valign="top">Sadrzaj stranice</td>
    <td><textarea cols="100" rows="15" name="pagebody"></textarea></td>
  </tr>
  <tr>
    <td> </td>
    <td height="21"><input name="button" type="submit" value="Napravi" /></td>
  </tr>
  </form>
</table>

Link to comment
https://forums.phpfreaks.com/topic/234278-table-problem/
Share on other sites

although this is not your question, You mind want to reconsider the use of tables for some more suitable elements.

Tables are ideal for displaying data in a multi column manner. If you use them for pure layout purposes... don't use them!

there are cleaner ways. Also a good idea is to seperate your style from your mark-up. (Use an external style sheet.)

Link to comment
https://forums.phpfreaks.com/topic/234278-table-problem/#findComment-1204139
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.