You are here: Re: Formatting links « HTML « IT news, forums, messages
Re: Formatting links

Posted by Mitja Trampus on 11/22/05 10:48

David 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.
>
> Maybe the only way to resolve it is to create a new link class with the
> characteristics of the h2 class,

I haven't tried that, but I suppose setting font-size,
font-family and font-weight to "inherit" for all "a"
elements should do what you want. Just take care that you do
not make the links too much like the surrounding text, or
they will be hard to spot.

 

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

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