I have a site that pulls half its content from a database. Text that
will have links in it, that I won't be able to alter. They'll all be
like
<a href="link">blah</a>
But I want to give links within this database pulled text to have a
different style than the rest of the page.
Here's a couple of ways I can think of to do it, but I'd like to know
if there's a better way.
Set up a style for the generic link which will affect those pulled from
the database, and then in all the static links on the page, use a
separate class.
Use PHP to replace
<a href...
with
<a class="blah" href...
Is there some other way that would be better?
Thanks for any tips!
Liam