Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Link 2 css files with different <ul> properties
Old 04-30-2008, 10:43 AM Link 2 css files with different <ul> properties
Novice Talker

Posts: 8
Trades: 0
Is it possible?

Basically we run a catalog system that has it's own version on the <Ul><Li> but we've just made up a Css menu that uses the same <ul><li> but with different properties.

Is it possible to tell the brower to look at one or other .css file for a paticular attribute?

Many Thanks
Gavin_J is offline
Reply With Quote
View Public Profile Visit Gavin_J's homepage!
 
 
Register now for full access!
Old 04-30-2008, 10:46 AM Re: Link 2 css files with different <ul> properties
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
You don't really need a separate css file, just give the new css menu a separate ID that you can reference, ie:

<ul id="menu">
<li>
<li>
</ul>
Then in the css you have it as
#menu
#menu li
#menu li a

etc. with the properties you need for your new menu. It's called specificity.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 04-30-2008, 10:47 AM Re: Link 2 css files with different <ul> properties
angele803's Avatar
Perfectly Imperfect

Posts: 1,772
Name: Stephanie
Location: Oklahoma
Trades: 2
Ooops, posted the same time LadynRed did!
__________________

Please login or register to view this content. Registration is FREE
angele803 is offline
Reply With Quote
View Public Profile
 
Old 04-30-2008, 10:49 AM Re: Link 2 css files with different <ul> properties
Novice Talker

Posts: 8
Trades: 0
ahhhhhh very clever!

Thank you I will give it a go now.
Gavin_J is offline
Reply With Quote
View Public Profile Visit Gavin_J's homepage!
 
Old 04-30-2008, 10:31 PM Re: Link 2 css files with different <ul> properties
Junior Talker

Posts: 3
Trades: 0
It's a very easy and clecer way!
Thanks!
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
getsoz is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Link 2 css files with different <ul> properties
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting 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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.85102 seconds with 12 queries