Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/mislz28/public_html/wp-content/themes/css-faq-v2/timeweather/timeweather.php on line 19
8 May 2008

forum

Current User: Guest Login Register
Please consider registering

Search 
Search Forums:


 




Quote font name in quoted values

UserPost

7:28 am
June 3, 2008


crazygirl

Member

posts 17

1

How do I quote font names in quoted values of the style attribute?

7:28 am
June 3, 2008


cssstyles

Member

posts 25

2

The attribute values can contain both single quotes and double quotes as long as they come in matching pairs. If two pair of quotes are required include single quotes in double ones or vice versa:
 
<P STYLE=”font-family: 'New Times Roman'; font-size: 90%”>
<P STYLE='font-family: “New Times Roman”; font-size: 90%'>
 
It's been reported the latter method doesn't work very well in some browsers, therefore the first one should be used.



Reply to Topic: Quote font name in quoted values

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 2 + 4        (Required)

Topic Reply:


 

About the CSS-FAQ forum

Currently Online:

2 Guests

Maximum Online: 20

Forums:

Groups: 3

Forums: 18

Topics: 397

Posts: 834

Members:

There are 1007 members

There are 1 guests

Top Posters:

abc - 57

genius - 47

shane - 46

glowlite.uk - 39

booster - 37

warren - 35

Administrator: admin | Moderators: admin


© Simple:Press Forum - Version 3.1.1 (Build 336)