Jump to content
mbrusl

transparent tag listed in source code when not listed in CSS

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

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...