![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Herbert wrote: I'm still relativey new to stylesheets I suggest you read this group for a while. Some of your questions will be answered in other threads, and you'll learn to avoid certain things along the way. p {font-family: "arial", "verdana", Don't specify verdana. font-size: 80%; Don't specify a font-size of 80% for paragraph text. Let users decide which font-size is right for them. Please refer to the scores of threads on these matters (use Google to search for them). |
#3
| |||
| |||
|
|
Now who wants to be first to say 'don't top post'? |
#4
| |||
| |||
|
|
Obviously it's very convenient to be able to specify such a lot over and over just by using <p>Text</p>, and subheadings with <p class="subHead">Heading</p>. |
#5
| ||||
| ||||
|
|
I'm still relativey new to stylesheets, so I'm hoping that the way I'm going about things can be seriously improved upon, i.e . I just haven't undersood something obvious about the 'cascading' nature of |
|
I think I can illustrate the nature of the beast with this example, using just two text styles: p {font-family: "arial", "verdana","helvetica", sans-serif; font-size: 80%; color=#ff0000; font-weight: normal; text-align: justify; margin-left: 2px; margin-right: 2px;} |
|
Obviously it's very convenient to be able to specify such a lot over and over just by using <p>Text</p>, and subheadings with <p class="subHead">Heading</p>. |
|
Where I find things get awkward is if I occasionally want to have: #1 the text follow the subheading after only a <br> line-break (i.e. within the <p></p>), #2 or the subHead style used within the text paragraph using <span class="subHead">include</span |
#6
| |||
| |||
|
|
Obviously it's very convenient to be able to specify such a lot over and over just by using <p>Text</p>, and subheadings with <p class="subHead">Heading</p>. |
|
Where I find things get awkward is if I occasionally want to have: #1 the text follow the subheading after only a <br> line-break (i.e. within the <p></p>), |
#7
| |||
| |||
|
|
Well Brian, it did occur to me to add "please don't bother commenting on whether specifying 80% or any particular font is a good idea, etc.". However, I'd hoped follow-ups might be from people who realised these were examples |
|
I am pessimistically curious as to the verdana verboten. |
#8
| |||
| |||
|
|
Sites with 100% anything tend to look like infant's text books. Most real people (as distinct from the fabled crowd conjured by coding-geeks) don't give it a thought provided it's within a - fairly wide - legibility range. |
|
I know you are capable of providing helpful guidance. But come on, this follow-up was 90% lame. I know this is presented as 'won't help', but it could equally well be masking 'can't help'. |
|
I am pessimistically curious as to the verdana verboten. |
#9
| |||
| |||
|
|
Herbert <doughnut (AT) email (DOT) me.ok> wrote: Now who wants to be first to say 'don't top post'? Nobody, hopefully. Please keep posting cluelessly, until you have something useful or interesting to say. Please also keep using a forged E-mail address until you have a clue. HTH. HAND. |
#10
| ||||||
| ||||||
|
|
On Sat, 04 Oct 2003 06:43:04 +0100, Herbert <doughnut (AT) email (DOT) me.ok wrote: Well Brian, it did occur to me to add "please don't bother commenting on whether specifying 80% or any particular font is a good idea, etc.". However, I'd hoped follow-ups might be from people who realised these were examples and might go on to actually provide some useful information, but I guess it's just too difficult to resist, eh? Are you trying to piss off the people that might help you? When posting examples, try to be as generic and subservient as possible. Then you won't have to worry about criticism of your coding and might get the response you are looking for. |
|
Your example was quite long and featured a number of oddities, such as the use of quotes around the font names and the use of an equals sign for color. This makes it look like code taken directly from your page and also makes it look like you just dove into it. Diving in is admirable, but you can see why Brian might think you haven't been reading along.... |
|
FYI I have been reading this NG, and studying numerous CSS guides, for some time now. And I am well aware of the kind of advice given as to allowing the 'user decide' (which in my experience is almost invariably provided by people who couldn't construct an engaging website if they tried). I know just one person who intentionally changes their browser's font-size setting. Sites with 100% anything tend to look like infant's text books. Most real people (as distinct from the fabled crowd conjured by coding-geeks) don't give it a thought provided it's within a - fairly wide - legibility range. I tend to agree with this outlook. Many here do not. Why rock the boat when you're begging for a solution to a problem that has nothing to do with text size? |
|
I know you are capable of providing helpful guidance. But come on, this follow-up was 90% lame. I know this is presented as 'won't help', but it could equally well be masking 'can't help'. Heh. I guess I fall into the latter category. I just wanted to address this post before the full wrath of the group fell upon you. I think Jukka may have already added you to his killfile.... |
|
I am pessimistically curious as to the verdana verboten. Verdana renders itself larger than most other similar fonts. So when you ask it to render Arial at 80% and your fallback is Verdana, if the user doesn't have Arial, s/he is going to see a font that looks to be about 90%. Try it for yourself. Look at your page, study it, memorize it. Then delete Arial from your style sheet and look at your page again. If you think layout is a bitch now, try making it conform to your desires in both Arial and Verdana. Personally, I enjoy the Verdana font. But when I use it, it is the only one I use (save for the generic fallback), so I know how big to make it - which is always smaller than anything else. |
|
Now who wants to be first to say 'don't top post'? But bear in mind that since Brian snipped the relevant bits of my original posting, there ain't much to be missed down there... Top-posting doesn't bother me, though apparently it is frowned upon round these parts. |
![]() |
| Thread Tools | |
| Display Modes | |
| |