Code:
.wp_syntax {
color: #100;
background-color: #f9f9f9;
border: 1px solid silver;
margin: 0 0 1.5em 0;
overflow: auto;
}
is where the scroll comes from.
And the code is a mess of nested element which there is no need for at all
A <pre> with a class that doesn't appear to exist (.html) and inline style added. Wrapped in a div with another class that doesn't appear in the style sheets (.code) all inside ANOTHER <div> (.wp_syntax)
HTML Code:
<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;"><link rel="SHORTCUT ICON" href="http://www.yourdomain.com/path/favicon.ico"/></pre></div></div>
There is two elements too many in that lot and THAT is what is causing the problem.
the background is filling the parent but because no rules apply to the children they simply take up the defaults.
Either rewrite the "pugin" to produce better code or add classes for .html and .code with a background-colour of transparent specified
__________________
Chris. ->> Please login or register to view this content. Registration is FREE <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
|