Hi,
I just tried your current page fixing your styl the way Ashok told you
to.remove the trailing semicolon after the brace. Your code should
look like this:

<style type="text/css">
p {font-family: verdana;font-size: 11pt;}
span {color:navy;}
</style>

I just tried it in FF 3.6, Chrome 8.0, and IE8 and the blue text
showed up as it should.on all three browsers.
The trailing ; you have added after the } is NOT optional - it is
incorrect and has caused your problems.

On Dec 28, 8:26 pm, justaguy <[email protected]> wrote:
> Too bad, the hex value didn't work neither.  Odd, it's a simple CSS
> issue but fails two browsers.
>
> On Dec 28, 12:35 pm, Brandtley McMinn <[email protected]> wrote:
>
>
>
> > If you want to emphasize the text, you could change your <span></span>
> > tags to <em></em>.  It's more semantic that way. Also, try declaring the
> > actual hex value (#282a73) for navy in your css and see if that fixes
> > your issues in FF and Chrome, since I believe they may have dropped
> > support for name-based values. Also, there isn't enough contrast between
> > black and navy for this to be effective; so changing the color to a
> > slightly brighter blue would be a better option.
>
> > - B
>
> > On 12/28/2010 9:16 AM, justaguy wrote:
>
> > > Ooops, fat figure, meant to add the URL for you to see,
> > >http://www.knowledgenotebook.com/HowToLearn_matters.html
>
> > > On Dec 28, 8:47 am, Ashok Prajapati<[email protected]>  wrote:
> > >> Hi
>
> > >> Here is small error in this CSS, You have added *�;�* after 
> > >> *�}�*.  It�s not
> > >> validate in css rules.
>
> > >> So please apply this CSS
>
> > >> <style type="text/css">
> > >> p {font-family: verdana;font-size: 11pt;}
> > >> span {color:navy;}
> > >> </style>
>
> > >> Thanks,
>
> > >> On 28 December 2010 10:10, justaguy<[email protected]>  wrote:
>
> > >>> <style type="text/css">
> > >>> p {font-family: verdana;font-size: 11pt;};
> > >>> span {color:navy};
> > >>> </style>
> > >>> Probably I didn't do it correctly?
> > >>> Thanks in advance.
> > >>> --
> > >>> --
> > >>> You received this because you are subscribed to the "Design the Web with
> > >>> CSS" at Google groups.
> > >>> To post: [email protected]
> > >>> To unsubscribe: [email protected]
> > >> --
> > >> Ashok Prajapati | web 
> > >> Designerhttp://www.css3maker.comhttp://www.onlycssmenu.com- Hide 
> > >> quoted text -
>
> - Show quoted text -

-- 
--
You received this because you are subscribed to the "Design the Web with CSS" 
at Google groups.
To post: [email protected]
To unsubscribe: [email protected]

Reply via email to