Memory Jogger

Discussion in 'HTML / PHP / JavaScript / CSS' started by jgstevens, Oct 18, 2010.

  1. I have coded some HTML that would display a title and then put a box around the following text so it would look like:

    ------ Title -------------------------------------------------------------

    but it would be a solid line, curve at the ends, down the sides and sacross the bottom to for a box.

    For the life of me I can't remember the syntax to do that. Can anybody help?
     
  2. Thanks for the post. It was not just putting a box around something that I was looking for.

    Found what I was looking for:

    <fieldset>

    <legend>GroupBox Name</legend>

    something
    somwthing else

    </fieldset>

    will do the graphic grouping I was looking for. Thanks all!
     
  3. mjp

    mjp

    Interesting. I hadn't heard of fieldset before.

    The <fieldset> tag is used to logically group together elements in a form.
    The <fieldset> tag draws a box around the related form elements.
    The <legend> tag defines a caption for the fieldset element.
     

Share This Page