Results 1 to 7 of 7
Related
-
Unwanted link border colors Forum: HTML Forum
Replies: 3 -
Link colors Forum: CSS Forum
Replies: 7 -
Help with text/link colors Forum: Graphics Forum
Replies: 10 -
Different :link, :visited, :hover, :active colors on some page Forum: CSS Forum
Replies: 1 -
Changing link colors in middle of page Forum: HTML Forum
Replies: 1
-
01-18-2003, 02:04 AM #1
spec link colors for a section of a page
How do I spec link colors for one small section of my page. I spec my navagation bar with different link colors? Thanks for all the help
-
01-18-2003, 04:37 AM #2
Hi there marcos.
You need to define classes for the different links and then set separate rules for them.
eg -
if you have the links in a div, give the div a class -
Code:<div class="links"> <a href="http://css.somepeople.net">CSS Tutorials</a> </div>
Code:<style type="text/css"> div.links a { color: #ccc; } </style>
If one of our members helps you, please click theicon to add to their reputation!
No support via email or private message - use the forums!
Before you ask, have you Searched?
-
01-18-2003, 10:03 AM #3
that works for me
That works for me. Thanks
-
01-24-2003, 12:28 PM #4
Hi!
I have the same problem as Marcos, I want to change the link color for just a small section of a webpage. I tested with the code example above, and it worked fine with the text, but it didn't change the border of a image-link within the small section. Anyone know a way to change the border color? (I am not allowed to edit the image)
-
01-24-2003, 01:52 PM #5
What browser and version # are you using?
Dave
-
01-26-2003, 06:08 AM #6
-
01-26-2003, 06:47 AM #7
If you mean the default image border on links, then try -
Code:<a href=etc><img src="blah" style="border-color: red;"></a>
If one of our members helps you, please click theicon to add to their reputation!
No support via email or private message - use the forums!
Before you ask, have you Searched?
[Hostripples India] - Best Canada Linux SSD VPS Server!
02-15-2019, 12:46 AM in Web Hosting Forum