You better read up on CSS.
Then in the HTML documents put <a class="white">some text</a>
.white{color:#000000;font-size:100%;line-height:100%;}
.red{color:#FF0066;font-size:100%;line-height:100%;}
.black{color:#000000;font-size:100%;line-height:100%;}
.yellow{color:#FFFF00;font-size:100%;line-height:100%;}
.green{color:#006633;font-size:100%;line-height:100%;}
.blue{color:#0000FF;font-size:100%;line-height:100%;}
Tim
On 08/02/2007, at 11:40 AM, Till Elsner wrote:
Reading this leads me to another question:
Since <font> is deprecated and should not longer be used, is there any
"replacement" for that? Any inline element that allows me to format a
piece of text? While <span> is technically possible, in my opinion its
not very semantic in this situation? Is there anything just for
specially styled text?
Am 08.02.2007 um 00:47 schrieb Douglas Reith:
Hi All,
I'm thinking this should be a quick one because I'm pretty useless
with CSS...
I know this will sound strange, but I don't have control over the
whole HTML/CSS of the page.
What I do have is control over a piece of text that is displayed
which I want there to be some padding around so I did this:
<font style="padding: 20px">Hello World</font>
But it only pushes the text to the left and doesn't add space to the
top or the bottom. This:
<font style="padding-bottom: 20px">Hello World</font>
does nothing unfortunately.
Am I using this totally the wrong way? (probably!) Can I use
something else to fudge the same result?
P.S. Tested in FF and IE.
Thanks in advance,
Doug
--
Douglas Reith
[EMAIL PROTECTED]
+61 (0)4 1042 1081 mobile
<skypeme_btn_small_white.gif>
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************
The Editor
Heretic Press
http://www.hereticpress.com
Email [EMAIL PROTECTED]
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************