It would depend what the text is. If it's a paragraph, use <p>, if it's a heading use <hx>. There's no one single tag which can be used in all situations.

On Thu, 08 Feb 2007 10:40:37 +1000, Till Elsner <[EMAIL PROTECTED]> 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]
*******************************************************************




--
Tyssen Design
Web & print design services
www.tyssendesign.com.au
Ph: (07) 3300 3303
Mb: 0405 678 590


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to