https://forums.modx.com/thread/?thread=24141
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!
Thanks]]>zombiemxSep 18, 2005, 11:41 AMhttps://forums.modx.com/thread/24141/font-size-of-code-snippet-is-too-small?page=2#dis-post-122684
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.
http://www.meyerweb.com/eric/css/edge/complexspiral/demo.html]]>sottwellSep 18, 2005, 11:17 AMhttps://forums.modx.com/thread/24141/font-size-of-code-snippet-is-too-small?page=2#dis-post-122683
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!
Thanks]]>zombiemxSep 18, 2005, 10:43 AMhttps://forums.modx.com/thread/24141/font-size-of-code-snippet-is-too-small#dis-post-122682
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.]]>sottwellSep 18, 2005, 10:12 AMhttps://forums.modx.com/thread/24141/font-size-of-code-snippet-is-too-small#dis-post-122681
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
}
Thanks]]>zombiemxSep 18, 2005, 09:24 AMhttps://forums.modx.com/thread/24141/font-size-of-code-snippet-is-too-small#dis-post-122680
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 so I just added this to my userContent.css file (in the Chrome folder):
pre {
font-size:1.2em ! important;
color:black ! important;
}
Perfect!]]>sottwellSep 18, 2005, 02:30 AMhttps://forums.modx.com/thread/24141/font-size-of-code-snippet-is-too-small#dis-post-122679
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 )
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!]]>zombiemxSep 17, 2005, 11:46 AMhttps://forums.modx.com/thread/24141/font-size-of-code-snippet-is-too-small#dis-post-122675