Typography
Permalink
Hello all. I keep asking question and you keep answering them. Great :)
New problem.
I am new to the whole typography scene in css, and I am having some difficulty figuring out a couple of things.
I want all things font related to be in its own typography.css file. I have tried moving font issues (and a few classes defining how to place images) into the typography.css file.
Problem 1: After doing this, when I try editing in the Tiny MCE interface, the font is HUGE (inside the editor). It looks OK on the website, but inside the editor it is messed up. What have I done wrong?
Problem 2. Is the paragraph supposed to be the "default" class for the main text inside the content area? I thought this class was "body". The people I make the website for have statements that should stand out (in addition to quotes). I thought the paragraph class was for these. Am I wrong?
New problem.
I am new to the whole typography scene in css, and I am having some difficulty figuring out a couple of things.
I want all things font related to be in its own typography.css file. I have tried moving font issues (and a few classes defining how to place images) into the typography.css file.
Problem 1: After doing this, when I try editing in the Tiny MCE interface, the font is HUGE (inside the editor). It looks OK on the website, but inside the editor it is messed up. What have I done wrong?
Problem 2. Is the paragraph supposed to be the "default" class for the main text inside the content area? I thought this class was "body". The people I make the website for have statements that should stand out (in addition to quotes). I thought the paragraph class was for these. Am I wrong?
Hi There,
a few things that stand out, this line:
Maybe causing a few problems, the * declaration is universal, its not a great idea to use it, I would look into a proper CSS reset, the Eric Meyerhttp://meyerweb.com/ produces a pretty good reset, but keep in mind that some resets can override what is applied via the customisation options in Tiny MCE, and may need some tailoring.
Also this line:
Font size 100 needs to be either percent, em or px, just 100 wont do a thing. so 100% 1em 14px etc etc.
The paragraph tag is used a lot by tiny MCE, its pretty semantic so headers will all be placed in "H" tags, links etc are in "A" tags and text will be placed inside "P", or paragraph tags, if you want to emphasis a quote then use:
Hope that helps a little.
a few things that stand out, this line:
*{border:0;font:inherit;font-size:100%;margin:0;padding:0;vertical-align:baseline;}
Maybe causing a few problems, the * declaration is universal, its not a great idea to use it, I would look into a proper CSS reset, the Eric Meyerhttp://meyerweb.com/ produces a pretty good reset, but keep in mind that some resets can override what is applied via the customisation options in Tiny MCE, and may need some tailoring.
Also this line:
body{ font-family: Verdana; color: black; font-size:100} }
Font size 100 needs to be either percent, em or px, just 100 wont do a thing. so 100% 1em 14px etc etc.
The paragraph tag is used a lot by tiny MCE, its pretty semantic so headers will all be placed in "H" tags, links etc are in "A" tags and text will be placed inside "P", or paragraph tags, if you want to emphasis a quote then use:
<blockquote></blockquote>
Hope that helps a little.
Great. Thanks. It was the % that was missing. Now I can edit again.
The universal tag does not seem to create any problems. It was there in the original css theme I built the concrete5 theme from. Dont know why the designer put it there.
The universal tag does not seem to create any problems. It was there in the original css theme I built the concrete5 theme from. Dont know why the designer put it there.
default.css:
and typography.css