|  | Posted by Chris F.A. Johnson on 08/09/06 20:13 
On 2006-08-09, Nije Nego wrote:> On Sun, 6 Aug 2006 00:47:52 -0400, Chris F.A. Johnson wrote:
 >
 >> On 2006-08-06, Chaddy2222 wrote:
 >>>
 >>> Chris F.A. Johnson wrote:
 >>>> On 2006-08-04, spiffy wrote:
 >>>> > If anyone is interested, I wrote a design diagram from design to the
 >>>> > page for a friend of mine.
 >>>> >
 >>>> > http://xnot.org/public/articles/2006/07/06/css-from-the-ground
 >>>>
 >>>>   I wouldn't trust any article that recommends:
 >>>>
 >>>> #header {
 >>>> width: 800px;
 >>>> }
 >>>>
 >>>>    Or <div> when you should use <Hx>:
 >>>>
 >>>> <div id="header">xnot.org</div>
 >>>
 >>> Yes, I tend to agree. Useing PX for width can be a mess, especially
 >>> when viewing pages with a high screan resolution.
 >>> I actually use both for the header though, I use a Div Header tag, but
 >>> I have a <h1> tag inside that tag, it means I can give some more layout
 >>> to the header, although, I guess you could just give those same layout
 >>> instructions to the <h1> tags.
 >>
 >>    When there is more to the header than just the title text (which
 >>    should be <h1>), it makes sense to wrap it in <div id="header"></div>.
 >
 > I find class, tag, ID and span enough to do pretty much anything with <hx>.
 
 If you use class, tag, ID and span without h1, you are not creating
 a well-structured document.
 
 If you use any of them with the only an h1 element inside, they are
 unnecessary.
 
 
 --
 Chris F.A. Johnson                      <http://cfaj.freeshell.org>
 ===================================================================
 Author:
 Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
 [Back to original message] |