You are here: Re: Web Design: Would you design a PDF by writing Postscript in Notepad? « HTML « IT news, forums, messages
Re: Web Design: Would you design a PDF by writing Postscript in Notepad?

Posted by Jonathan N. Little on 02/17/07 14:22

Toby A Inkster wrote:
> Jonathan N. Little wrote:
>
>> http://www.littleworksstudio.com/temp/usenet/alt.html.20070216.php
>
> This:
> <h1><span>A</span>NSEL <span>A</span>DAMS</h1>
> <h2><span>T</span>HE <span>P</span>HOTOCRAPHER OF THE <span>A</span>MERICAN <span>W</span>EST</h2>
>
> Would be better as:
> <h1>Ansel Adams</h1>
> <h2>The Photographer of the American West</h2>
>
> and the following CSS:
> H1, H2 { font-variant: small-caps; }
>

I considered it, but the author did not have basic small caps but
certain nouns within the string having oversize first letters. What I
should have done was write the heading in title case, use
text-transformation to all caps then have spans to bump up in size
letters as authors wish. Far better then the 'all image' text in the
original document.

> Arguably though, "The Photographer of the American West" is part of the
> main heading, in which case, you could even go to:
>
> <h1>Ansel Adams<br>
> <small>The Photographer of the American West</small></h1>

Yep semantically better.

H1 SMALL { display: block; } gives me more options down the road

>
> Also, you don't specify a font, leading to all text displaying in the
> browser default font. I would suggest:
>
> BODY { font-family: "Georgia", "Cochin", "Times New Roman", serif; }
>

Yes I would have if I had be hired to create his website! ;-)

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 

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

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