RE: [PHP] Bold links
| From: | tedd | Date: | Mon, 09 May 2011 21:56:34 +0000 |
| Subject: | RE: [PHP] Bold links | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-312731@lists.php.net to get a copy of this message | ||
At 1:39 PM -0400 5/7/11, <admin@buskirkgraphics.com> wrote:
<?php global $current_user;Really? How does the blind via readers, such as JAWS, understand what a <B> is? First, never use <B> -- or <I> for that matter. Second, use <strong> or <em> instead. Readers can understand and render STRONG and EMPHASIZED text, but not <B> and <I> text -- those tags mean nothing and that's the reason why they are not encouraged for use and even removed from XHTML. Third, if neither of those tags (i.e., <strong> or <em> ) work for you, they try using a class (or an id) with a css rule of: .whatever {get_currentuserinfo();echo 'Welcome <B>' . $current_user->user_firstname . "</B>\n"; echo '<B>' . $current_user->user_lastname . "</B>\n";?> Richard L. Buskirk
font-weight: bold;} or #whatever {
font-weight: bold;} Cheers, tedd -- ------- http://sperling.com/