File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Create a box Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Create a box" Watch "Create a box" New topic

Create a box

renu richard
Ranch Hand

Joined: Oct 06, 2008
Posts: 116

Please see the below code.
<table border="10" cellspacing="0" cellpadding="0">
<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>
<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>

Imagine how it will get displayed. Now, i want everything to come inside a box. Could someone please tell me. Many Thanks.

Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376
Come inside a box? Not sure what you mean by that.

Something like this with CSS

renu richard
Ranch Hand

Joined: Oct 06, 2008
Posts: 116
Thanks Eric. Could you please also give me any link where i can learn much about page design.
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1321

if you mean CSS then.. you can start from here.

[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
Don't get me started about those stupid light bulbs.
subject: Create a box
Similar Threads
HTML does not print properly - table width exceeding 100%?
How to getParameter value
Values not poulating in the dropdown box.
How can i get selected radio button value using jsp
Doubts in jsp