11-19-2003
|
#1 (permalink)
|
|
Registered User
Join Date: Nov 2003
Location: Hiding in a ditch with a stolen laptop, somewhere in the South of England.
Posts: 66
|
Why is this happening?
I've nearly finished a website I'm making for a friend, and I'm having great trouble making the hyperlinks conform to the site colour scheme. I've used inline CSS styles, but IE insists that it wants to use purple for the followed hyperlink colour. What am I doing wrong? Or do you need more information?
The current site is http://www.garjen.co.uk , in case you wondered.
__________________
De Profundis, Sed Non Satatia.
|
|
|
11-19-2003
|
#2 (permalink)
|
|
Registered User
Join Date: Oct 2003
Location: England
Posts: 65
|
I don't quite see how you're using CSS in it - either link to an external css file with the following code in it:
a:visited {color:#your colour}
or add it in the <head> section of your pages with the following code:
<style type="text/css">
a:visited {color:#your colour}
</style>
Hope this helps
__________________
|
|
|
11-20-2003
|
#3 (permalink)
|
|
Local Biorust Beast
Join Date: Oct 2003
Location: San Diego, CA, USA
Posts: 2,253
|
Yes, you may have missed adding a color for the visited links, that is all i can see that would cause that behavior
|
|
|
11-21-2003
|
#4 (permalink)
|
|
Registered User
Join Date: Nov 2003
Location: Hiding in a ditch with a stolen laptop, somewhere in the South of England.
Posts: 66
|
Sorry - I should have made this clear in my first post. I'm making a completely new website (V3), from scratch, which I'm then adding the information from the current Garjen into. I only included the link for the benefit of the curious.
Here's a snippet of the new (V3) CSS code:
......<!-- End of Preload Script -->
</HEAD>
<STYLE type="text/css">
BODY {
scrollbar-face-color:#606060;
scrollbar-highlight-color:#707070;
scrollbar-3dlight-color:#606060;
scrollbar-darkshadow-color:#303030;
scrollbar-shadow-color:#505050;
scrollbar-arrow-color:#A0A0A0;
scrollbar-track-color:#606060;
}
<!-- This bit controls how hyperlinks look, and I think I've got it about right for the grey style, but feel free to play around -->
a:link {
color : #BBBBBB;
text-decoration : none;
}
a:visited {
color : #999999;
text-decoration : none;
font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
font-weight: normal;
}
a:active {
color : #0000F0;
text-decoration : none;
}
a:hover {
color :#0000F0;
text-decoration : none;
}
</STYLE>
<BODY.....
I hope that makes the issue clearer.
I'm sure it's a simple HTML glitch, but I can't find it anywhere!
Many thanks.
__________________
De Profundis, Sed Non Satatia.
|
|
|
11-22-2003
|
#5 (permalink)
|
|
Local Biorust Beast
Join Date: Oct 2003
Location: San Diego, CA, USA
Posts: 2,253
|
I looked at the code, however I am not seeing anything that would cause the problem, do you have any css that is defined after this peice of code? It may be overwritten if so?
|
|
|
11-28-2003
|
#6 (permalink)
|
|
Registered User
Join Date: Nov 2003
Location: Hiding in a ditch with a stolen laptop, somewhere in the South of England.
Posts: 66
|
No there wasn't - but I've solved it now. I enclosed each of the three CSS parts (scrollbar, hyperlink and I've added one to change the colour of the textboxes.) in separate <style> tags, which has solved the problem.
Annoyingly, the textbox code doesn't effect a text area (if you know what I mean) below it. Do I need to add some different CSS code to fix it, or is this another IE glitch?
On two pages in the site, I've tried to implement a ranking system for the Lemmings level, with stars indicating the difficulty of the levelpack. I've created my own custom stars, 20px by 20px, in blue and orange, and an animated flashing star (all gifs). The stars are put side by side, five in a row.
All sounds fine, I hear you say. The problem is, IE 6 only displays one of the three images at any time, and the image not found symbol appears where the picture should be. If you right-click it, and click show picture, it appears! The star it does choose to show is completely random. I've even added the stars to the preload script to try and fix it, but that doesn't help in the slightest.
So, why is _that_ happening?
__________________
De Profundis, Sed Non Satatia.
|
|
|
12-05-2003
|
#7 (permalink)
|
|
Registered User
Join Date: Nov 2003
Location: Hiding in a ditch with a stolen laptop, somewhere in the South of England.
Posts: 66
|
Could somebody please reply?
__________________
De Profundis, Sed Non Satatia.
|
|
|
12-05-2003
|
#8 (permalink)
|
|
Registered User
Join Date: Oct 2003
Location: England
Posts: 65
|
The textarea problem is simply a case of using "textarea" in your css along with "input", e.g.
input, textarea {background:#FFFFFF; border:solid 1px #CCCCCC}
I've experienced similar problems with images, I think it just happens, stuff on my site and others does it completely at random, it only ever seems to be really small filesize images tho, it's as if it loads the code too quickly and forgets about it, not sure how to fix it though, sorry
__________________
|
|
|
12-08-2003
|
#9 (permalink)
|
|
Registered User
Join Date: Nov 2003
Location: Hiding in a ditch with a stolen laptop, somewhere in the South of England.
Posts: 66
|
Thanks - shame about the image glitch though...
One last thing (sorry, but this is my first proper website)... Are there any ways to boost a website's search engine rank? Thank you all.
__________________
De Profundis, Sed Non Satatia.
|
|
|
12-08-2003
|
#10 (permalink)
|
|
Registered User
Join Date: Oct 2003
Location: England
Posts: 65
|
The best way of improving your rankings is to get other popular sites to link to yours - also have relevant content to your keywords, and the title is probably the most important part of your site to a search engine
__________________
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +1. The time now is 04:44 PM. Content Relevant URLs by vBSEO 3.2.0
|