Reply to Re: images always in the same line (like word-wrap)

Your name:

Reply:


Posted by Jukka K. Korpela on 05/05/07 13:29

Scripsit Ben C:

>> Alternatively, <nobr>...</nobr> could be used. It will make people
>> who swear by standards upset, and it will make browsers honor the
>> request not to break the line, even when CSS is disabled.
>
> In that case why not go back to <font>, <center> etc. for when CSS is
> disabled?

Because writing <font face="Constantia, Georgia, sans-serif">...</font>
inside each block in each document where you wish to use it is more
cumbersome than writing, say, body { font-family: Constantia, Georgia,
sans-serif; } just once in a stylesheet. Compare this with the difference
between
<nobr>A-1</nobr>
and
<span style="white-space: nowrap">A-1</span>
(where the author misspells white-space or nowrap every other time :-) ).

Similarly, using h1 { text-align: center; } in a site-wide style sheet is
just _simpler_ than using <center><h1>...</h1></center> or even <h1
align="center">...</h1>.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

[Back to original 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

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