You are here: Re: new CSS tutorial « HTML « IT news, forums, messages
Re: new CSS tutorial

Posted by Chris F.A. Johnson on 08/06/06 04:47

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)

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация