Msg#: 4324138 posted 4:38 pm on Jun 9, 2011 (gmt 0)
I want to change the link and the anchor it points to that my web developer has put in place. I am quite capable of working with html on my individual pages, but not so confident with CSS. I think he coded the link and the anchor in CSS, and I'm afraid to mess with it. On one page, I have one-liner comments that link to another page showing the comments in full. He has the link anchored to the comment heading -- I want the link to point to an individual comment. <snip> The one-liners are on the About Us page. Ultimately what I want is, when a visitor clicks on a one-liner comment, it will take them directly to the full comment. Thanks!
[edited by: engine at 2:32 pm (utc) on Feb 3, 2012]
Msg#: 4324138 posted 7:38 pm on Jun 9, 2011 (gmt 0)
Whoops, got an extra > right before the close of the very first link. Also a whole duplicate </a>. And, interestingly, a matching > at the end of the corresponding comment. Also forgot to encode ampersands in names (John & Mary needs to be John & Mary).
This is definitely not a CSS question; that only concerns the styling of the links, and they're all the same.
If it were an HTML question, the answer would be to anchor the comments individually, with links to match: #tenant1, #tenant2 and so on.
But this almost certainly isn't an HTML question either. It's a php question. That is, your web developer didn't actually make the page that you see before you. He made php code that builds the page dynamically. Without seeing that code, it's impossible to know what would be involved in changing the anchors.
Huh. I had no idea you could link to an id that wasn't inside an <a>. Link checker didn't bat an eye, though it did-- ahem-- find a couple of bad links.