Reply to Re: Formatting links

Your name:

Reply:


Posted by Barbara de Zoete on 11/22/05 10:14

On Tue, 22 Nov 2005 08:46:31 +0100, David <anonymous@anonymous_one.com>
wrote:

> Leonard Blaisdell wrote:
>
>> You can't put a block element <h2> inside an inline element <a>. Do
>> <h2><a href="welcome.html">Welcome</a></h2> which puts the inline
>> inside the block.
>
> But doing that doesn't result in the output I want in either IE or FF.
> It outputs the 'Welcome' in small letters, compared to the big letters
> of regular h2 format.

There shouldn't be a difference in appearance between <h2>Welcome</h2> and
<h2><a>Welcome</a></h2>. If there is, you probably have created the
difference yourself by setting some font-size value for <a></a>.

Besides that, it doesn't matter what it looks like. Looks are something
you take care of outside the markup, with css. Setup a style for the
selector [ h2 a ].



--
,-- --<--@ -- PretLetters: 'woest wyf', met vele interesses: ----------.
| weblog | http://home.wanadoo.nl/b.de.zoete/_private/weblog.html |
| webontwerp | http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html |
|zweefvliegen | http://home.wanadoo.nl/b.de.zoete/html/vliegen.html |
`-------------------------------------------------- --<--@ ------------'

[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

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