|
Prev: Jumping Elements
Next: Custom Spell Check Dictionary
From: joebeaven on 19 Jun 2008 12:47 Hi, I'm working on a website here: http://www.series6000soundeffects.com I have a style sheet located at assets/style.css which contains the following code: P { font: Verdana, Arial, Helvetica, sans-serif;} H3 { font: Verdana, Arial, Helvetica, sans-serif;} LI { font: Verdana, Arial, Helvetica, sans-serif;} TD { font: Verdana, Arial, Helvetica, sans-serif;} The stylesheet works fine in Dreamweaver, but in IE and Firefox the stylesheet doesn't seem to be working (all text should be verdana). Please could someone tell me what I'm doing wrong? Thanks, Joe
From: Gary White on 19 Jun 2008 13:11 On Thu, 19 Jun 2008 16:47:32 +0000 (UTC), "joebeaven" <webforumsuser(a)macromedia.com> wrote: > I have a style sheet located at assets/style.css which contains the following >code: > P { > font: Verdana, Arial, Helvetica, sans-serif;} > H3 { > font: Verdana, Arial, Helvetica, sans-serif;} > LI { > font: Verdana, Arial, Helvetica, sans-serif;} > TD { > font: Verdana, Arial, Helvetica, sans-serif;} If you use the font shorthand, as you have, you must specify at least the font size and font family. If all you want to specify is the font family, as you did, use the font-family property: P { font-family: Verdana, Arial, Helvetica, sans-serif;} H3 { font-family: Verdana, Arial, Helvetica, sans-serif;} LI { font-family: Verdana, Arial, Helvetica, sans-serif;} TD { font-family: Verdana, Arial, Helvetica, sans-serif;} Gary
From: Nancy O on 19 Jun 2008 13:16 Replace with this and remove the inline CSS from your html page (you don't need to define the font family for every little thing on your page. body { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 100%; background-color: #000099; } --Nancy O. Alt-Web Design & Publishing www.alt-web.com "joebeaven" <webforumsuser(a)macromedia.com> wrote in message news:g3e2j4$dfv$1(a)forums.macromedia.com... > Hi, > > I'm working on a website here: http://www.series6000soundeffects.com > > I have a style sheet located at assets/style.css which contains the following > code: > P { > font: Verdana, Arial, Helvetica, sans-serif;} > H3 { > font: Verdana, Arial, Helvetica, sans-serif;} > LI { > font: Verdana, Arial, Helvetica, sans-serif;} > TD { > font: Verdana, Arial, Helvetica, sans-serif;} > > The stylesheet works fine in Dreamweaver, but in IE and Firefox the stylesheet > doesn't seem to be working (all text should be verdana). Please could someone > tell me what I'm doing wrong? > > Thanks, > Joe >
From: joebeaven on 20 Jun 2008 06:11 Thanks Gary and Nancy, it's working OK now. Joe
From: Agutere on 20 Jun 2008 07:57
kool need any more help just let us know |