Re: Default text size [message #32360 is a reply to message #32359] |
Thu, 22 June 2006 02:10 |
|
JamesS
Messages: 275 Registered: July 2002 Location: Atlanta, GA
Karma:
|
Senior Member |
|
|
I am going to try to respond to that without getting "religious."
When you say "I think when you want a site to have a uniform appearance and the code to dictate the font and layout, then I tend to think that allowing the persons browser to make any adjustment at all is a mistake," that isn't "old school." It is proposing a broken internet. "Old school" is markup with "<p></p>" denoting a paragraph, "<img>" denoting an illustration, and "<table></table>" displaying tabular data (think spreadsheet). The internet is meant to distribute information. HTML was devised to make disseminating that information easy and standard. Everyone who has a client that can understand the markup is able to access the information. When the internet became popular outside of academia, people started exploiting parts of the markup to make documents look the way the writer wanted them to look no matter how they were viewed (the browser developers certainly aided in this). The problem is, that is fundamentally flawed.
As is clear in this instance, what you see may not be what I see. CSS (cascading stylesheets) were devised to fix this problem. It is meant to get markup back to being markup so that any device, be it a mobile phone or a toaster, can process the markup and display it as is warranted for the device. Meanwhile, the CSS can suggest to the client how that markup should be displayed. Ultimately it is up to the user, or device, viewing the document that decides how it will be presented. That isn't a mistake. That is the way the world wide web was originally designed.
There are plenty of other reasons for using semantically relevant markup and CSS. I won't go into them, but you can certainly read more on the subject if you wish.
As for making your site use the same fonts across your forum and non-forum content. The easiest way for you to do that would be to load a stylesheet after the forums that overrides the fonts it specifies. That is where the "cascading" part of CSS comes in. Rules are read from top to bottom and applied in that order. So, if you create a stylesheet named "override.css", you can load it up after the forums by editing "header.tmpl" in the template editor and putting '<link rel="stylesheet" type="text/css" href="some/web/root/override.css">' after the link element that loads the forum CSS file.
And yes, I change the font settings on my browser. I have a set of specific fonts, and sizes, that are easiest for me to read.
|
|
|