OsakaWebbie
Programmer
I obviously still don't understand CSS. I want to allow the user to change the font size in his browser if he wants - from what I understand, that means I have to use "em" as the unit of measure everywhere. But what it uses as the basis (i.e. the "parent") is baffling. Take a look at the top page of this Joomla site I'm building: (sorry much of it is Japanese, but reading comprehension is not necessary). The elements I'm currently fighting are the Read More links. The structure is "<p><a class=readon>..." but the relative font-size I set for a.readon seems to follow not the <p> (which is what I would have assumed is the parent) but whatever comes before it, in this case another <p> in the first case and <h2> in the other two. So the size of the class=readon links isn't consistent. Questions:
[ol][li]Why isn't the size basis in this case the <p> that directly surrounds the link?[/li]
[li]Is there some other unit of measure I can use that isn't so dependent on everything around it, but still flexes when the user changes the browser's font size setting?[/li][/ol]
It would be great if my font sizes were relative only to some master somewhere (and also if my line-height values were relative to the size of the font they directly apply to, e.g. if it's single spacing, I should just be able to say 1.0em or 100% or something and it would work no matter what the size of the font - that one is also giving me trouble).
[ol][li]Why isn't the size basis in this case the <p> that directly surrounds the link?[/li]
[li]Is there some other unit of measure I can use that isn't so dependent on everything around it, but still flexes when the user changes the browser's font size setting?[/li][/ol]
It would be great if my font sizes were relative only to some master somewhere (and also if my line-height values were relative to the size of the font they directly apply to, e.g. if it's single spacing, I should just be able to say 1.0em or 100% or something and it would work no matter what the size of the font - that one is also giving me trouble).