View Single Post
Old 09-12-2008, 12:20 PM   #12 (permalink)
chicgeek
Empress™
 
chicgeek's Avatar
 
Join Date: 08-19-04
Location: Canadian in the UK
Posts: 14,213
iTrader: 0 / 0%
chicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest order
Hiya Chris.

Okay, here is your solution:
Contain the content of each half and provide it with an ID. For example.

Code:
<div id="blue"> blue half <a href="#">link</a> </div> <div id="white"> white half <a href="#">link</a> </div>

The CSS will look something like this. The second section (Link Styles) is what you're most interested in.

Code:
/* Site Structure */ #blue { float: left; width: 300px; background-color: blue; } #white { float: left; background-color: white; } /*Link Styles*/ #blue a:link, #blue a:active, #blue a:visited { color: white; } #blue a:hover { color: green; } #white a:link, #white a:active, #white a:visited { color: blue; } #white a:hover { color: red; }
Let me know how you fare. I'd rather you post here instead of emailing me, though. I'm sorry for being somewhat unreachable, but it's dissertation season.
__________________
laura / chicgeek
soprano & web designer
@chicgeek on Twitter
laurakishimoto.ca
chicgeek is offline   Reply With Quote