You are here: Re: CSS not being applied « HTML « IT news, forums, messages
Re: CSS not being applied

Posted by asdf on 01/14/08 02:56

"asdf" <asdf@asdf.com> wrote in message
news:478acece$0$30858$5a62ac22@per-qv1-newsreader-01.iinet.net.au...
>
> "Dave" <david.mh.tong@gmail.com> wrote in message
> news:32c6d3c3-69df-4a64-ab42-2a6fc9263a8d@k39g2000hsf.googlegroups.com...
>> The following embedded CSS class is not being applied and I don't
>> under stand why?
>>
>> Any help would be appreciated.
>>
>> <script type="text/css">
>> .msg_alert {
>> text-weight: bold;
>> font-size: 1em;
>> color: red;
>> }
>> </script>
>>
>> <div class="msg_alert">This should work!</div>
>>
>> Thanks in advance.
>
> Try replacing:
>
> <script type="text/css">
>
> ...with:
>
> <style type="text/css">
>

....and before the pedants get me...

Also replace:

</script>

with:

</style>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация