Hi,
I'm outputting some php code and I want a style attached to what is outputted, so I have this:
Which I thought would have made my $headline yellow from my stylesheet and $opening (text) grey? But it just stays as default? Can anyone see where I have gone wrong.
Also if I wanted to make a more link below the $opening (text) with a link to the story and a yellow colour from my stylesheet, how would I do that?
Thanks
Chris
I'm outputting some php code and I want a style attached to what is outputted, so I have this:
Code:
print '<a href="'.$link.'class=\"small_yellow_text\">'.$headline.'</a><br /><a class=\"small_grey_text\>'.$opening.'</a><br /><br />';
Which I thought would have made my $headline yellow from my stylesheet and $opening (text) grey? But it just stays as default? Can anyone see where I have gone wrong.
Also if I wanted to make a more link below the $opening (text) with a link to the story and a yellow colour from my stylesheet, how would I do that?
Thanks
Chris