HTML - Help With Fieldset And Legend
Hey guys.. its been a while. Hope everyone has been well. Anyways I'm trying to help out a friend with their site which is located at http://www.centerforholistichealth.com Anyways if you look at the left most column near the bottom with the form for signing up for the monthly newsletter is you will see a legend/fieldset box, for some reason the box is coming out of bounds. Anyone have any ideas on how this might be corrected so that is stays within its bounds.
Thanks as always, Eric Similar Tutorialshi everybody. can i use fieldset/legend out of the form with an image in the "legend"? it's ok and validator says so but i wonder should i realy use it? thanks Does anyone know how to put (or if it's possible) form buttons into the legend of a field set? I tried searching but not really found much. The following snippet resulted in the text for the legend and the button from the form residing just inside the fieldset and not actually in the legend it self. The border of the fieldset then remained unbroken around the content of the fieldset: Code: <fieldset id="fieldset1"> <form action="nrt.php" method="post"> <input type="hidden" name="c_name" value="$c_name[0]" /> <legend> Editing page for class: <i>$c_name[0] <button id="button-submit_4" type="submit">(edit)</button> </i> </legend> </form> It's really annoying because the page would look pretty damn neat if I could get the button in the legend. Any help here or anything would be very much appreciated Cant figure out whats wrong here. When the page is loaded, the legend doesnt appear on top of the form like it should. It displays itself inside the form instead. Suggestions? Code: <form method="post" action="mailto:espngear@yahoo.com" name="form" onsubmit="return validate_form ( );"> <fieldset> <legend>Ask Us!</legend> <b>Your Name:</b> <input name="yourname" type="text" size="25"/> <p><b>How may we contact you?</b> <font size="1" face="arial">* Enter contact information in both fields</font></p><b> E-mail:</b> <input name="email" type="text" size="25"/> <b>Phone:</b> <input name="phone" type="text" size="25"/><br/><br/> <b>Question Type:</b> <select name="questiontype"> <option selected="selected">Select</option> <option>General/Service Question</option> <option>Pricing</option> <option>Printing Job</option> </select> <font size="1" face="arial">*This specifies what you're asking</font><br/><br/> <b>Your Question:</b><br/><br/> <textarea name="questionbox" cols="55" rows="10" onclick="document.form.questionbox.value='';">Type your question here</textarea><br/><br/></fieldset> <input type="submit" value="Send" class="buttons" onClick="return checkmail(this.form.email)"/> <input type="reset" value="Clear Form" class="buttons"/> <fieldset> <legend align="left">Logo</legend> <textarea cols="111" rows="3"><center><img src="images/logo.gif"></center> </textarea> </fieldset> The legend appear ok, but for some reason the initial text contained within the textarea isn't displayed - how do i fix this? I have several fieldsets contained as elements within a table, all in the same row. Some fieldsets have more fields than others, which makes them taller. The shorter fieldsets "shrink wrap" themselves, which makes the row look non-uniform. Can I format things so every fieldset border is the height of the largest in the row? I am currently running this code. Hi, I'm using a table within a fieldset. The table columns expand beyond the fieldset boundaries which I don't want to happen. On the fieldset tab, I'm not using any classes other than: Code: fieldset { margin: 1em; } My opening table tag is: Code: <table cellspacing="0" cellpadding="5" border="0"> There are 6 columns in the table. Any ideas on how I can get around this? Thanks. Hi: Is there any way to change the color or thickness of the <fieldset> box border ? TIA -Mel Smith |