Re: Simple HTML tag - need some help

Originally Posted by
ngmanhmedia69
Style sheet
Well, somebody wasn't paying attention. As misson said, CSS won't handle this -- it's a job for dynamic scripting (eg, PHP) or server-side includes. CSS can alter the appearance of the document, and can include either plain text or images to be placed before or after existing elements, but it cannot (yet) render HTML to the page. JavaScript can add HTML, but that depends on JavaScript being enabled in the browser (and it's not just a matter of adding a tag to a page).
Last edited by essellar; 10-14-2011 at 11:24 AM.
Reason: spelling
“Beware of bugs in the above code; I have only proved it correct, not tried it.” --Donald Knuth
"It was as if its architects were given a perfectly good hammer and gleefully replied, 'neat! With this hammer, we can build a tool that can pound in nails.'" -- Alex Papadimoulis (on TheDailyWTF.com)