Quote:
Originally Posted by DjSap
A. You do not fucking do that, all styles go into the CSS file, no hardcoding
print "<IMG class='imgstyle' SRC='hair$hair.gif'>";
|
If you want to be like that, you shouldn't use single quotes in HTML attributes.
The ultimate correct way is like this:
echo '<img src="whatever.gif" class="super_pic" style="border: 1px solid red;" />';
Print is not required here, nor is escaping quotes.