...

View Full Version : CSS font problem



effpeetee
05-18-2007, 08:46 AM
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.


<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


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

BonRouge
05-18-2007, 08:47 AM
<p id="pp">(One of Betty's favourite poems.)</p>

effpeetee
05-18-2007, 08:49 AM
<p id="pp">(One of Betty's favourite poems.)</p>
Cor!! That was fast.

Worked a treat.

www.exitfegs.co.uk

effpeetee

smalldog
05-18-2007, 09:29 AM
Hi Peetee..

what about just this :)



<style>
pp{font-size:6px;
color: yellow;
font-weight: bold;
text-decoration: none;
}
</style>

<pp>adsasdasd</pp>

BonRouge
05-18-2007, 09:33 AM
smalldog,
That won't work in IE.

smalldog
05-18-2007, 09:37 AM
It's true.. id/class is better no doubt :)

effpeetee
05-18-2007, 09:46 AM
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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum