Quick HTML question...

Soldato
Joined
6 Jan 2006
Posts
3,423
Location
Newcastle upon Tyne
How do you link to the root of a website? ie www.web.com/index.html

I always thought it was ../ but that seems to only take it down 2 directories? ./ takes it down one directory and 3 doesnt do anything.

Thanks
 
Guess I must have just got lucky in the past with only 2 levels as Ive always used ../

Thanks for the clarification
 
Another quick question while Im at it

Ive got the following in my css file

Code:
a:link { 
	color: #000000;
	}
a:visited { 
	color: #000000;
	}

So all hyperlnks in my site show as black but how do I set a 2nd style for some links which are on a black background?

Can I just add them to the style for that specific text (below)?

Code:
.style2 {font-family:Tahoma;
		color:#FFFFFF;
		font-size: 29px
		}
 
Back
Top Bottom