Jump to content

transparent tag listed in source code when not listed in CSS


mbrusl

Recommended Posts

I've been banging my head over this one. Been trying to complete a custom theme, but keep running into these errond transparent tags added to the html source. They are not in the CSS or hard coded into the php or thtml files involved. Here is an example of the CSS and source involved below. Style.css

#gl_content {background:url(layout/notepad_chaos/np-images/notepad-back.png);background-repeat:repeat-y;margin:0 37.1em 0 0;}

HTML Source code

#gl_content {    background-attachment: scroll;    background-clip: border-box;    background-color: transparent;    background-image: url("layout/notepad_chaos/np-images/notepad-back.png");    background-origin: padding-box;    background-position: 0 0;    background-repeat: repeat-y;    background-size: auto auto;    margin-bottom: 0;    margin-left: 0;    margin-right: 37.1em;    margin-top: 0;}

There are extra tags that were not even programmed for here. The inherited from body, does not have the transparency. So I'm at a loss on how and where this could be coming from. The reason I am looking into this is because I'm trying to get the image to expand all the way down the page to the footer. It appears to work fine on the main page but other pages it does not. Here is the test site url if anyone wants to help figure this out. http://glfdev.spacequad.net Michael

Link to comment
Share on other sites

I don't know what you mean by HTML source code in this context. What you seem to be looking at is your browser's internal way of representing the CSS rules you defined as well as the default values for that kind of element. The default background color for most elements is transparent. If you had a rule that defined a background color, I'm sure that is the value you would read. Either way, a background image is always rendered instead of (or you could say, in front of) the background color. Whatever problems you might be having are NOT being caused by the transparent background; something else is causing it.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...