<![CDATA[ Font size of "Code snippet" is too small! - MODX Community Forums]]> https://forums.modx.com/thread/?thread=24141 <![CDATA[Re: Font size of &quot;Code snippet&quot; is too small!]]> https://forums.modx.com/thread/24141/font-size-of-code-snippet-is-too-small?page=2#dis-post-122684
It is frustruating to get CSS to work right for both but in this case it works.

I am going to read this article more closely to see how it was done!

zombiemx Sep 18, 2005, 11:41 AM https://forums.modx.com/thread/24141/font-size-of-code-snippet-is-too-small?page=2#dis-post-122684
<![CDATA[Re: Font size of &quot;Code snippet&quot; is too small!]]> https://forums.modx.com/thread/24141/font-size-of-code-snippet-is-too-small?page=2#dis-post-122683
Yeah, CSS is like magic. I love working with it. I just wish IE were more compliant! This is gorgeous, but it doesn’t work in IE because IE doesn’t comply with standards.

sottwell Sep 18, 2005, 11:17 AM https://forums.modx.com/thread/24141/font-size-of-code-snippet-is-too-small?page=2#dis-post-122683
<![CDATA[Re: Font size of &quot;Code snippet&quot; is too small!]]> https://forums.modx.com/thread/24141/font-size-of-code-snippet-is-too-small#dis-post-122682
You are most helpful!

So that is the magic trick!

zombiemx Sep 18, 2005, 10:43 AM https://forums.modx.com/thread/24141/font-size-of-code-snippet-is-too-small#dis-post-122682
<![CDATA[Re: Font size of &quot;Code snippet&quot; is too small!]]> https://forums.modx.com/thread/24141/font-size-of-code-snippet-is-too-small#dis-post-122681
If you are not familiar with CSS, I have a number of links on my site to tutorials and articles about it.]]>
sottwell Sep 18, 2005, 10:12 AM https://forums.modx.com/thread/24141/font-size-of-code-snippet-is-too-small#dis-post-122681
<![CDATA[Re: Font size of &quot;Code snippet&quot; is too small!]]> https://forums.modx.com/thread/24141/font-size-of-code-snippet-is-too-small#dis-post-122680
I followed the sample in the usercontent.css like below but did not work until I put your "pre" in front of if then it works. What is the trick?

    font-size: 11pt !important

zombiemx Sep 18, 2005, 09:24 AM https://forums.modx.com/thread/24141/font-size-of-code-snippet-is-too-small#dis-post-122680
<![CDATA[Re: Font size of &quot;Code snippet&quot; is too small!]]> https://forums.modx.com/thread/24141/font-size-of-code-snippet-is-too-small#dis-post-122679
Hee hee...it occurred to me that I’m supposed to be a hot-shot Web developer rolleyes so I just added this to my userContent.css file (in the Chrome folder):

pre {
    font-size:1.2em ! important;
    color:black ! important;

sottwell Sep 18, 2005, 02:30 AM https://forums.modx.com/thread/24141/font-size-of-code-snippet-is-too-small#dis-post-122679
<![CDATA[Re: Font size of &quot;Code snippet&quot; is too small!]]> https://forums.modx.com/thread/24141/font-size-of-code-snippet-is-too-small#dis-post-122678
Don’t know how it looks in Safari or Mac versions of IE ... (bcz Ryan is on Mac wink )


zaigham Sep 17, 2005, 02:54 PM https://forums.modx.com/thread/24141/font-size-of-code-snippet-is-too-small#dis-post-122678
<![CDATA[Re: Font size of &quot;Code snippet&quot; is too small!]]> https://forums.modx.com/thread/24141/font-size-of-code-snippet-is-too-small#dis-post-122677 zombiemx Sep 17, 2005, 12:08 PM https://forums.modx.com/thread/24141/font-size-of-code-snippet-is-too-small#dis-post-122677 <![CDATA[Re: Font size of &quot;Code snippet&quot; is too small!]]> https://forums.modx.com/thread/24141/font-size-of-code-snippet-is-too-small#dis-post-122676 MARKSVIRTUALDESK Sep 17, 2005, 11:48 AM https://forums.modx.com/thread/24141/font-size-of-code-snippet-is-too-small#dis-post-122676 <![CDATA[Re: Font size of &quot;Code snippet&quot; is too small!]]> https://forums.modx.com/thread/24141/font-size-of-code-snippet-is-too-small#dis-post-122675
// --------------------
// Snippet: ListMenuX
// --------------------
// Version: 1.2
// Date: 2005.05.31
// jason@opengeek.com

Either the font is too small or the background color distort the text.

I can hardly read the code without make it a little bigger!]]>
zombiemx Sep 17, 2005, 11:46 AM https://forums.modx.com/thread/24141/font-size-of-code-snippet-is-too-small#dis-post-122675