Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Subdomain ignoring margins from linked stylesheet?

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #42645
    jphogan
    Participant

    Hey all! I am having a problem which I haven’t run into before. I am working on a site http://recruitingprocessanalytics.redbranchmedia.com and when a user clicks to log in, it redirects to a subdomain http://app.recruitingprocessanalytics.com/. 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!

    #124089
    jphogan
    Participant

    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)
  • The forum ‘CSS’ is closed to new topics and replies.