You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 80 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Change only the block hyperlinks color [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Pitcher
Premium
Premium


Joined: May 28, 2003
Posts: 9

Location: Norway

PostPosted: Thu Oct 30, 2003 6:43 pm Reply with quoteBack to top

Hello

I making a new theme and need white links in blocks and black links in the news part etc.. I have defined this in the style.css
Code:
.boxcontent      {BACKGROUND: none; COLOR: #FFFFFF; FONT-SIZE: 10px; FONT-FAMILY: Verdana, Helvetica}
a.boxcontent:visited{color:#FFFFFF}
a.boxcontent:active{color:#FFFFFF}
a.boxcontent:link{color:#FFFFFF}
a.boxcontent:hover{color:#FFFFFF}
for the blocks and
Code:
a:link,a:active,a:visited,a.postlink{color:#000000;text-decoration:none}
a:hover{color:#000000}
for the rest of the links.
But it won't work, the default link color overrides the white one. Is there anything I have done wrong in the css file? Please help, I have a deadline for this project..

_________________
Pitcher
Homepage: http://www.dragonflycms.no
Find all posts by PitcherView user's profileSend private messageVisit poster's website
Pitcher
Premium
Premium


Joined: May 28, 2003
Posts: 9

Location: Norway

PostPosted: Sat Nov 01, 2003 7:38 am Reply with quoteBack to top

Is there nobody that know this? where is all the html gurus? Very Happy

_________________
Pitcher
Homepage: http://www.dragonflycms.no
Find all posts by PitcherView user's profileSend private messageVisit poster's website
Pitcher
Premium
Premium


Joined: May 28, 2003
Posts: 9

Location: Norway

PostPosted: Sun Nov 02, 2003 4:14 pm Reply with quoteBack to top

Well, nobody does the job for you said a vise man to me some time.. I found the solution by my self..

here is what you have to add to the style.css file
Code:
div#menu a {text-decoration: underline;  color: white; FONT-FAMILY: Verdana, Helvetica}
div#menu a:hover { color: #FFFF00; FONT-FAMILY: Verdana, Helvetica}
and call it by
Code:
<div id="menu">$content</div>


Hope this can be usefull for someone else..

_________________
Pitcher
Homepage: http://www.dragonflycms.no
Find all posts by PitcherView user's profileSend private messageVisit poster's website
IACOJ
Major
Major


Joined: Jan 15, 2003
Posts: 1269

Location: USA

PostPosted: Sun Nov 02, 2003 4:25 pm Reply with quoteBack to top

Sorry I didn't see your thread until just now.

Make sure you also add the same defines to the forum.css so the links show up correctly when you are viewing pages that use that css.

_________________
http://castlecops.com
<b>Microsoft MVP Windows-Security 2005</b> <img src="http://castlecops.com/zx/Paul/mvp.gif">
Find all posts by IACOJView user's profileSend private message
Pitcher
Premium
Premium


Joined: May 28, 2003
Posts: 9

Location: Norway

PostPosted: Sun Nov 02, 2003 4:41 pm Reply with quoteBack to top

Better late than never Laughing
I use the style.css file for the forum also, why make it twice when you can use the same css file for both Very Happy

_________________
Pitcher
Homepage: http://www.dragonflycms.no
Find all posts by PitcherView user's profileSend private messageVisit poster's website
chris-au
Elite Nuker
Elite Nuker


Joined: Jan 31, 2003
Posts: 717


PostPosted: Tue Nov 04, 2003 11:28 pm Reply with quoteBack to top

Pitcher wrote:
Better late than never Laughing
I use the style.css file for the forum also, why make it twice when you can use the same css file for both Very Happy


You can, if you make the link to the style sheets in your script to the one you want to use I would think.
After all, a style sheet is only included.

_________________
Chris
Find all posts by chris-auView user's profileSend private messageVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.497 Seconds - 326 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::