PHP href

Hi,

I am trying to style some links within my php search code, I have used the following which works for everything except for the color?

echo “Contact Us”;

Also I would like an <a href to target/link to an item in my mysql database called .$property[‘link’] - How would I need to change the above code to enable this?

Many Thanks

That should work. Have you tried it in both IE and FF? Just curious.

Also, do you have any CSS that is covering the entire page? Sometimes that will interfere…

Another work-around would be to just set that one text with a font tag.
(take out the style and use contact us

Good luck…

Thanks for the reply. That did the trick.

I’m also looking to add style to the below code, but not sure where to add the style attribute?

echo ‘More Details’;

Thanks

Well, I have had trouble with style inside of certain tags. HREF has given me trouble before!

I have found that sometime you just put the style outside the tag and it will work fine!

Something like:
For…
echo ‘More Details’;
Try this…

echo ‘More Details’;

Of course CSS fans will say to add an ID to the HREF and use that in your CSS code to set the style you want to do. Either way should work well. Good luck…

Sponsor our Newsletter | Privacy Policy | Terms of Service