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 1 of 1
  1. #1
    Senior Member tekp's Avatar
    Join Date
    Jan 2004
    Location
    A small village near a small city near a small cit
    Posts
    918
    Member #
    4667
    Liked
    1 times
    As can be seen on this page, if viewed in Internet Explorer, the grey background of the fieldset shows up even outside the border.

    Is this an(other) IE glitch or am I doing something wrong?

    Here's the HTML and CSS:


    XHTML:
    Code:
    <fieldset name="details">
    	  <legend>Your Details</legend>
    	  <p>
    	   <label for="name">Your name:</label>
    	   <input type="text" name="name" />
    	  </p>
    	  <p>
    	   <label for="email">
    		How can I contact you?
    	   </label>
    	   <input type="text" name="email" />
    	   <small>e.g. e-mail, postal address or phone number</small>
    	  </p>
    	 </fieldset>
    CSS:
    Code:
      form fieldset {
       border:1px solid #ccc;
       background-color:#f8f8f8;
       margin:0px 40px 20px 0px;
       padding:10px;
      }
       form fieldset legend {
    	margin:0px;
    	border:1px solid #ccc;
    	background-color:#fff;
    	font-size:.8em;
    	padding:5px 10px;
       }
    tekp :cheeky: tekponline.com

  2.  


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 12:36 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com