Subdomain ignoring margins from linked stylesheet?

  • # February 11, 2013 at 12:12 pm

    Hey all! I am having a problem which I haven’t run into before. I am working on a site and when a user clicks to log in, it redirects to a subdomain The subdomain is using the stylesheet from the main site. The problem is, it’s ignoring some of the CSS rules, but not all of the them.

    For example, look at the h1 “Demo” on the subdomain in developer tools. It’s supposed to have a margin-top of 10px and I see it in developer tools, but it just isn’t adding the margin. I’m stumped. Any help is appreciated. Thanks!

    # February 11, 2013 at 2:26 pm

    I have the answer if anyone else runs into this. Apparently, the subdomain common.css file was changing the elements to inline. I added display:block and it works perfectly now.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.