Jump to content


problem view link styles in css


2 replies to this topic

#1 zetsumei

    Young Padawan

  • Publishing Betazoids
  • Pip
  • 269 posts
  • Gender:Male
  • Location:127.0.0.1

Posted 12 August 2006 - 09:06 PM

i uploaded my css and index files to my server and when i go to the site my link styles arent what they should be...all my other styles are fine...heres my css file i used, and the problem is with the link styles...:P

index file
<html>
<head>
 <title>########3</title>
 <link rel="stylesheet" href="axsu.css" type="text/css" />
</head>

css file
a.nav {
	text-decoration: none;
	color: #ffffff;
	font-family: verdana;
	font-size: 10px;
}
a.nav:hover {
	text-decoration: none;
	color: #005c90;
	font-family: verdana;
	font-size: 10px;
}

and to view what it does www.conceptae.net please tell me if you see the above styles and ill know its just me...and if you dont see the above link styles post what the problem might be cause ive tried everything i know :D...

#2 Hayden

    P2L Jedi

  • Members
  • PipPipPip
  • 716 posts
  • Gender:Male
  • Location:Texas

Posted 12 August 2006 - 10:04 PM

I like putting the CSS actually in the page as opposed to linking to file.

<style>
<!--
styles: here;
@import "style.css";
-->
</style>

Can always use @import "style.css" to add styles as needed, as well as using PHP to dynamically select what styles are to be used in the page.

Edited by SpatialVisionary, 12 August 2006 - 10:05 PM.


#3 zetsumei

    Young Padawan

  • Publishing Betazoids
  • Pip
  • 269 posts
  • Gender:Male
  • Location:127.0.0.1

Posted 12 August 2006 - 10:25 PM

i figured out what the problem was...i forgot to close an end tag to a style...a mistake that happen after sitting at a computer for 5 hours straight XD...





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users