Posted by Jonathan N. Little on 11/01/06 14:33
Toby Inkster wrote:
> The Eclectic Electric wrote:
>
>> <p>There was a problem with your submission, problems are <span
>> class="red">marked in red</span>. For your security, your password and
>> security question answer fields have been reset.</p>
>
> I would have thought <strong class="very"> with the corresponding
>
> strong.very { color: #f22; font-weight: bold }
>
> would be more appropriate.
>
>> but the whole paragraph is shown in the default font.
>
> It is probably being over-ridden by a more specific part of the
> stylesheet. Page URL?
>
Agree with Toby here 'red' is a very bad class name. Something like
'warning' or 'critcal' would be better that describe the purpose of the
class not the styling because the styling may change in the future. What
would happen if you needed to show a critically important message on
your website and you had changed the styling so the background is red?
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|