The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

CSS script conflict

3 posters

Go down

Solved CSS script conflict

Post by BlTEBlTE Tue 28 Feb - 23:05

I have these 2 codes conflicting - only 1 applies (MENU takes higher priority then post background color)
Code:
.ul.linklist li a img
      {
        filter:alpha(opacity=100); 
        -moz-opacity: 1.0; 
        opacity: 0.5;
      }
ul.linklist li a img:hover
      { 
        filter:alpha(opacity=70); 
        -moz-opacity: 0.85; 
        opacity: 1.0; 
        position: relative; 
        top: -2px;
      }
Code:
.post {
background-color: #E8E8E8;
}

Any solution to apply both?


Last edited by BlTEBlTE on Wed 29 Feb - 19:02; edited 1 time in total
BlTEBlTE
BlTEBlTE
New Member

Posts : 19
Reputation : 1
Language : English, Latvian, Russian, c++, Corel Draw

Back to top Go down

Solved Re: CSS script conflict

Post by LGforum Wed 29 Feb - 2:11

They aren't in anyway related.

Why have you come to the conclusion that these two are conflicting?
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Solved Re: CSS script conflict

Post by BlTEBlTE Wed 29 Feb - 8:46

... if I leave only Menu code - it works, only post background color code - it also works...., but if I write both of them in CSS box - works only MENU

look at this: http://atomic.forumo.org/t33-literature
You can see that Menu works, but posts are not in (+/-) white background which means the code is not applieing somehow....

If MENU comstumizing code gets deleted from CSS box - instantly post background code applies...

BlTEBlTE
BlTEBlTE
New Member

Posts : 19
Reputation : 1
Language : English, Latvian, Russian, c++, Corel Draw

Back to top Go down

Solved Re: CSS script conflict

Post by kirk Wed 29 Feb - 15:38

so remove one hit save and see if it's the turn out you want, if not add the other back and get rid of the other one.

i dont understand you going to have to make some screen shots and point things out of whats wrong, and then they way you are trying to get it.

You may not even need css for this and just be able to use your colors menu? not sure?


Try to explain all you can
kirk
kirk
Forumaster

Male Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Solved Re: CSS script conflict

Post by LGforum Wed 29 Feb - 15:45

Are you sure your not putting them inside other codes by accident?
Make sure they are completely separate from everything else and each other. Put a few line breaks between them.
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Solved Re: CSS script conflict

Post by kirk Wed 29 Feb - 15:54

The color he has for the css post background is almost gray.
so we know thats not working because he has black and tan.

so my guess is he would need to change the colors to what he wants in these codes? But i still dont completely understand what colors or sections he means either. and the first code he has thats for navbar hover images???

this is why you only use css where it's needed, most of the colors can all be done right in the color list,

Keep in mind i really am not completely understanding his problem. So the better he explains and adds screen shots the better for us to help thumright



Code:
body {
    background-attachment: fixed;
    background-color: #292929;
    background-image: url("http://i40.servimg.com/u/f40/17/30/15/69/od1c4t10.jpg");
    color: #5E5D58;
    font-family: Verdana,Arial,Helvetica,sans-serif;
    font-size: 10px;
    height: auto;
    padding: 10px 0;
}

Code:

#wrap {
    background-color: #101011;
    border: 1px solid #000000;
    margin: 0 auto;
    min-width: 768px;
    padding: 5px;
    width: 1000px;
}
kirk
kirk
Forumaster

Male Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Solved Re: CSS script conflict

Post by BlTEBlTE Wed 29 Feb - 19:01

LGforum wrote:Are you sure your not putting them inside other codes by accident?
Make sure they are completely separate from everything else and each other. Put a few line breaks between them.
Very Happy I do not put the functions in another function's namespace...

hehe..., just fixed everything..., removed all comments and it works.... Very Happy
Problem was - I wrote line comments in c++ style which, as it seems, does not work on CSS that way. Probably basic CSS ignores all the parts in code which is wrong (//comment) accidentally taking in ignore space the ".post()" fuction as well..., my BAD...

Thx for help anyways...!
SOLVED
BlTEBlTE
BlTEBlTE
New Member

Posts : 19
Reputation : 1
Language : English, Latvian, Russian, c++, Corel Draw

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum