line-height? CSS? wtf! help please

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nico-t
    emperor of my world
    • Aug 2004
    • 29903

    #1

    line-height? CSS? wtf! help please

    I got this test im doing with a fucking blog page and i got a question about the css thing i cant figure this shit out.

    Ive got a post Title, this is the css for it:
    Code:
    #left h2 {
    	font-size: 1.2em;
    	color: #5988F8;
    	line-height: 1.2em;
    }
    Below the title is the date in small font.
    Code:
    .small	{
    	font-family: Arial, Helvetica, sans-serif;
    	text-indent: 5px;
    	font-size: .8em;
    	margin: 0;
    	padding:0;
    	line-height: 1em;
    }
    There is a huge ass gap between the Title and the Date part.. what do i have to change to only decrease this gap to about 1 pixel (i want the small date directly under the damn title)?
  • X37375787

    #2
    margin: 0 for the title.

    Comment

    • nico-t
      emperor of my world
      • Aug 2004
      • 29903

      #3
      Originally posted by Equinox
      margin: 0 for the title.
      holy shit. Youre right! Its always too simple to expect. Thanks!

      Comment

      Working...