Jump to content

droopsnoot

New Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by droopsnoot

  1. It certainly does. So is the rule never a space before a ) but always a space after.

     

    I would think it's because you need spaces to separate values, and "no-repeat" is one value, and "url(filename-url)" is another. The leading "url" is not separate to the contents of the parentheses because it's all part of the same value.

  2. Here's the snapshot of the what i'm referring to.

     

    Use padding-bottom instead:

     

    h2 {

    font-family: Georgia, "Times New Roman", Times, serif;

    font-size: 16px;

    font-weight: bold;

    color: #000000;

    padding-bottom: 25px;

    border-bottom: 1px solid #cc0033;

    }

     

    My test in IE8 showed the line moved down. I think this is because the red line is the border-bottom for h2, so margin-bottom will add space below the line, which you won't see.

     

    Learning this stuff myself, so happy to be shown if I'm wrong.

×
×
  • Create New...