What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Html code help :S

Pages: (2): « First [ 1 ] 2 » Last »
Html code help :S
Author: Message:
John Anderton
Elite Member
*****

Avatar

Posts: 3908
Reputation: 80
37 / Male / Flag
Joined: Nov 2004
Status: Away
O.P. Html code help :S
Whats the html code for defining the colour for a hyperlink
[list=1]
[*]Before clicking
[*]After clicking it
[*]and when the mouse is hovering on it
[/list]

I am making a site by using notepad and the site uses php scripts and css. :)
If all goes well it should be done in a few hours :) But i get stuck on such small points and its irritating cause i cant go forward :P
[

KarunAB.com
]

[img]http://gamercards.exophase.com/459422.png[
/img]
04-26-2005 09:36 AM
Profile E-Mail PM Web Find Quote Report
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
36 / Male / Flag
Joined: Mar 2004
RE: Html code help :S
code:
body a:link{
color: black;
}
body a:visited{
color: black;
}
body a:active {
    color: black;
}

add that to your css :P


edit:
dont use the html way add a class if you need to single out links like

code:
class a:link{
color:blue;
}


This post was edited on 04-26-2005 at 09:48 AM by -dt-.
[Image: dt2.0v2.png]      Happy Birthday, WDZ
04-26-2005 09:47 AM
Profile PM Web Find Quote Report
John Anderton
Elite Member
*****

Avatar

Posts: 3908
Reputation: 80
37 / Male / Flag
Joined: Nov 2004
Status: Away
O.P. RE: Html code help :S
Isnt there a hover to change colour way :P that looks cool :P
[

KarunAB.com
]

[img]http://gamercards.exophase.com/459422.png[
/img]
04-26-2005 09:56 AM
Profile E-Mail PM Web Find Quote Report
Dempsey
Scripting Contest Winner
*****

Avatar
http://AdamDempsey.net

Posts: 2395
Reputation: 53
38 / Male / Flag
Joined: Jul 2003
RE: Html code help :S
code:
a:hover{
color: red;
}

This post was edited on 04-26-2005 at 11:13 AM by Dempsey.
SoundPacks   -   Scripts   -   Skins

that's not a bug, thats an unexpected feature
04-26-2005 11:13 AM
Profile E-Mail PM Web Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: Html code help :S
quote:
Originally posted by -dt-
dont use the html way add a class if you need to single out links like

code:
class a:link{
color:blue;
}


Don't you mean
code:
a.class:link{
color:blue;
}

?
[Image: spartaafk.png]
04-26-2005 12:43 PM
Profile PM Web Find Quote Report
Eljay
Elite Member
*****

Avatar
:O

Posts: 2949
Reputation: 77
– / Male / –
Joined: May 2004
RE: Html code help :S
quote:
Originally posted by raceprouk
quote:
Originally posted by -dt-
dont use the html way add a class if you need to single out links like

code:
class a:link{
color:blue;
}


Don't you mean
code:
a.class:link{
color:blue;
}

?

yeh thats right

the first way is like if you need a link inside a table or something

e.g table a:link makes all links inside tables the specified color
04-26-2005 12:51 PM
Profile PM Find Quote Report
Sunshine
Elite Member
*****

Avatar

Posts: 5141
Reputation: 122
– / Female / Flag
Joined: Mar 2004
Status: Away
RE: Html code help :S
All you need to know: http://www.w3schools.com ;)
It's where i search first :chrongue:

This post was edited on 04-26-2005 at 12:57 PM by Sunshine.
[Image: 25dr3o9]
04-26-2005 12:54 PM
Profile E-Mail PM Web Find Quote Report
John Anderton
Elite Member
*****

Avatar

Posts: 3908
Reputation: 80
37 / Male / Flag
Joined: Nov 2004
Status: Away
O.P. RE: Html code help :S
quote:
Originally posted by Sunshine
It's where i search first
Thats where i search too :cheesy: I got it off google and well i remember that u made ur personal site with its help too :D
quote:
Originally posted by Lee Jeffery
yeh thats right

the first way is like if you need a link inside a table or something

e.g table a:link makes all links inside tables the specified color
Thats what i was wondering too .... cause i wanted to use exactly that part. Cause in different css boxes the background is differnt and black wont work in the content box.
Btw .... i cant still get the image thumbunail maker to work :-/ Thats where i am stuck. So if anyone who can help me is listening then im on msn. Help me there .... i'll show u exactly what i have done and what i need to do :)
[

KarunAB.com
]

[img]http://gamercards.exophase.com/459422.png[
/img]
04-26-2005 01:22 PM
Profile E-Mail PM Web Find Quote Report
VLenin
New Member
*


Posts: 10
Joined: Apr 2005
RE: Html code help :S
You should not use classes if that's not needed. Use a paragraph instead, like this

<p id="localhost">Hi i'm <a href="localhost">localhost</a></p>

Now your css would be like

p#localhost a:link, p#localhost a:visited
{
  text-decoration: none;
  color: #000;
}
p#localhost a:hover
{
  text-decoration: underline;
}
04-26-2005 01:34 PM
Profile E-Mail PM Find Quote Report
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
Joined: Mar 2003
RE: Html code help :S
or html like he asked :P

<body alink="#FFFFFF" vlink="#000000">
[Image: 1-0.png]
             
04-26-2005 03:50 PM
Profile PM Web Find Quote Report
Pages: (2): « First [ 1 ] 2 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On