11
Quote:
irmtfan wrote:
JMorris, im not a newbie and some kind of namphy bamphy user, thanks to God.
I know. I never intended to imply that you were.
Quote:
irmtfan wrote:
i said xoopsCode and xoopsQuote works fine in FF.
but only xoopsCode works in IE and xoopsQuote doesnt.
this is the code:
/* for code and quote */
div.xoopsQuote {
width: 800px;
max-height: 250px;
margin: 0.5em;
overflow: auto;
padding: 1px;
}
div.xoopsCode {
width: 800px;
max-height: 250px;
margin: 0.5em;
overflow: auto;
padding: 1px;
}
Well, considering that you're using the same CSS to define two classes... If it works with one class, but not the other, I would suspect its not the CSS that's causing the problem, but the HTML. Alternately, instead of defining the classes seperately, I would suggest combining the definitions to ensure that typos don't occur.
Example:
div.xoopsCode, div.xoopsQuote {
background: #FAFAFA;
border: 1px solid #6C87B0;
color: #385a72;
width: 400px;
max-height: 250px;
margin: auto;
overflow: auto;
padding: 5px;
font: 11px FixedSys, "Courier New", Courier, monospace;
}
The above is what I use on MWR and in the following example...
http://mywebresource.com/modules/smartsection/item.php?itemid=254...and in IE 6.0 SP1, FF 1.5, and Opera 8.5 it works perfectly. If it doesn't work for you, make sure you delete all temporary Internet files from your computer, restart your browser and refresh the page a few times because it should work.
Best Regards,
James
Insanity can be defined as "doing the same thing over and over and expecting different results."
Stupidity is not a crime. Therefore, you are free to go.