Subject:
|
Re: Which HTML to use?
|
Newsgroups:
|
lugnet.publish.html
|
Date:
|
Mon, 5 May 2003 20:15:42 GMT
|
Viewed:
|
3043 times
|
| |
| |
"Constantine Hannaher" <channaher@netscape.net> writes:
> Now I know you are writing quickly and upon reflection will recognize that
> putting a class on a font tag is just a bizarre idea. :-) Although <div
> id="postheaders"><h1>foo</h1></div> where an external stylesheet has a
> declaration .postheaders h1 {font-size: 0.8ex;} might look a little long, it
> puts the burden of figuring out how to display on the rendering engine of
> the user agent. I should probably have set the follow-up to publish.html...
OK I moved this part of the thread there...
Why not just use <h1 class="postheaders">foo</h1> instead? I'm not a
CSS expert but that's how I would have done it...
--Bill.
--
William R Ward bill@wards.net http://www.wards.net/~bill/
-----------------------------------------------------------------------------
"A foolish consistency is the hobgoblin of little minds, adored by
little statesmen and philosophers and divines." - Emerson
|
|
Message has 1 Reply: | | Re: Which HTML to use?
|
| (...) Because that way every instance of a first-level heading that needed the desired effect would have to include the class attribute. When hand-coding, especially, it's a waste, and the coder has to remember how to achieve the effect. By (...) (22 years ago, 5-May-03, to lugnet.publish.html)
|
Message is in Reply To:
| | Re: Which HTML to use?
|
| (...) Thanks for the quick reply. If a less legacy-burdened coding for LUGNET is a goal, then that's ok by me. But. Old browsers is not the hang-up, as far as I can tell. (Especially since some really old browsers, like IE2 just to take a random (...) (22 years ago, 16-Apr-03, to lugnet.admin.suggestions)
|
7 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|