+ Reply to Thread
Results 1 to 5 of 5

Thread: css headings

  1. #1

    Default css headings

    I would like to add a horizontal line right below heading1 and heading2. Can anyone help with the syntax and where should I make the amendment?
    THX a lot
    Horace

  2. #2
    Join Date
    Jun 2008
    Location
    London
    Posts
    29

    Default fish and fishing rod

    There are a number of ways to do this but for simple and specific, use the h1 and h2 selectors and border-bottom-style and border-bottom-width properties.

    For instance:

    h1, h2 {
    border-bottom-style: solid;
    border-bottom-width: 3px;
    }

    Add the CSS to either of the Override CSS fields on the Visual appearance page, reached from the Control Panels.

    If you'll be doing much work with CSS, you should get a book that will help you learn how to do it well. However, you can find a good online reference at:
    http://reference.sitepoint.com/
    and basic tutorials at:
    http://www.w3schools.com/default.asp
    Last edited by amelder; 06-17-2008 at 09:25 PM.

  3. #3
    Join Date
    Mar 2008
    Location
    Roseville, California USA
    Posts
    173

    Default

    Not as elegant or preferred but <hr></hr> works also if you need an occasional horizontal line.
    Aurora

    Questions relate to Deki server:
    OS: Ubuntu 10.04
    MindTouch v10 version 10.0.1 Non-VM

  4. #4

    Default

    THX so much

  5. #5
    Join Date
    Jun 2008
    Location
    London
    Posts
    29

    Default

    The second, Custom Content Styles field is slightly better than the upper, Template Override field just because modified style will appear when editing.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts