PDA

View Full Version : Change link colour


papaloi
10-12-2005, 03:18 AM
Hi Guy's thanks for the help you gave me before... :D

So here's another! I've built the site, put my external URL links in, changed the colour via page properties and in DW all appears to be fine but.....When previewed and uploaded the bloomin' things still appear in the default colour!

Here's the code... Cheers ;)

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>links</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>

<body bgcolor="#000000" background="NEWGAGMEISTERSBACKGROUND.jpg" text="#00FF00" link="#00FF00" onLoad="MM_preloadImages('brighthome.gif','brightabout.gif ','brightservices.gif','brightcontact.gif','bright samples.gif','brightlinks.gif')">
<span id="Layer1" style="position:absolute; visibility:visible; width:618px; height:115px; z-index:1; left: 76px; top: 76px;">
<div align="center">gagmeisterbanner.jpg</div>
</span>
<div align="center"></div>
<span id="Layer5" style="position:absolute; visibility:visible; width:617px; height:77px; z-index:24; left: 76px; top: 277px;">
<div align="center"></div>
</span><span id="Layer2" style="position:absolute; visibility:visible; width:102px; height:22px; z-index:18; left: 111px; top: 201px;">dullhome.gif (home.htm)</span><span id="Layer3" style="position:absolute; visibility:visible; width:98px; height:24px; z-index:19; left: 259px; top: 201px;">dullabout.gif (about.htm)</span>
<span id="Layer4" style="position:absolute; visibility:visible; width:98px; height:25px; z-index:20; left: 415px; top: 201px;">dullservices.gif (services.htm)</span>
<span id="Layer6" style="position:absolute; visibility:visible; width:101px; height:24px; z-index:21; left: 550px; top: 201px;">dullcontact.gif (contact.htm)</span>
<span id="Layer7" style="position:absolute; visibility:visible; width:98px; height:26px; z-index:22; left: 184px; top: 251px;">dullsamples.gif (samples2.htm)</span>
<span id="Layer8" style="position:absolute; visibility:visible; width:101px; height:23px; z-index:23; left: 483px; top: 251px;">dulllinks.gif (links.htm)</span><span id="Layer9" style="position:absolute; visibility:visible; width:542px; height:31px; z-index:25; left: 109px; top: 320px;">
<div align="center"><font color="#00FF00" size="2" face="Comic Sans MS">If
you feel you want to link with us, you may want to seek urgent psychiatric help.
You may also want to use the banner below.</font></div>
</span><span id="Layer10" style="position:absolute; visibility:visible; width:615px; height:115px; z-index:26; left: 77px; top: 401px;">
<div align="center">GMLinkBanner.jpg</div>
</span><span id="Layer11" style="position:absolute; visibility:visible; width:536px; height:115px; z-index:27; left: 114px; top: 551px;">
<div align="center"><font size="2" face="Comic Sans MS">www.thestage.co.uk</font> (http://www.thestage.co.uk)</div>
<p align="center"><font size="2" face="Comic Sans MS">www.bbc.co.uk/comedy (http://www.bbc.co.uk/comedy)</font></p>
<p align="center"><font size="2" face="Comic Sans MS">www.bbc.co.uk/writersroom (http://www.bbc.co.uk/writersroom)</font></p>
<p align="center"><font size="2" face="Comic Sans MS">www.chortle.co.uk (http://www.chortle.co.uk)</font>

</p>
</span> <span id="Layer12" style="position:absolute; visibility:visible; width:543px; height:18px; z-index:28; left: 108px; top: 702px;">
<div align="center">Bar0023.gif</div>
</span><span id="Layer13" style="position:absolute; visibility:visible; width:539px; height:108px; z-index:29; left: 112px; top: 729px;">
<div align="center"><font size="2" face="Comic Sans MS">www.talentcircle.co.uk (http://www.talentcircle.co.uk)
</font></div>
<p align="center"><font size="2" face="Comic Sans MS">www.bscw.co.uk (http://www.bscw.co.uk)</font></p>
<p align="center"><font size="2" face="Comic Sans MS">www.humorlinks.com (http://www.humorlinks.com)</font></p>
<p align="center"><font size="2" face="Comic Sans MS">www.eabf.org.uk (http://www.eabf.org.uk)</font>

</p>
</span><span id="Layer14" style="position:absolute; visibility:visible; width:538px; height:20px; z-index:30; left: 113px; top: 882px;">
<div align="center">Bar0023.gif</div>
</span><span id="Layer15" style="position:absolute; visibility:visible; width:541px; height:137px; z-index:31; left: 110px; top: 913px;">
<div align="center"><font size="2" face="Comic Sans MS"><a href="http://www.funny.co.uk">www.funny.co.uk
</a></font></div>
<p align="center"><font size="2" face="Comic Sans MS">www.theknowledgeonline.com (http://www.theknowledgeonline.com)</font></p>
<p align="center"><font size="2" face="Comic Sans MS">www.comedy-zone.net (http://www.comedy-zone.net)</font></p>
<p align="center"><font size="2" face="Comic Sans MS">www.grapevinejobs.com (http://www.grapevinejobs.com)</font></p>
<p align="center"></p>
</span>
</body>
</html>

Creative Insanity
10-12-2005, 08:10 AM
I honestly think that you don't need this.
style="position:absolute; visibility:visible;

face="Comic Sans MS"
Also not a good idea to have a non standard font because there is a good chance that the viewer has not got that font and their browser will use the defaults.

papaloi
10-12-2005, 08:47 AM
okay, fair comment but what about the colour change?

papaloi
10-12-2005, 09:49 AM
Its alright I'm a plum! :rolleyes: Sorted it!!

Creative Insanity
10-12-2005, 07:32 PM
So what was the problem then? Was it absolute?

papaloi
10-13-2005, 02:14 AM
Don't know really :blink:

I'm fairly new to this and I just went back and cliked a few bits and pieces and bob's your uncle! I guess in my case the old saying is true!
A little knowledge is a dangerous thing!! :D