Welcome to WebmasterWorld Guest from 22.214.171.124
Forum Moderators: incrediBILL
I have a big fat
that likes to sleep all day. (where the word cat is linked to another page)
But I want it to look like this:
I have a big fat cat that likes to sleep all day.
So my anchor text is linked to the page I want it to link to, but the linked word moves to it's own line rather than just staying within the sentence.
Does anyone know why this is happening? Hopefully my description of what's going on makes sense.
This is not normal behavior for an anchor element (<a>) so I'm thinking there must be something else in the code. The anchor is behaving like a block level element rather than an inline element, which would be the default.
Do you have CSS associated with the page? It could be in an external document, in the <head> section of this document, or in the opening anchor tag itself. If so, that's the place to look.
Also, here are some helpful links when working with display issues:
Some display issues can be impossible to resolve if certain kinds of invalid mark-up are involved, so it's always best to ensure the code is valid before moving on to de-bug rendering problems.
[edited by: tedster at 5:49 pm (utc) on Feb. 13, 2008]
No, I'm not using CSS. (I don't even really know what that is).
Believe me, this is a true beginner's page. It only has three columns, some text, three links, and one image.
I've only just started getting my hands dirty with actual coding this week. I've always used a WYSIWYG editor (Homestead) to build my websites in the past but have been convinced by others that I really should learn to build them myself.
So here I am!
Thanks for all the friendly welcomes!
It's nice to finally find a site where the members are really helpful and no one is trying to sell you something.
Just a thought.