Re: Formatting an ECHO statement.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 13:03 18 10 10, ash@xxxxxxxxxxxxxxxxxxxx wrote:
There's nothing wrong with using <em> as it indicates emphasised text, which is semantic. Use span tags with classes only when the content you're styling has no semantic alternative. <strong>important message</strong> is much better for machines (including search engines, screen readers, etc) to infer a meaning for than <span class="bold_text">important message</span> Thanks, Ash http://www.ashleysheridan.co.uk ----- Reply message ----- From: "tedd" <tedd.sperling@xxxxxxxxx> Date: Mon, Oct 18, 2010 17:51 Subject: Formatting an ECHO statement. To: <php-general@xxxxxxxxxxxxx> At 9:47 AM -0400 10/18/10, Steve Staples wrote: >or create a style sheet, with a class definition for italic. > >Steve. +1 The "best practices" way to do it. Don't style output in an echo statement, but rather put styling in a css sheet, It's much cleaner there. Cheers, tedd -- ------- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


Jesus H. Christ.

I'm on this list because I want to learn PHP, not how to parse
HTML mail or how to add italics to dolt<stupid text>/dolt.

You add styles to text as a presentation effect. This list is
not supposed to be about the effing presentation.

Must I say it again, more rudely even? I know you guys like
to go on and on, but give it a rest on this one. Get your
asses back on topic - and on topical jokes. This topic is
neither.

Move on already.




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux