Jump to content

[SOLVED] table... in a table?


dezkit

Recommended Posts

Is there a way i can make a table (with a border) inside another table(without borders)?

 

<body bgcolor="#EEEEEE">
<br><br><br>
<form>
<table border=0>
<tr>
<td>Username:
<td><input type="text">
<tr>
<td>Password:
<td><input type="text">
<tr>
<td colspan="2" align="right"><input type="submit" value="submit">
</table>
</form>

Link to comment
https://forums.phpfreaks.com/topic/100925-solved-table-in-a-table/
Share on other sites

nevermind, i got it :)

 

<br><br><br>
<table border=1>
<tr>
<td>
<body bgcolor="#EEEEEE">
<form>
<table border=0>
<tr>
<td>Username:
<td><input type="text">
<tr>
<td>Password:
<td><input type="text">
<tr>
<td colspan="2" align="right"><input type="submit" value="submit">
</table>
</form>

lol, fieldset is better, but its KINDA UGLY! with that 'not touching' edges in firefox

 

<center><br>
<body bgcolor="#EEEEEE">


<table border=0>
<td>

<fieldset>
<legend>Login</legend>


<form>
<table border=0>

<tr>
<td>Username:
<td><input type="text">

<tr>
<td>Password:
<td><input type="text">

<tr>
<td colspan="2" align="right"><input type="submit" value="submit">

</form>



</table>
</table>
</fieldset>

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.