Reply to Re: CSS not being applied

Your name:

Reply:


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

"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">

[Back to original 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

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