Chezshire Posted November 22, 2008 Share Posted November 22, 2008 Hi -- My problem is simple - my tags are acting funny. IF you go to the url, you'll see i have three pull down menues with uneven spaces (one with a hugh space - HUGH). I've tried a few things to resolve it but nothing gets them to flow together Help? http://xpg.us/cerebra/proposal.php <table border="0" cellpadding="6" cellspacing="0" width="95%"> <tr><form name="formName" method="post" action="<?php echo $PHP_SELF . "?id=" . $record["id"]; ?>" enctype="multipart/form-data"> <td colspan="2"><h1 class="spaceafter"><font color="#A5B9D5"><?php echo $action; ?> Cerebra Character Proposal</font></h1> <p class="spaceafter">This form is for submitting a tight, clean, character rough. We do not need to know the exact height and weight of the character or who they are necessarily to the infinite degree. What we do want is a tight 'snapshot' of the character you wish to create, what their powers are and how they would fit into the world of XPG. If you have questions about filling out this form, please contact a <a href="mailto:chezshire@gmail.com, mike@digitalsolecism.net, LordOneEyedWolf@yahoo.com, apollodonis@hotmail.com, scatter.heart@live.com">SITE MENTOR</a>. <?php if ($id) { echo " <a href='/cerebra/display.php?id=$id' title='Display this record in a new window' target='_blank'>Display this record in a new window.</a>"; } ?> </p> </td> </tr> <tr> <td align="right" valign="top"> <p><b>CHARACTER OUTLINE:</b></font><br> <span class="fineprint">Please detail your character concept and powers here for XPG's Staff to review. Please keep the outline to 500 words or less. Thank you.</p> </td> <td> <p><textarea name='PLAYERNOTES' cols='65' rows='20' wrap='virtual'><?php echo $record["playernotes"]; ?></textarea> </td> </tr> <tr> <td width="40%" align="right"><p><b>CODENAME:</b></p></td> <td><p><input type="text" name="CODENAME" size="65" value="<?php echo $record["codename"]; ?> PROPOSAL" ></td> </tr> <tr> <td align="right"><p><b>LEGAL NAME:</b></p></td> <td><p><input type="text" name="NAME" size="65" value="<?php echo $record["name"]; ?>"></td> </tr> <tr> <td align="left"><p><b>IDENTITY STATUS:</b></p></td> <td ><select name="IDENTITYSTATUS"> <option value="secret">Secret</option> <option value="public"<?php if ($record["identitystatus"]=="public") { echo " selected"; }?>>Public</option> </select></td> <td align="left"><p><b>CHARACTER TYPE:</b></p></td> <td><select name="OCFCDB"> <option value="OC">OC</option> <option value="FC"<?php if ($record["ocfcDB"]=="FC") { echo " selected"; } ?>>FC</option> </select></td> <td align="left"><p><b>D.O.B.:</b> <span class="fineprint">(YYYY-MM-DD)</span></p></td> <td> <input type="text" name="DATEOFBIRTH" size="8" value="<?php echo $record["dateofbirth"]; ?>" /> </td> </tr> <tr> Quote Link to comment Share on other sites More sharing options...
Chezshire Posted November 22, 2008 Author Share Posted November 22, 2008 Oh -- In case it's not obvious, the three items whcih aren't lining up correctly, horizontally, are the Identity Status:, Character Type:, and D.O.B.:. Thanks! Quote Link to comment Share on other sites More sharing options...
dropfaith Posted November 22, 2008 Share Posted November 22, 2008 try this? one of your tds was off you had <td > instead of <td> <table border="0" cellpadding="6" cellspacing="0" width="95%"> <tr><form name="formName" method="post" action="<?php echo $PHP_SELF . "?id=" . $record["id"]; ?>" enctype="multipart/form-data"> <td colspan="2"><h1 class="spaceafter"><font color="#A5B9D5"><?php echo $action; ?> Cerebra Character Proposal</font></h1> <p class="spaceafter">This form is for submitting a tight, clean, character rough. We do not need to know the exact height and weight of the character or who they are necessarily to the infinite degree. What we do want is a tight 'snapshot' of the character you wish to create, what their powers are and how they would fit into the world of XPG. If you have questions about filling out this form, please contact a <a href="mailto:chezshire@gmail.com, mike@digitalsolecism.net, LordOneEyedWolf@yahoo.com, apollodonis@hotmail.com, scatter.heart@live.com">SITE MENTOR</a>. <?php if ($id) { echo " <a href='/cerebra/display.php?id=$id' title='Display this record in a new window' target='_blank'>Display this record in a new window.</a>"; } ?> </p> </td> </tr> <tr> <td align="right" valign="top"> <p><b>CHARACTER OUTLINE:</b></font><br> <span class="fineprint">Please detail your character concept and powers here for XPG's Staff to review. Please keep the outline to 500 words or less. Thank you.</p> </td> <td> <p><textarea name='PLAYERNOTES' cols='65' rows='20' wrap='virtual'><?php echo $record["playernotes"]; ?></textarea> </td> </tr> <tr> <td width="40%" align="right"><p><b>CODENAME:</b></p></td> <td><p><input type="text" name="CODENAME" size="65" value="<?php echo $record["codename"]; ?> PROPOSAL" ></td> </tr> <tr> <td align="right"><p><b>LEGAL NAME:</b></p></td> <td><p><input type="text" name="NAME" size="65" value="<?php echo $record["name"]; ?>"></td> </tr> <tr> <td align="left"><p><b>IDENTITY STATUS:</b></p></td> <td ><select name="IDENTITYSTATUS"> <option value="secret">Secret</option> <option value="public"<?php if ($record["identitystatus"]=="public") { echo " selected"; }?>>Public</option> </select></td> <td align="left"><p><b>CHARACTER TYPE:</b></p></td> <td<select name="OCFCDB"> <option value="OC">OC</option> <option value="FC"<?php if ($record["ocfcDB"]=="FC") { echo " selected"; } ?>>FC</option> </select></td> <td align="left"><p><b>D.O.B.:</b> <span class="fineprint">(YYYY-MM-DD)</span></p></td> <td> <input type="text" name="DATEOFBIRTH" size="8" value="<?php echo $record["dateofbirth"]; ?>" /> </td> </tr> <tr> Quote Link to comment Share on other sites More sharing options...
Chezshire Posted November 22, 2008 Author Share Posted November 22, 2008 Thanks - I tried it and i'm still getting the same wackiness - the second cell is elongating to the distance of that of cell above it. Driving me nuts (and i'm sure it's an uber simple fix - I just can't figure it out Quote Link to comment Share on other sites More sharing options...
BoltZ Posted November 22, 2008 Share Posted November 22, 2008 Can you make it so we can view it without having to sign up.. Quote Link to comment Share on other sites More sharing options...
jwwceo Posted November 22, 2008 Share Posted November 22, 2008 two cells directly on top of each other will always be the same width. The shorter on will always stretch to the length of the one on top of it. This is just how tables work. I didn't want to register so I cant see your exact problem, but a few ideas would be to: -divide the bottom cell in two and then add a 'colspan =' on the above cell. -use align right/left to align the pulldowns in the cell where you want them. -use style attributes like padding or margin to move the pulldown. -Simply make the pulldowns and the cells the same width so there is no problem at all. You can adjust the width of a select box pretty easilly using "size=25" or whatever length you want them both to be. I hope this helps. James Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.