Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Senior Coder JamieR's Avatar
    Join Date
    Oct 2004
    Location
    United Kingdom
    Posts
    3,161
    Thanks
    0
    Thanked 5 Times in 5 Posts

    link (nav a {) problem

    Hey
    I'm re coding the design I did for my school's Students-Voice project. All seems fine, with the design going fine - however the links seem dodgy and unusable now for some reason. The markup and CSS is all valid and free of errors etc.

    The problem is with the links along the left and right - some are clickable in certain places, some are fully useable and some don't appear as links at all - what I mean is, the cursor doesn't change etc.

    http://www.students-voice.co.uk/cssttc/ is the url in question. The problem is to do with the css. When .nav and .nav a { are applied as different classes in CSS, most (but not all) of the links are static and don't change. When I remove .nav but leave .nav a remaining, the links work, but as three tier rows.

    Any ideas appreciated,
    Thanks, Jamie.

  • #2
    Regular Coder
    Join Date
    Jul 2004
    Location
    mile high city
    Posts
    482
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Changing the value for padding in .nav seems to take care of it.

    Code:
    .nav {
    	font-family: Verdana, Arial, Helvetica, sans-serif;
    	font-size: 12px;
    	font-weight: bold;
    	text-align: left;
    	color: #333333;
    	padding:0 1em;
    	margin: 0px 0px 0px 0px;
                 }
    Computer, kill Flanders... Did I hear my name? My ears are burning...
    Good start. Now finish the job.

  • #3
    Senior Coder JamieR's Avatar
    Join Date
    Oct 2004
    Location
    United Kingdom
    Posts
    3,161
    Thanks
    0
    Thanked 5 Times in 5 Posts
    cheers mate, that works fine

    I had a little experiment with the padding earlier, but I must have missed that.

    One thing I still can't get my head around is why it would do that

    Anyhoo, cheers

    ~Jamie.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •