>>HOW TO CREATE BORDER IN HTML CONTACT FORM<<

5 replies
  • WEB DESIGN
  • |
Hi,

I've created a contact form page in html..

I'm trying to create a border for the html program . that is all the stuff i do should be present inside the border..

1)How to create the border? any code available please?
2) where should is insert the code?


Awaiting your favorable replies
#&gt&gthow #>>how #border #contact #create #form<<
  • Profile picture of the author Istvan Horvath
    Put you form in between
    <div class="myform">
    and
    </div>

    Add to stylesheet:
    .myform {
    border: solid 1px #000000;
    }
    Signature

    {{ DiscussionBoard.errors[3363475].message }}
    • Profile picture of the author RichKent
      Originally Posted by Istvan Horvath View Post

      Put you form in between
      <div class="myform">
      and
      </div>

      Add to stylesheet:
      .myform {
      border: solid 1px #000000;
      }
      To make it SUPER simple, you can do what Istvan says, but simply make the first div:

      <div style="border: solid 1px #000000;">

      and end with </div>

      That will save you from adding anything to the style sheet if you don't know what that is or where to find it.
      {{ DiscussionBoard.errors[3364508].message }}
      • Profile picture of the author staciejortega
        Originally Posted by RichKent View Post

        To make it SUPER simple, you can do what Istvan says, but simply make the first div:

        <div style="border: solid 1px #000000;">

        and end with </div>

        That will save you from adding anything to the style sheet if you don't know what that is or where to find it.

        yes just use div tag if you want make it simple : thumbs up :
        {{ DiscussionBoard.errors[3365252].message }}
    • Profile picture of the author gokulvikas
      I tried it..

      It's working perfectly..

      Thanks a lot..

      Originally Posted by Istvan Horvath View Post

      Put you form in between
      <div class="myform">
      and
      </div>

      Add to stylesheet:
      .myform {
      border: solid 1px #000000;
      }
      {{ DiscussionBoard.errors[3381911].message }}
  • Profile picture of the author jminkler
    You could also use the fieldset and legend tags to make it look nice
    {{ DiscussionBoard.errors[3386772].message }}

Trending Topics