Part of the EllisLab Network
   
 
a tags adding url in parentheses - how to remove?
Posted: 03 July 2009 05:11 PM   [ Ignore ]  
Summer Student
Total Posts:  29
Joined  04-14-2009

This seems incredibly simple, and yet I can’t find any reference to it anywhere.

When I place anchor tags on my view, such as:

<?php echo anchor("http://www.mysite.com/", "My site");?>

<a href="http://www.mysite.com/">My Site</a>

it always shows up as:

“...hello this is My Site (http://www.mysite.com/). Thank you for…”

How do I remove the additional “(http://www.mysite.com/)” part from showing up? This happens with hand coding or using the CI anchor function.

Thanks!

Profile
 
 
Posted: 03 July 2009 06:31 PM   [ Ignore ]   [ # 1 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  629
Joined  12-26-2006

 
Have you loaded the helper? $this->load->helper(‘url’); ?
 
Also view the source code in your browser.
 
This is what the HTML source looks like in my browser:

...hello this is <a href="http://www.mysite.com/">My site</a> Thank you for..

 

 

 Signature 

Joke of the day     (ongoing development site)

My Hippy Trail    Source code   

Latest Project

Profile
 
 
Posted: 03 July 2009 10:54 PM   [ Ignore ]   [ # 2 ]  
Summer Student
Total Posts:  29
Joined  04-14-2009

Ah, apologies…

It is from my Blueprint CSS print.css file. I just started using that css framework more, and hadn’t stumbled on that feature yet.

Thanks for those that helped.

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 819, on March 11, 2010 10:15 AM
Total Registered Members: 119706 Total Logged-in Users: 32
Total Topics: 125901 Total Anonymous Users: 1
Total Replies: 662431 Total Guests: 334
Total Posts: 788332    
Members ( View Memberlist )