Blockquote Using CSS

Discussion in 'CSS' started by gobbly2100, Jul 25, 2007.

  1. #1
    Click this link:

    http://www.huxleygame.com/news/

    How do I indent the heading called "Huxley News" a little using CSS or if I can't do that then how am I supposed to move it away from the side a little?
     
    gobbly2100, Jul 25, 2007 IP
  2. deques

    deques Peon

    Messages:
    206
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #2
    .header-bg {
    padding-left: 20px;
    }
    Code (markup):
    is this what you want?
     
    deques, Jul 25, 2007 IP
  3. gobbly2100

    gobbly2100 Banned

    Messages:
    906
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Perfect thanks, is the way I am doing it also the correct was as such?
     
    gobbly2100, Jul 25, 2007 IP
  4. deques

    deques Peon

    Messages:
    206
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #4
    nothing wrong with your way of giving the heading a padding instead of the parent element. but in your case i would instead of giving a padding to the heading, give it a margin instead.
    just replace padding-left with margin-left

    the output will be same
     
    deques, Jul 25, 2007 IP