Author Topic: Font style  (Read 750 times)

hmobley

  • Jr. Member
  • **
  • Posts: 130
Font style
« on: January 04, 2010, 09:45:47 PM »
here is what I put into the adverts, however, I would like to change the font, bold etc, when I do it dreamweaver and copy the code to adverts, it does not work, how would I add to this:

<body>
<p class="style1">PETREVOLUTION.COM</p>
</body>
</html>

to change the font, make it bold and increase size, would appreciate any assistance please

sbcjr

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6247
    • PHPmotion Mods
Re: Font style
« Reply #1 on: January 04, 2010, 11:44:16 PM »
Here is the code you could put into the ad space:
Code: [Select]
<p style="font: bold 120% Tahoma;">PETREVOLUTION.COM</p>
You could instead add the rules to your css file, if this is permanent, and give your paragraph a class (as you did in your example).

hmobley

  • Jr. Member
  • **
  • Posts: 130
Re: Font style
« Reply #2 on: January 06, 2010, 10:19:06 PM »
I wish I could write code better than the little I know, thanks for info

sbcjr

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6247
    • PHPmotion Mods
Re: Font style
« Reply #3 on: January 06, 2010, 10:24:13 PM »
You'll pick up the basics out of necessity if you stick with it long enough... :)