CSS script conflict
3 posters
Page 1 of 1
CSS script conflict
I have these 2 codes conflicting - only 1 applies (MENU takes higher priority then post background color)
Any solution to apply both?
- 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- New Member
- Posts : 19
Reputation : 1
Language : English, Latvian, Russian, c++, Corel Draw
Re: CSS script conflict
They aren't in anyway related.
Why have you come to the conclusion that these two are conflicting?
Why have you come to the conclusion that these two are conflicting?
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: CSS script conflict
... 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...
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- New Member
- Posts : 19
Reputation : 1
Language : English, Latvian, Russian, c++, Corel Draw
Re: CSS script conflict
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
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- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
Re: CSS script conflict
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.
Make sure they are completely separate from everything else and each other. Put a few line breaks between them.
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: CSS script conflict
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
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
- 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- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
Re: CSS script conflict
I do not put the functions in another function's namespace...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.
hehe..., just fixed everything..., removed all comments and it works....
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- New Member
- Posts : 19
Reputation : 1
Language : English, Latvian, Russian, c++, Corel Draw
Similar topics
» Conflict with another script
» script help
» Add a similar module in the center of notifications Resolved (small conflict with a second js)
» Suggested Script (Need Someone that can read script)
» register Script (I Need The Script)
» script help
» Add a similar module in the center of notifications Resolved (small conflict with a second js)
» Suggested Script (Need Someone that can read script)
» register Script (I Need The Script)
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum