Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    Senior Coder effpeetee's Avatar
    Join Date
    Feb 2007
    Location
    Clapham Junction - London SW
    Posts
    4,885
    Thanks
    228
    Thanked 204 Times in 203 Posts

    Exclamation CSS font problem

    I am trying to set the line in red to the font <pp> in the style sheet but nothing seems to happen.

    What am I doing wrong?

    effpeetee

    From INDEX page.

    Code:
    <div id="links">
    
              <ul>
            <li><a href="two.html">Betty and Frank.</a></li>
            <li><a href="three.html">Little Ted and Dmitri.</a></li>
            <li><a href="four.html">Lovely Betty and Pussycat.</a></li>
            <li><a href="five.html">Betty and the Bears.</a></li>
            <li><a href="seven.html">Steven and Joyce and Mark.</a></li>
            <li><a href="twelve.html">Ritcroft family group.</a></li>
            <li><a href="Eddie.html">Eddie, relaxing at home.</a></li>
            <li><a href="Bluebell1.html">Steven at ease.</a></li>
            <li><a href="Steveintrain.html">Steve on the Bluebell Line.</a></li>
            <li><a href="steveviewing.html">Steve at the box.</a></li>
            <li><a href="dadatpub.html">'Smile please'</a></li>
            <li><a href="Barker.html">Claire, Yvonne and Susan.</a></li>
            <li><a href="xmas2006.html">Christmas 2006 at Yvonne's.</a></li>
            <li><a href="nine.html">Family photos.</a></li>
            <li><a href="hol1.html">Holiday snaps.</a></li>
            <li><a href="LittleBoyBlue.html">Little Boy Blue</a></li>
            <li><a href="Tarantella.html">Do you remember an inn.</a></li></ul> 
            <pp>(One of Betty's favourite poems.)</pp><br /><br />        <ul>
            <li><a href="Picchoose.html">Picture menu.</a></li>  
            <li><a href="Latest.html">Recently Added Picture(s).</a></li>
    			  <li><a href="aaind.html">Random pictures - full screen.</a></li>
    		  </ul><br />
          Website Builder - Frank Taylor<br />
            Assisted by "Coding Forums".<br />
            Checked with IE 7, <br />
            Set to:- 1024 x 768 pixels.<br /><br /><br />
            Updated 17th May,2007
        </div>
    On style sheet

    Code:
    #pp{font-size:6px;
    	color: yellow;
    	font-weight: bold;
    	text-decoration: none;
    }

  • #2
    Regular Coder BonRouge's Avatar
    Join Date
    Mar 2006
    Location
    Sendai, Japan
    Posts
    328
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Code:
    <p id="pp">(One of Betty's favourite poems.)</p>

  • #3
    Senior Coder effpeetee's Avatar
    Join Date
    Feb 2007
    Location
    Clapham Junction - London SW
    Posts
    4,885
    Thanks
    228
    Thanked 204 Times in 203 Posts
    Quote Originally Posted by BonRouge View Post
    Code:
    <p id="pp">(One of Betty's favourite poems.)</p>
    Cor!! That was fast.

    Worked a treat.

    www.exitfegs.co.uk

    effpeetee
    Last edited by effpeetee; 05-18-2007 at 09:03 AM.

  • #4
    Regular Coder
    Join Date
    May 2007
    Posts
    118
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi Peetee..

    what about just this

    Code:
    <style>
    pp{font-size:6px;
    	color: yellow;
    	font-weight: bold;
    	text-decoration: none;
    }
    </style>
    
    <pp>adsasdasd</pp>
    Forum for webmasters and developers
    http://www.htmlfrenzy.com
    Are you an IT expert? Join our Reward system
    www.htmlfrenzy.com/reward-system.php

  • #5
    Regular Coder BonRouge's Avatar
    Join Date
    Mar 2006
    Location
    Sendai, Japan
    Posts
    328
    Thanks
    0
    Thanked 0 Times in 0 Posts
    smalldog,
    That won't work in IE.

  • #6
    Regular Coder
    Join Date
    May 2007
    Posts
    118
    Thanks
    0
    Thanked 0 Times in 0 Posts
    It's true.. id/class is better no doubt
    Forum for webmasters and developers
    http://www.htmlfrenzy.com
    Are you an IT expert? Join our Reward system
    www.htmlfrenzy.com/reward-system.php

  • #7
    Senior Coder effpeetee's Avatar
    Join Date
    Feb 2007
    Location
    Clapham Junction - London SW
    Posts
    4,885
    Thanks
    228
    Thanked 204 Times in 203 Posts
    Thanks for all the advice.
    However, I wanted to use a seperate style sheet as that is what I am trying to learn at the moment.

    effpeetee


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •