PDA

View Full Version : one style sheet conflicting with another?


monkeymedia
12-06-2010, 11:07 AM
http://test.redwebhosting.co.uk/avagarosa/index.php

see the weather forecast section at the bottom? it's this

http://test.redwebhosting.co.uk/avagarosa/inc_weather.html

which works fine on its own. However, when I drop it inside one of my pretty boxes it all go's horribly wrong.

I suspect something in the forecast script is over writing something in my styles but I could be wrong (I usually am)

The problem is I dont have forebug or the like to check (firewall stops extensions installing - excellent)

Could someone run a knowledgeable eye over it please?

DWcourse
12-06-2010, 04:16 PM
For a start you need to overwrite this rule:

.WFOT1 {
background-color: #F1F1F1;
border: 2px solid #E1E1E1;
padding: 10px;
}

to get rid of the background-color and border. I suspect adding this rule would do it:

.WFH1 .WFOT1 {
background-color: none;
border: none;
}

monkeymedia
12-08-2010, 07:43 AM
that didn't fix it but thanks anyway.

have spent a bit more time messing around with it, still no joy. think I'm going to search for another solution or bin the forecast idea totally.