You are here: Re: IE7 comments? « HTML « IT news, forums, messages
Re: IE7 comments?

Posted by Nick Theodorakis on 03/25/06 23:10

Dylan Parry wrote:
> Pondering the eternal question of "Hobnobs or Rich Tea?", Nick
> Theodorakis finally proclaimed:
>
>> Any support for selectors like adjacent sibling (e.g., h2 + p) and
>> attribute selectors?
>
> Do you have a link to a page that demonstrates these? Then I can let you
> know :)
>

I use adjacent sibling combined with a first-letter pseudoclass here:

<http://theodorakis.net/blockcenter.html>

and on some other pages.

The relevant CSS is:

h1 + p:first-letter, h2 + p:first-letter, h3 + p:first-letter, h4 +
p:first-letter
{
font-size: 1.8em;
font-weight: bold;
font-family: Georgia, "Times New Roman", Times, serif;
vertical-align: bottom;
}

(which is in the file:

<http://theodorakis.net/article.css>

Effect is visible in Mozilla/Firefox but not in MSIE v6 or less.

Nick

--
Nick Theodorakis
nick_theodorakis@hotmail.com
contact form:
http://theodorakis.net/contact.html

 

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

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