Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > css problem [golive 5]

css problem [golive 5]
Thread Tools
Fresh-Faced Recruit
Join Date: Oct 2003
Location: London
Status: Offline
Reply With Quote
Aug 17, 2004, 08:19 AM
 
Hi

On a site I'm developing I have a:link set up to be green, my a:hover to be white with green background and a:visited to be the same as a:link. The problem is on some visited links when you roll over them again you just see a block of green and not the white text.

The site was created in GoLive 5 if that helps. Here is a direct link to one of the pages

http://www.parallaxstudios.co.uk/aubergine/aboutus.html

Here is the style sheet

http://www.parallaxstudios.co.uk/aub.../aubergine.css

Also, and I'm sure this is an easy one, my main table is aligned to 'center' but how do I vertically align so that the table is always dead centre.

Any help would be appreciated.
     
Dedicated MacNNer
Join Date: Nov 2001
Location: Are Eye
Status: Offline
Reply With Quote
Aug 17, 2004, 08:53 AM
 
You currently have:


a:link {rules}
a:hover {rules}
a:visited {rules}

Change the order of the styles in the style sheet to:

a:link {rules}
a:visited {rules}
a:hover {rules}
     
Fresh-Faced Recruit
Join Date: Oct 2003
Location: London
Status: Offline
Reply With Quote
Aug 17, 2004, 09:24 AM
 
Thanks very much, that's done the trick. I didn't realise order was critical but now I know

What about ensuring my table is always centered, vertically as well as horizontally?

thanks again.
     
Dedicated MacNNer
Join Date: Nov 2001
Location: Are Eye
Status: Offline
Reply With Quote
Aug 17, 2004, 09:35 AM
 
I'm no expert at using a table for layout, but I think what you need to do is wrap all of your content in a new table that is 100% wide and 100% tall and align it all within that.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:09 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2