28, May 2012

Coloring Link Question - webmaster forum

 
Webdigity webmaster forums
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Design and Layout  >  Web Page Design  >  HTML & XHTML (Moderator: Meth0d)
Topic: Coloring Link Question
« previous next »
Pages: [1] Print
Instabuck - The easy way to sell digital products online

Author Topic: Coloring Link Question  (Read 4097 times)
Der Führer
I feel pretty...
***
Gender: Male
Posts: 184
481 credits
Members referred : 0



« on: May 08, 2006, 12:44:30 am »

I'm am trying to color my links in the <div> style. The script I'm using is this:

Code:
<div style="text-align:center;border: 1px solid #A9B8C2; color: #000000 !important;background-color: #C0C9D2;font-size: 11px;-moz-border-radius: 10px;">

I'm not sure how to apply link colors in <div> style's so could someone help me with this?

Thanks
« Last Edit: May 08, 2006, 12:46:30 am by Silent77 »
Community Supporter ?
Bill Gates is my home boy
*****
Gender: Male
Posts: 619
5660 credits
Members referred : 0


www.dg9.org


« Reply #1 on: May 08, 2006, 02:22:09 am »

<a href="link here" style="color:#f03420;">

something like that, you can also assign colors for link active and hover on your css...

http://www.dg9.org , Just Visit...
Partners:
http://www.resume-fix.com , Free Resumes

Last blog : Archos: Where are you?
Der Führer
I feel pretty...
***
Gender: Male
Posts: 184
481 credits
Members referred : 0



« Reply #2 on: May 08, 2006, 02:34:34 am »

Yeah, I tried CSS and it errors the file becuase of the way the script is set up. I'll have to try the style on the <a href> style

thanks
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #3 on: May 08, 2006, 08:16:30 am »

Try this:

in your header:
Code:
div.someName a {
  color:red;
}

and in your html:
Code:
<div class="someName"><a href="http://www.webdigity.com">Webmaster forums</a></div>

aka J Love
Moderator
Community Supporter ?
Bill Gates is my home boy
*****
Gender: Male
Posts: 886
1148 credits
Members referred : 4



« Reply #4 on: May 10, 2006, 02:33:01 am »

Try this:

in your header:
Code:
div.someName a {
color:red;
}

and in your html:
Code:
<div class="someName"><a href="http://www.webdigity.com">Webmaster forums</a></div>

this is the correct way to do it by the manual,i recommend doing it this way for valid html


Last blog : phpHaze 1.59.1 in Development
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #5 on: May 10, 2006, 08:11:49 am »



this is the correct way to do it by the manual,i recommend doing it this way for valid html

Is there a html/CSS manual?

Community Supporter ?
Bill Gates is my home boy
*****
Gender: Male
Posts: 619
5660 credits
Members referred : 0


www.dg9.org


« Reply #6 on: Jun 06, 2006, 08:25:50 am »

go to w3c.org ... I think all gudelines about htm and css are there...

http://www.dg9.org , Just Visit...
Partners:
http://www.resume-fix.com , Free Resumes

Last blog : Archos: Where are you?
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #7 on: Jun 06, 2006, 09:14:48 am »

go to w3c.org ... I think all gudelines about htm and css are there...
I was joking...

Community Supporter ?
Bill Gates is my home boy
*****
Gender: Male
Posts: 619
5660 credits
Members referred : 0


www.dg9.org


« Reply #8 on: Jun 07, 2006, 07:28:41 am »

Quote
I was joking...
for the benefit of those who are not... LOL!
« Last Edit: Jun 07, 2006, 11:24:53 am by designer »

http://www.dg9.org , Just Visit...
Partners:
http://www.resume-fix.com , Free Resumes

Last blog : Archos: Where are you?
aka J Love
Moderator
Community Supporter ?
Bill Gates is my home boy
*****
Gender: Male
Posts: 886
1148 credits
Members referred : 4



« Reply #9 on: Sep 14, 2006, 06:58:06 pm »

go to w3c.org ... I think all gudelines about htm and css are there...
I was joking...

lol i think Olaf is pointing out html and css is to simple to require a manual


Last blog : phpHaze 1.59.1 in Development
Global Moderator
Internet Junkie
*****
Gender: Male
Posts: 1807
9006 credits
Members referred : 6



« Reply #10 on: Sep 14, 2006, 07:13:40 pm »

We all started out where we didn't know anything about CSS...

Additionaly: instead of just the 'a' in
Code:
a {
  color:red;
}

you can use a:link, a:visited, a:hover and a:active letting you control how the link will look when: not visited, visited, hovering your mouse over it and clicking it.



Last blog : Are You Stumbling Yet?
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=2440
Tags : css html w3c Bookmark this thread : Digg Del.icio.us Dzone more....

Pages: [1] Print 
Webdigity Webmaster Forums  >  Design and Layout  >  Web Page Design  >  HTML & XHTML (Moderator: Meth0d)
Topic: Coloring Link Question
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 02:31:54 pm





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!






Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2012 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.