Dragen Posted April 20, 2007 Share Posted April 20, 2007 Hi, I'm trying to make sure that all my pages validate for xhtml transitional.. unfortunatly on one page I get this error see here This is because I have text areas with predifined text inside them. here's an example: <a href="http://www.gimppro.co.uk/" target="_blank"> <img src="http://www.gimppro.co.uk/images/banners/Gimpltd_1.jpg" border="0" alt="Gimp Productions ~ www.gimppro.co.uk" width="200" height="33" /> </a> The problem is xhtml transitional declares that <a> tags can't be inside a textarea. Is there any way around this? thanks. Quote Link to comment Share on other sites More sharing options...
Dragen Posted April 20, 2007 Author Share Posted April 20, 2007 um.. okay, my databse seems to be temporarily offline, so all you'll get from my validation link is thte mysql error.. it was basically saying that the <a> tag is not allowed inside textarea. Quote Link to comment Share on other sites More sharing options...
We Must Design Posted April 21, 2007 Share Posted April 21, 2007 Try replacing all of the < with < and all of the > with > I think this might work. Quote Link to comment Share on other sites More sharing options...
Dragen Posted April 21, 2007 Author Share Posted April 21, 2007 haha.. I have no idea why I didn't think of that in the first place just me being a bit silly really.. thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.