Search found 8 matches

by ljhost
Fri Jul 30, 2010 7:01 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Trouble with menu items having a transparent background
Replies: 16
Views: 16474

Re: Trouble with menu items having a transparent background

Ideally I would like to move the site to a non javascript based menu and I actually rewrote the menu using pure css / html but there are so many skins and styles that need to be accommodate for we just haven't had time to switch over.

Thanks for all your help guys!
by ljhost
Thu Jul 29, 2010 9:25 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Trouble with menu items having a transparent background
Replies: 16
Views: 16474

Re: Trouble with menu items having a transparent background

It seems that all the browsers used the 2.css, but is it possible to always guarantee that this is the one that will load second and be used

Yes. This is exactly how CSS works. The style sheets are always called in the order they are in the code and later mentions of classes always take priority ...
by ljhost
Wed Jul 28, 2010 8:19 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Trouble with menu items having a transparent background
Replies: 16
Views: 16474

Re: Trouble with menu items having a transparent background

Ah ok that is how I had assumed it worked previously....


Here's how it works

If an item has a class on it.. say <p class="myclass">Your text here</p>

Then you have two style sheets attached..
like in our case we have the master style sheet that is a number 76232.css or something.

Say it has ...
by ljhost
Wed Jul 28, 2010 4:38 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Trouble with menu items having a transparent background
Replies: 16
Views: 16474

Re: Trouble with menu items having a transparent background

Wow that is a poor design.. are you saying it's writing all the CSS it finds as inline style on the fly?

OK well I'll play around with it on the system a bit and see how it goes.. thanks so much for your help.
by ljhost
Tue Jul 27, 2010 8:13 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Trouble with menu items having a transparent background
Replies: 16
Views: 16474

Re: Trouble with menu items having a transparent background

But as they cascade if the skin sheet is after the main sheet it will override it no?

main.css
.mainmenucurrent{color:red;}

skin.css
.mainmenucurrent{color:black;}


Should render the color black..
by ljhost
Tue Jul 27, 2010 5:36 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Trouble with menu items having a transparent background
Replies: 16
Views: 16474

Re: Trouble with menu items having a transparent background

Excellent.. this seems to be working as expected. I'll alter that in the main CSS file then go through all the skins to fix the issue.

And yes we want everything declared in the main css file so that custom skins only need to declare what they want to change.

Thanks for your help.. I'll report ...
by ljhost
Mon Jul 26, 2010 11:47 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Trouble with menu items having a transparent background
Replies: 16
Views: 16474

Re: Trouble with menu items having a transparent background

Thanks for your details help.. I really appreciate it!

First just to explain the reason for the layered CSS files is that 76467.css is the main css file.. then the LJ one is for this particular skin. The way the skinning works is a 2nd style sheet is added and then you overwrite the styles you want ...
by ljhost
Thu Jul 22, 2010 5:11 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Trouble with menu items having a transparent background
Replies: 16
Views: 16474

Re: Trouble with menu items having a transparent background

Not sure what the heck happend here but my account was deleted as was all the posts in this thread!

So again you can see the issue here: http://football99.myfantasyleague.com/2009/home/76457#0

Click on My Leagues > LJ Demo

I have added this css:

a.mainmenucurrent {
background-color:#000 ...