Code critique (no URL available)

R

Ryan Stewart

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html;
charset=ISO-8859-1">
<title>APEV</title>
<style type="text/css">
h3 { margin: 0; }
th, td { border: 1px solid green; }
#form8001 { margin: 0 35px; border: 1px solid red; }
#form8001 h3 { text-align: center; border: 1px solid blue; }
#form8001 div { border: 1px solid blue; margin: 10px 0; }
#form8001 div h3 { border: 1px solid green; }
#form8001 div h3 span.left { float: left; }
#form8001 div h3 span.right { float: right; }
table { width: 100%; }
</style>
</head>

<body>
<form action="#">
<div id="form8001">
<h3>
Three<br />
Line<br />
<span style="font-size: 80%;">Header</span><br />
</h3>

<div>
<h3>
<span class="left">Module name</span>
<span class="right">Nav links</span>
<br style="clear: both;" />
</h3>
<table>
<colgroup>
<col span="2" style="vertical-align: top;">
</colgroup>
<colgroup>
<col span="5" style="text-align: center;">
</colgroup>
<thead>
<tr>
<th>&nbsp;</th>
<th>Equipment Type</th>
<th>Reg #</th>
<th>MFR</th>
<th>Status</th>
<th>Remarks</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
<tr>
<td rowspan="1">1</td>
<td rowspan="1">
<h4 style="margin: 0;">
Equipment Name
</h4>
&nbsp;Asgn:&nbsp;<input type="text" size="5">
Avail:&nbsp;<input type="text" size="5"><br />
&nbsp;Auth: ### <a href="#">Add Equipment</a>
</td>
<td colspan="5" style="text-align: center;">No
Equipment</td>
</tr>
<tr>
<td rowspan="1">2</td>
<td rowspan="1">
<h4 style="margin: 0;">
Equipment Name
</h4>
&nbsp;Asgn:&nbsp;<input type="text" size="5">
Avail:&nbsp;<input type="text" size="5"><br />
&nbsp;Auth: ### <a href="#">Add Equipment</a>
</td>
<td><input type="text" size="15"></td>
<td><input type="text" size="15"></td>
<td>
<select>
<option>Deployed</option>
<option>Something else</option>
</select>
</td>
<td><input type="text" size="25"></td>
<td><a href="#">Delete</a><br /><a
href="#">Depot</a></td>
</tr>
<tr>
<td rowspan="2">3</td>
<td rowspan="2">
<h4 style="margin: 0;">
Equipment Name
</h4>
&nbsp;Asgn:&nbsp;<input type="text" size="5">
Avail:&nbsp;<input type="text" size="5"><br />
&nbsp;Auth: ### <a href="#">Add Equipment</a>
</td>
<td><input type="text" size="15"></td>
<td><input type="text" size="15"></td>
<td>
<select>
<option>Deployed</option>
<option>Something else</option>
</select>
</td>
<td><input type="text" size="25"></td>
<td><a href="#">Delete</a><br /><a
href="#">Depot</a></td>
</tr>
<tr>
<td><input type="text" size="15"></td>
<td><input type="text" size="15"></td>
<td>
<select>
<option>Deployed</option>
<option>Something else</option>
</select>
</td>
<td><input type="text" size="25"></td>
<td><a href="#">Delete</a><br /><a
href="#">Depot</a></td>
</tr>
</tbody>
</table>
</div>

<div>
<h3>
<span class="left">Alt view</span>
<span class="right">Nav links</span>
<br style="clear: both;" />
</h3>
<table>
<colgroup>
<col>
</colgroup>
<colgroup>
<col span="4" style="text-align: center;">
</colgroup>
<thead>
<tr>
<th>Equipment Type</th>
<th>AUTH</th>
<th>AVAIL</th>
<th>TDY/On Mission</th>
<th>Remarks</th>
</tr>
</thead>
<tr>
<td>Equipment Name</td>
<td>###</td>
<td><input type="text" size="5"></td>
<td><input type="text" size="5"></td>
<td><input type="text" size="25"></td>
</tr>
</table>
</div>

<div>
<h3>
<span class="left">Alt view 2</span>
<span class="right">Nav links</span>
<br style="clear: both;" />
</h3>
<table>
<colgroup>
<col>
</colgroup>
<colgroup>
<col span="5" style="text-align: center;">
</colgroup>
<thead>
<tr>
<th>Equipment Type</th>
<th>AUTH</th>
<th>AVAIL</th>
<th>In Use</th>
<th>Unserviceable</th>
<th>Remarks</th>
</tr>
</thead>
<tr>
<td>Equipment Name</td>
<td>###</td>
<td><input type="text" size="5"></td>
<td><input type="text" size="5"></td>
<td><input type="text" size="5"></td>
<td><input type="text" size="25"></td>
</tr>
</table>
</div>

<div>
<h3>
<span class="left">Remarks</span>
<span class="right">Nav links</span>
<br style="clear: both;" />
</h3>
<p style="text-align: center; margin: 0;">
<textarea rows="6" cols="100"></textarea>
</p>
</div>
</div>
</form>
</body>
</html>
 
J

Jukka K. Korpela

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">

Are you serious? If you don't want to take the trouble of uploading your
document for viewing, you are either very misguided or just trolling when
you ask for "code critique" (and nothing else). And it isn't even a real
document, just an abstract skeleton.
 
W

Whitecrest

Are you serious? If you don't want to take the trouble of uploading your
document for viewing, you are either very misguided or just trolling when
you ask for "code critique" (and nothing else). And it isn't even a real
document, just an abstract skeleton.

Got to go with Yucca on this one....
 
R

Ryan Stewart

Whitecrest said:
Got to go with Yucca on this one....

Hmm... Sorry about that. I had to post that through Google. It apparently
chopped part of my post, and I hit "Post, no preview" by accident instead of
"Preview". First, when I posted, I had no access to any server that you
could access, and I figured it wasn't a whole lot of trouble to create an
empty document, copy and paste, and load it in a browser. Second, yes it's a
skeleton because a) the content will be dynamic, b) the final look and feel
hasn't been decided on, and c) even if the content were available, you
wouldn't want to see the whole thing because it will be extremely long and
the code is repetitive. What I've given is a structural sample of what each
section of the page will look like. Borders are only there to show me where
everything is. I'm looking for comments on the markup, not the look of the
page. I'd especially like those anti-table-layout-ists among you to critique
my use of tables. That's the main thing I'm not entirely comfortable with at
the moment.

Now that I'm home, I can give you a URL that will be available at least for
the next few hours, but not for the next three days:
http://68.184.230.252/reference/form8001.jsp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top