Jump to content

...and Some More


Recommended Posts

Some more questions I have. I got the favicon up on my site (thanks to all who helped) but I'm having some trouble getting it on forums. If anyone can help with these questions, thank you.


How do I make a border around highlighted links that doesn't stretch the text or move it? I know how to put a border around them, but everytime I do, it just moves the link on rollover.


How do I get ads and a favicon on the forums?

Link to comment
Share on other sites

If you want a border on your links in one state (say, unvisited links only), but you don't want it to appear in the other states (hovering and after it has been visited), you still need to declare a border, you just make it the same color as your background.


For example, if I wanted a maroon border for unvisited links and the other to states to look like they don't have a border, in CSS I'd do this (assuming my site background is white):


a:link { border: 1px solid #900; }

a:visited { border: 1px solid #fff; }

a:hover { border: 1px solid #fff; }


The border is technically always there, but it's "invisible" in the last two declarations since it'll match the page background color. Your text doesn't shift, because the border's always present. Hopefully that makes sense.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...