Re: new CSS tutorial
- From: "Chris F.A. Johnson" <cfajohnson@xxxxxxxxx>
- Date: Sun, 6 Aug 2006 00:47:52 -0400
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>.
--
Chris F.A. Johnson <http://cfaj.freeshell.org>
===================================================================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
.
- Follow-Ups:
- Re: new CSS tutorial
- From: Nije Nego
- Re: new CSS tutorial
- From: jokla
- Re: new CSS tutorial
- References:
- new CSS tutorial
- From: spiffy
- Re: new CSS tutorial
- From: Chris F.A. Johnson
- Re: new CSS tutorial
- From: Chaddy2222
- new CSS tutorial
- Prev by Date: Re: new CSS tutorial
- Next by Date: Re: EI 6.0 doesn't like my idea for borders
- Previous by thread: Re: new CSS tutorial
- Next by thread: Re: new CSS tutorial
- Index(es):
Relevant Pages
|
Loading