Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Create a box

 
renu richard
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Please see the below code.
<table border="10" cellspacing="0" cellpadding="0">
<tr>
<td width=38% align="right" valign="middle"><b>Chennai</b></td><td width=2% align="center" valign="middle"><b>:</b></td>
<td width=50% align="right">
<select id="dlelist" name="dlelist" STYLE="width:180px">
<option value="Select">Select</option>
<option value="Chennai">CHENNAI</option>
<option value="Delhi">DELHI</option>
</select>
</td>
</tr>
<tr>
<td width=38% align="right" valign="middle"><b>Start Location</b></td><td width=2% align="center" valign="middle"><b>:</b></td>
<td width=50% align=right>
<select id="dlelist" name="dlelist" STYLE="width:180px">
<option value="Select">Select</option>
<option value="GandhiNagar">GandhiNagar</option>
<option value="IndiraNagar">IndiraNagar</option>
</select>
</td>
</tr>
</table>

Imagine how it will get displayed. Now, i want everything to come inside a box. Could someone please tell me. Many Thanks.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Come inside a box? Not sure what you mean by that.

Something like this with CSS


Eric
 
renu richard
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Eric. Could you please also give me any link where i can learn much about page design.
 
Muhammad Saifuddin
Ranch Hand
Posts: 1324
Android Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if you mean CSS then.. you can start from here.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic