Jump to content


padding on the top of text?


2 replies to this topic

#1 influct

    Young Padawan

  • Members
  • Pip
  • 63 posts

Posted 24 September 2006 - 03:03 PM

Hey: on my page http://www.sfegaming.../beta/index.php
you can see theres some texts that reads "mwahahah" (yeh sorry, its demo text)
How can I get the text to sit say 2 px lower?
Something to do with padding i'd imagine (the text is css, heres my code)
<style type='text/css'>
.no1 {font-family: verdana; font-size:8px; font-weight:bold; color:#FF9900;}
</style>
so yup:s
and no, i cant edit my div, its complecated.
Thank you pixel to life:D

#2 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 24 September 2006 - 03:30 PM

<style type='text/css'>
.no1 {
	font: bold 8px Verdana,serif;
	padding: 2px 0 0;
}
</style>
Try that...

#3 influct

    Young Padawan

  • Members
  • Pip
  • 63 posts

Posted 24 September 2006 - 03:50 PM

thank you very much!
Everyone here is so helpfull:)
Thanks again.
influct.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users