Link colors different in IE
I have some text links that are a gold color, but when I
preview them in IE some are purple and some are gold. This isn't a
CSS, so I'm not sure what happened. Any ideas? Thanks!
Purple links are usually visited links, if you want them the
same colour as
links that haven't been clicked you`ll need to use CSS
setting the colour
for visited links.
Gareth
http://www.phploginsuite.co.uk/
PHP Login Suite V2 - 34 Server Behaviors to build a complete
Login system.
Similar Messages
-
How can I make a link a different color than the other links according to the current page?
Hello. I have created a navigation bar. And I would like to style the links to have the current page link a different color than the other links. For example, if all of the links have a black background, I would like to have the current page link to have a white background. The reason that I would like to style them this way is so that the visitor knows what page is being visitied.
I tried different ways but all of them did not show to make any change to the links. This is what I have so far. The links work, but all of them have the same color and background. When on the home page, I would like to have the home page link to have a white background with black letters. I would appreciate your advice.
<head>
ul {
list-style-type: none;
text-align: right;
padding-top: 10px;
padding-bottom: 6px;
padding-right: 10px;
li {
display: inline;
a:link {
color: #FFF;
background-color: #000;
text-align: center;
padding-top: 8px;
padding-right: 8px;
padding-bottom: 8px;
padding-left: 7px;
text-decoration: none;
a:visited {
color: #FFF;
background-color: #000;
text-decoration: none;
a:hover {
color: #000;
background-color: #FFF;
text-decoration: none;
a:active {
color: #FFF;
background-color: #000;
text-decoration: none;
a.menu:link {
color: #000
background-color: #FFF;
text-decoration: none;
</head>
<body>
<div class="navigation">
<ul>
<li class="menu"><a href="index.html" target="_self">HOME</a></li>
</body>
Thank you very much.http://www.itworld.com/development/351097/setting-active-menu-item-based-current-url-jquer y
-
Trying to get spry menu to show visited links with different color
I know there is Javascript involved I was just wondering if Anyone has sent it up yet. as a downloadable@ file
Visited links need not be JavaScript driven. They are primarily CSS driven.
/* unvisited link */
a:link {
color: #FF0000;
/* visited link */
a:visited {
color: #00FF00;
/* mouse over link */
a:hover {
color: #FF00FF;
/* selected link */
a:active,
a:focus {
color: #0000FF;
FYI: Spry is dead. Adobe abandoned it in late 2012.
Nancy O. -
How do you get 2 different link colors on the same page in DW CS4
Hi
After creating a white link called “white link test” in a blue background, I need to create a blue link called “blue link test” in a white background. How do I accomplish this task In DW CS4? I would greatly appreciate any feedback. Thank you
<style type="text/css">
<!--
#apDiv1 {
position:absolute;
width:117px;
height:47px;
z-index:1;
background-color: #0000FF;
left: 6px;
top: 103px;
a:link {
color: #FFF;
-->
</style>
</head>
<body>
<div id="apDiv1"><a href="file:///C|/wamp/www/laserzone/public_html/add_maintenance.php">white link test</a></div>
<p> </p>
<p>blue link test</p>
</body>
</html>Nothing has changed. A stylesheet is still a stylesheet. And pseudo-classes are still pseudo-classes.
You need to define a set of link states (link, visted, hover, active) for each ID or class name required.
Let's say you want to have red links in your #header and white links in your #footer.
CSS:
#header a {text-decoration:none}
#header a:link {color:red} /**unvisited**/
#header a:visited {color:gray} /**visited**/
#header a:hover, /**on mouse over**/
#header a:active, /**on click**/
#header a:focus {text-decoration:underline}
#footer a {text-decoration:none}
#footer a:link {color:white}
#footer a:visited {color:yellow}
#footer a:hover,
#footer a:active,
#footer a:focus {text-decoration:underline}
HTML:
<div id="header">
<a href="some-link.html">Link in the header</a> |
<a href="some-link.html">Link in the header</a> |
<a href="some-link.html">Link in the header</a> |
</div>
<div id="footer">
<a href="some-link.html">Footer link</a> |
<a href="some-link.html">Footer link</a> |
<a href="some-link.html">Footer link</a> |
</div>
For more on CSS pseudo classes:
http://www.w3schools.com/css/css_pseudo_classes.asp
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb
http://alt-web.blogspot.com -
On some sites the visited link color does not change. I have checked all settings and they have not changed. I can make the problem change by unchecking the "allow pages to choose thier own colors" box , but the some pages do not display correctly. Things worked fine up to a few weeks ago. I feel it may be a glitch in firefox 29.
Windows 7 home premium SP 1
Firefox 29Can you try to start Firefox in Safe Mode to see if Firefox works properly with no error? You can start Firefox in Safe Mode below:
*'''Windows/Mac''': Go to Help > Restart with add-ons disabled
*'''Linux''': Run ''firefox -safe-mode'' in the Terminal/Konsole
If Firefox opens up fine with no problems, it's probably one of your extensions that's causing the issue. You can re-enable your add-ons one by one until you find the one that causes the issue upon being re-enabled.
You can try these steps in case of issues with web pages:
You can reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
*Hold down the Shift key and left-click the Reload button
*Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
*Press "Command + Shift + R" (Mac)
Clear the cache and cookies only from websites that cause problems.
"Clear the Cache":
*[[Image:new fx menu]] > Options/Preferences> Advanced > Network > Cached Web Content: "Clear Now"
"Remove Cookies" from sites causing problems:
*[[Image:new fx menu]] > Options/Preferences > Privacy > "Use custom settings for history" > Cookies: "Show Cookies" -
Link color won't use 'default'
Hi,
I've used a DW template and built my pages from there. Several links on all pages in different colors. When designing, the proper color chosen, does show. When I go to Page Properties to make the link categories (rollover, viewed, etc.) the default color, they are turning blueish purple depending on the browser.
Isn't 'default' supposed to keep the programmed color?
I want to keep the link colors I programmed, with only a rollover link showing. What am I doing wrong?
Thanks so much!
Michellemichelledv wrote:
Sorry to bother you again Osgood. I think I'm putting the info you shared, in the wrong spot. Can you tell me exactly where I add the code? I have mixed this around about 6 times since your reply!
Thanks!
It's difficult to help if you don't provide a link to the problem page.
Basically you can sryle any link on the page you want by simply adding some css to your page either in a linked css stylesheet or if you are not using a linked css stylesheet you can embed the css in the head section of the page.
An embebbed style sheet is as below: You insert the code from <style.............to..........</style> in your pages code directly before the closing </head> tag (see below).
<style type="text/css">
#content a {
color: #3C9;
#content a:hover {
color: #F90;
</style>
</head>
The above css says: Make a link this color (#3C9) in a container with the 'id' of 'content' and make the hover this color (#F90).
Typically your html code would look like:
<div id="content">
<a href="about_us.html">About Us</a>
<a href="contact.html">Contact</a>
</div> -
How i suppress the default link color?
Hi,
<p>
i have a little sql report, and i have coded the color for a column value in a function call. It looks like :
<p>
select format_html(col_x,5)
from mytable;
<p>
This function give me the following result:
<p>
---> select format_html(col_x,5) from syn
where rownum<10;
1<br>
2<br>
3<br>
4<br>
5<br>
<_font color="#dc143c">6</_font><br>
<_font color="#dc143c">7</_font><br>
<_font color="#dc143c">8</_font><br>
<_font color="#dc143c">9</_font><br>
<p>
Now all values > 5 have a different color. And this works fine.
<p>
But now i will link this column to an other page. And than the column has the default color for the link(wich is blue). How i can change this behavior, so the values have the color from the function and the links are only underlined?
<p>
Thanks for your help,
MaikHi Maik,
You can do something like the following:
In the region's Region Header for the report, add in:
<style>
.customlink:hover {color:red}
.customlink:active {color:yellow}
.customlink:link {color:purple}
.customlink:visited {color:green}
</style>
You can change "customlink" to whatever name you like and, obviously, pick your own colours.
Then in your SQL statement, add in a field that returns a stylename:
select field1,
field2,
CASE WHEN (test) THEN 'customlink' ELSE '' END STYLENAME,
etc
from etc
Then, in the link, in "Link Attributes", add in classname='#STYLENAME#'
Regards
Andy -
If you want to make multiple links in different colors, how
do you do that? I don't see anything in the link preferences. There
must be a way.On Fri, 13 Jul 2007 03:25:49 +0000 (UTC), "PeacefulHarry"
<[email protected]> wrote:
>If you want to make multiple links in different colors,
how do you do that? I don't see anything in the link preferences.
There must be a way.
<style>
.navOne a:link { color:blue; }
.navOne a:visited { color:purple; }
.navOne a:hover { color:red; }
.navOne a:active { color:navy; }
.navTwo a:link { color:green; }
.navTwo a:visited { color:blue; }
.navTwo a:hover { color:gray; }
.navTwo a:active { color:purple; }
</style>
</head>
<body>
<ul class="navOne">
<li><a href="one.htm">One</a></li>
<li><a href="two.htm">Two</a></li>
<li><a
href="three.htm">Three</a></li>
</ul>
<p>Ullamco laboris nisi excepteur sint occaecat eu
fugiat nulla
pariatur. Sed do eiusmod
</p>
<ul class="navTwo">
<li><a href="six.htm">Six</a></li>
<li><a
href="seven.htm">Seven</a></li>
<li><a
href="eight.htm">Eight</a></li>
</ul>
~Malcolm N....
~ -
Is there any way to prevent visited links from changing into a different color rather than returning to the original link color? (I know how to do this in HTML, but I can't find any way to do it in iWeb.)
Thanks in advance for your help.The best way to get an answer is to post a link to the website.
Can you provide one?
As a guess:
Links have five "states"
link (blue by default in most browsers)
visited (purple by default in most browsers)
hover
active
focus
If no rules are defined for one or more of the states then the browsers default color applies.
I'm guessing you've defined a CSS rule for a:link but nothing for a:visited. -
Link Color not changing for Visited Pages - How do I set the Color?
In earlier versions of Safari, the user could select the color used to display links that have already been visited. I can't find that option in Preferences anymore. Some visited links do show a different color, some don't. Is it just random? How do I set the color in Safari 4.0.4 and activate the behavior?
HI,
I think you change visited pages link colors using Google preferences.
http://www.googleguide.com/preferences.html
Carolyn -
In Spry menu, can I make the dropdown colors different from the main one?
In this menu at the link, I would like to keep "who we are" in the color it is, but make its submenu colors different. I can't see to find in the CSS where to do that without changing both the main and sub menu colors.
HomepageBased on the default Spry menu code you are correct that it is all or nothing. The only alternative you could do is create your own custom CSS class to use on all sub-menu items on the drop-down to override the colors. This declaration would need to be after the Spry submenu one that you have found because the browsers will read CSS from start to finish so the later declarations will override the earlier ones.
-
The link colors I set using the Inspector appear as I want them in iWeb, but aren't being changed on published web pages. I read in this forum:
... The thing with hyperlink colors is to make sure that the "Normal" and "Visited" colors and U settings are the same for each link ...
BUT surely it must be possible (and is certainly desirable) to have different 'Normal' and 'Visited' colors?
How can I do this, and make my chosen colors appear on published pages?
ThanksWelcome to the Apple Discussions. You can have any combination of normal and visited colors for each text based hyperlink on your page. You are referring to text based hyperlinks, right?
What's the URL of your site so we can examine it first hand?
OT -
I set up my page properties to color links a certain way. I
have links in the text that I'd like to present as a different \
color. Should I clear the page property link colors and handle all
the links as type styles?Pseudo-classes and container styles are what you need - here
are some
tutorials.
http://www.thepattysite.com/linkstyles1.cfm
http://www.projectseven.com/tutorials/pseudoclasses/index.htm
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"pooklet" <[email protected]> wrote in
message
news:fjpfdf$rm5$[email protected]..
>I set up my page properties to color links a certain way.
I have links in
>the
> text that I'd like to present as a different \ color.
Should I clear the
> page
> property link colors and handle all the links as type
styles?
>
>
> -
Varying Link Colors On Same Page
Is it possible to make text links be of two different colors within the same web page in GoLive 6? In "Page Properties" I can make all text links any color I want, but I can't seem to vary only one link color without changing the color of all text links on that same page. Please help.
The page properties sets the HTML attribute for the link colors, which applies to the whole page. For more control, you'd need to use CSS to set the colors of links within a specific div/table/span, or links with a certain class assigned.
http://www.projectseven.com/tutorials/css/pseudoclasses/index.htm -
Some images show link color behind them...
I added three logos at the bottom of this page today:
http://canyoncrestfoundation.org/Gala.html
Those bottom three show up with a band of color around them,
which is the link color. All the logos there, except the Royal
Crest one, are links, but none of the others have the band of
color. The only thing I know of that I did differently, is that I
added the style info for the link color for the whole page after I
did the first logos a few days ago. What is causing this, and how
do I fix it? Thanks, PaulaSelect the img tag and set the Border to 0 in the Property
Inspector.
Nancy Gill
Adobe Community Expert
Author: Dreamweaver 8 e-book for the DMX Zone
Co-Author: Dreamweaver MX: Instant Troubleshooter (August,
2003)
Technical Editor: Dreamweaver CS3: The Missing Manual,
DMX 2004: The Complete Reference, DMX 2004: A Beginner's
Guide
Mastering Macromedia Contribute
Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP
Web Development
"Sootica" <[email protected]> wrote in
message
news:fnatik$1u7$[email protected]..
>I added three logos at the bottom of this page today:
>
http://canyoncrestfoundation.org/Gala.html
> Those bottom three show up with a band of color around
them, which is the
> link
> color. All the logos there, except the Royal Crest one,
are links, but
> none of
> the others have the band of color. The only thing I know
of that I did
> differently, is that I added the style info for the link
color for the
> whole
> page after I did the first logos a few days ago. What is
causing this, and
> how
> do I fix it? Thanks, Paula
>
Maybe you are looking for
-
Jabber Client CallerId displays wrong name
Hi, I have a problem with the wrong name displaying in Jabber calls. This only occurs when John calls from his Jabber Client. There is always the CallerId of Sam showing up. Checked AD, Outlook contacts, CUCM & Webex configuration and found no errors
-
Please help with my problem. I need to start recording!!
-
"All Photos" album order mixed up after restore (device change)
I recently had to back up and restore an iPhone 6 to a new iPhone 6. I did a full backup to iTunes, then restored to the new iPhone 6 from that backup. Everything was restored, including all photos... (I have iCloud Photo Library turned on)... EXCEPT
-
Using custom tables in jdeveloper
Hi, I've created a custom table using toad. I created the table in applsys and created a synonym to apps. I've also grant all the priveledges to apps as well. However, when I create a query OA to query a standard table eg. PER_ALL_PEOPLE_F, I have no
-
How do I get rid of "Selected Item" window?
Just updated iTunes to version 7.5 and I notice a window below the listings of my playlists (left side of screen), thus reducing the number of playlists that I can see. I would rather that the "now playing/selected item" window not be there so I can