Jump to content

Table problem -.-


quelle

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.