Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 5 of 5
  1. #1
    Senior Member Kings's Avatar
    Join Date
    Feb 2002
    Posts
    129
    Member #
    19
    I've got the following bit of HTML,
    Code:
    <td valign="middle" align="center" width="20%" bgcolor="#FFFF99">
    			<form action="member.asp?action=settemplateset" method="post" name="settemplateset">
    			<input type="hidden" name="refer" value="/projects/aspit/classic/index.asp?">
    			<select name="templateset" OnChange="document.settemplateset.submit()">
    			<option value="">&nbsp;Select templateset&nbsp;</option>
    			<option value="5">Default Layout</option>
    
    			</select></form>
    		</td>
    It validates perfectly with W3C's validator, but there's one problem.

    It seems that the </form> tag takes up space, because my layout gets screwed up;
    See image in next post

    Can someone tell me how to make it so it doesn't take up space, and still properly validates? Thanks

    (doctype = -//W3C//DTD HTML 4.01 Transitional//EN)
    K i n g s

    Several handy ASP Resources:
    4guysfromrolla | aspin | ASP101 | AspIt | learnasp

    Several handy ASP.NET resources:
    ASP.NET | .NET Experts | O'Reilly .NET | AspIt | 4guysfromrolla

    Several paid ASP/ASP.NET webhosts:
    Brinkster | Maximum ASP | Clicktech | Nodehosting | Uplinkearth | Webhost4life

  2.  

  3. #2
    Senior Member Kings's Avatar
    Join Date
    Feb 2002
    Posts
    129
    Member #
    19
    Here's the example.
    Attached Images Attached Images
    K i n g s

    Several handy ASP Resources:
    4guysfromrolla | aspin | ASP101 | AspIt | learnasp

    Several handy ASP.NET resources:
    ASP.NET | .NET Experts | O'Reilly .NET | AspIt | 4guysfromrolla

    Several paid ASP/ASP.NET webhosts:
    Brinkster | Maximum ASP | Clicktech | Nodehosting | Uplinkearth | Webhost4life

  4. #3
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    <form> tags do have a tendency to do that. Although I'm thinking there's a CSS solution, what I do is just put the <form> tag outside the table where a gap is acceptable.
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  5. #4
    Senior Member nsr81's Avatar
    Join Date
    Oct 2002
    Posts
    1,132
    Member #
    250
    Liked
    15 times
    I usually use CSS to set the padding and margin around the form to zero.
    There and Back Again :Ogre:

  6. #5
    Senior Member Kings's Avatar
    Join Date
    Feb 2002
    Posts
    129
    Member #
    19
    Thanks, the CSS solution worked perfectly.
    K i n g s

    Several handy ASP Resources:
    4guysfromrolla | aspin | ASP101 | AspIt | learnasp

    Several handy ASP.NET resources:
    ASP.NET | .NET Experts | O'Reilly .NET | AspIt | 4guysfromrolla

    Several paid ASP/ASP.NET webhosts:
    Brinkster | Maximum ASP | Clicktech | Nodehosting | Uplinkearth | Webhost4life


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 07:10 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com