-
1. Re: CSS question
John Waller Oct 7, 2013 2:55 AM (in response to matthew stuart)Please upload the page and post a link so we can take a look in our browsers.
-
2. Re: CSS question
osgood_ Oct 7, 2013 3:44 AM (in response to matthew stuart)matthew stuart wrote:
Just wondering if somebody knows the reason for the following. I have set up a class in my external style sheet:
.cancelpage {
margin:-3px -15px 0px 0px;
}
and have it in place on a page like so:
class="smmbtnwrn cancelpage"
but .cancelpage isn't working.
However, if I have it as an inline style (style="margin:-3px -15px 0px 0px;") then it works. Why is this?
Have you got any containers with id's on the page maybe like:
<div id="blah">
<div class="smmbtnwrn cancelpage">Content</div>
</div><!-- end blah -->
Sometimes you may need to write the css as follows:
#blah .cancelpage {
margin:-3px -15px 0px 0px;
}
Failing that upload the page/css as John says.
-
3. Re: CSS question
matthew stuart Oct 7, 2013 5:24 AM (in response to osgood_)Thanks osgood... I couldn't see the wood through the trees with this one. I'll give it a go later, but I am sure that's what it is.
I have the page uploaded, but it's behind password protected areas, and to give access would be more effort than I have time for!
Thanks again.



