HTML tip needed for url links (aesthetic)

Want to promote your fantasy football website, here's the place.

Moderator: TFF Mods

Post Reply
User avatar
Joemanji
Power Gamer
Posts: 9508
Joined: Sat Jul 05, 2003 3:08 pm
Location: ECBBL, London, England

HTML tip needed for url links (aesthetic)

Post by Joemanji »

Hi. I am playing around with HTML at the moment, and would like my links to appear in the same way they do in TBB posts. They are not underlined until you put your cursor over them, and then they go all underlined. :D How would you produce this effect with HTML? I have tried viewing the source, but in is like trying to find a needle in a haystack (stylesheets have been used).

The kind of links I am talking about look this one (for TBB).

Cheers
Joe

Reason: ''
*This post may have been made without the use of a hat.
absent1
Ex-Mega Star, now just a Super Star
Ex-Mega Star, now just a Super Star
Posts: 1540
Joined: Tue Sep 07, 2004 8:44 pm
Location: Madison, WI

Post by absent1 »

tusk and darkson both tried to explain to me how to show a link under a different name on other sites for like a month, they finaly gave up and said "just click edit on this post and look at it" (a mod edited my post to show me) so i'd ask either darkson or majortusk, i think either could tell you, or i'm sure someone will wander in and say something

(can anyone tell i have nothing to do at work today :lol: )

Reason: ''
living up to the name
User avatar
DoubleSkulls
Da Admin
Posts: 8219
Joined: Wed May 08, 2002 12:55 pm
Location: Back in the UK
Contact:

Post by DoubleSkulls »

In the CSS do something like

A { text-decoration: none;}
A:hover { text-decoration: underline; }

(that might be a period rather than colon).

You could always look on google :D

Reason: ''
Ian 'Double Skulls' Williams
User avatar
Joemanji
Power Gamer
Posts: 9508
Joined: Sat Jul 05, 2003 3:08 pm
Location: ECBBL, London, England

Post by Joemanji »

Cheers. :D

I have found searching on Google for very specific little bits of HTML code can be frustrating. Tutorials tend to focus more on wide sweeping, broad topics. Asking here is gonna be quicker than searching through a load of 10 page tutorials. Plus, I am lazy! :lol: :wink:

Reason: ''
*This post may have been made without the use of a hat.
User avatar
Evil Git
Hoomin's Deliverer
Posts: 3017
Joined: Sun Sep 15, 2002 2:01 pm
Location: boarding the last train to chumpsville
Contact:

Post by Evil Git »

doubleskulls is right there it is a colon rather than a full stop. you can also change the colours on the links and size. when i get time i'll show you what i use for most of my websites.

Reason: ''
http://www.createforum.com/teamscotlandbb
martynq
Super Star
Super Star
Posts: 1251
Joined: Thu May 02, 2002 11:21 am
Location: Cupar, Fife, Scotland

Post by martynq »

My css file for my work page has the following in it:

Code: Select all

a:link {text-decoration: none;}
a:visited {text-decoration: none;}
a:hover {text-decoration: underline;}
This seems to do what you describe: http://www-groups.mcs.st-andrews.ac.uk/~martyn/ for those that can face it!

Martyn

Reason: ''
Dark Elf Blitzer 8/3/4/8 Block, Dodge, MA+1, Shadowing, Side Step, Tackle
User avatar
Evil Git
Hoomin's Deliverer
Posts: 3017
Joined: Sun Sep 15, 2002 2:01 pm
Location: boarding the last train to chumpsville
Contact:

Post by Evil Git »

Code: Select all

<style type="text/css">

body {
background: #FFFFFF;
color: #000000;
font-family: verdana, tahoma, arial;
font-size: 9pt;
top margin: 0px;
left margin: 0px;
}

a:link {
font-family: comic sans ms, cooper black;
font-size: 9pt;
text-decoration: none;
color: #990000;
}

a:visited {
font-family: comic sans ms, cooper black;
font-size: 9pt;
text-decoration: none;
color: #990000;
}

a:hover {
font-family: comic sans ms, cooper black;
font-size: 9pt;
text-decoration: underline;
color: #ff0000;
}

</style>
this is something i've used. basically you can change other attributes in there as well like the curser when you hover over a link or different size so that it's bigger when you hover over it, things like that.

Reason: ''
http://www.createforum.com/teamscotlandbb
BadMrMojo
Emerging Star
Emerging Star
Posts: 390
Joined: Fri Dec 20, 2002 8:57 pm
Location: Boston, Mass.
Contact:

Post by BadMrMojo »

Evil Git wrote:this is something i've used. basically you can change other attributes in there as well like the curser when you hover over a link or different size so that it's bigger when you hover over it, things like that.
Not to harsh on evil git, but as a counterpoint...

I personally hate it when links change sizes on hover and the whole paragraph has to reflow. Drives me bonkers.

I really like a relatively nice background color change, however. Looks pretty sharp, so long as it's not too gaudy.

There's just a gazillion cool little things you can do with CSS. Well worth learning, as you'll end up saving yourself a whole lot of time if you do any amount of coding and updating.

Reason: ''
User avatar
Joemanji
Power Gamer
Posts: 9508
Joined: Sat Jul 05, 2003 3:08 pm
Location: ECBBL, London, England

Post by Joemanji »

Thanks all. :D

Reason: ''
*This post may have been made without the use of a hat.
User avatar
Darkson
Da Spammer
Posts: 24047
Joined: Mon Aug 12, 2002 9:04 pm
Location: The frozen ruins of Felstad
Contact:

Post by Darkson »

And as opposed to what absent said, I wouldn't have the foggiest! I can make links on the variuos forums, but that's only because I spam..[cough]...post so much I've learnt how to do it.

Building a website? :o Well, yeah, I want to, but...

Reason: ''
Currently an ex-Blood Bowl coach, most likely to be found dying to Armoured Skeletons in the frozen ruins of Felstad, or bleeding into the arena sands of Rome or burning rubber for Mars' entertainment.
User avatar
Evil Git
Hoomin's Deliverer
Posts: 3017
Joined: Sun Sep 15, 2002 2:01 pm
Location: boarding the last train to chumpsville
Contact:

Post by Evil Git »

badmrmojo

i hate that too, but well some people somewhere probably like it.

darkson

have you tried the tutorial things on geocities to get you started. there all you do is pick what type of background you want, add the content and it does it all for you. alternatively you could always have a word and i can see what i can get done.

Reason: ''
http://www.createforum.com/teamscotlandbb
User avatar
Darkson
Da Spammer
Posts: 24047
Joined: Mon Aug 12, 2002 9:04 pm
Location: The frozen ruins of Felstad
Contact:

Post by Darkson »

Cheers for the offer, but firstly I need some content, then a webspace, then the willpower! :wink: :lol:

Reason: ''
Currently an ex-Blood Bowl coach, most likely to be found dying to Armoured Skeletons in the frozen ruins of Felstad, or bleeding into the arena sands of Rome or burning rubber for Mars' entertainment.
absent1
Ex-Mega Star, now just a Super Star
Ex-Mega Star, now just a Super Star
Posts: 1540
Joined: Tue Sep 07, 2004 8:44 pm
Location: Madison, WI

Post by absent1 »

i thought he was just talking about making links appear a certain way, sorry darkson, but if you pm majortusk he can tell you.

i can't even make the links turn up the way i want them to :oops:

Reason: ''
living up to the name
Post Reply