-
Path: news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
From: Paweł Piskorz <n...@p...nie?>
Newsgroups: pl.comp.www
Subject: Re: HTML/CSS - formatowanie newsów w 2 kolumnach
Date: Thu, 12 Jan 2012 15:42:32 +0100
Organization: "Portal Gazeta.pl -> http://www.gazeta.pl"
Lines: 30
Message-ID: <jemrgr$8ev$1@inews.gazeta.pl>
References: <11l0mrhfo0tmd$.1puybgf9nfmw6.dlg@40tude.net>
<jecbo3$8mo$1@inews.gazeta.pl> <jekvhe$4br$1@inews.gazeta.pl>
NNTP-Posting-Host: 213-238-86-114.adsl.inetia.pl
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: inews.gazeta.pl 1326379355 8671 213.238.86.114 (12 Jan 2012 14:42:35 GMT)
X-Complaints-To: u...@a...pl
NNTP-Posting-Date: Thu, 12 Jan 2012 14:42:35 +0000 (UTC)
X-User: uhorek
In-Reply-To: <jekvhe$4br$1@inews.gazeta.pl>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222
Thunderbird/9.0.1 Hamster/2.1.0.11
Xref: news-archive.icm.edu.pl pl.comp.www:400184
[ ukryj nagłówki ]W dniu 2012-01-11 22:38, olo pisze:
> W dniu 08.01.2012 16:11, Cezary Tomczyk pisze:
>> Tyle, że IE (do 8 wersji) nie wspiera go.
>
> co o ile mi wiadomo można łatwo obejść dodając osobny arkusz stylów dla IE:
>
> #cos element:nth-child(3) = #cos element + element + element (dla IE)
Podany przez Ciebie selektor dla IE złapie trzeci element i wszystkie
następne.
#cos element:nth-child(3)
jest równoważne z
#cos element:first-child + element + element
Zaś w omawianym przypadku przyda się raczej
#cos element:nth-child(2n+1)
albo
#cos element:nth-child(odd)
co jest równoważne z:
#cos element:first-child,
#cos element:first-child + element + element,
#cos element:first-child + element + element + element + element
i tak dalej, także jeżeli chcesz mieć dużo tych elementów to się sporo
naklepiesz :)
--
message[autor="PablO"]::after {
content:"Pozdrawiam";
}
Najnowsze wątki z tej grupy
- Perfidne ataki krakerów z KRLD na skrypciarzy JS i Pajton
- Do sądu trafił pozew zbiorowy przeciw Google'owi - oskarżenie o praktyki monopolistyczne na rynku reklamy internetowej
- Jakie znacie działające serwery grup dyskusyjnych?
- is it live this group at news.icm.edu.pl
- php, linki z nazwami a $_GET, SEO
- www polityka pl captcha
- dyktatura brudnego palucha
- www.znanylekarz.pl
- Czy pytanie o sczytywanie stron programami/skryptami to tu?
- Grupy webdevowe
- Jak wydrukować stronę?
- IIS, kilka witryn
- linki <a href="/strona.php"> (ze slashami)
- co rozszerza stronę??
- responsywny akapit <p>
Najnowsze wątki
- 2025-06-19 Gdynia => Sales Executive / KAM <=
- 2025-06-19 Warszawa => IT Business Analyst (projects in the telco sector) <=
- 2025-06-19 Lublin => Programista Delphi <=
- 2025-06-19 Warszawa => Scrum Master <=
- 2025-06-19 Warszawa => Solution Architect <=
- 2025-06-19 Warszawa => Software Solution Architect <=
- 2025-06-19 Zakrzewo => Konsultant SAP HCM <=
- 2025-06-19 Zakrzewo => SAP HCM Consultant <=
- 2025-06-19 Poznań => SAP HCR Consultant <=
- 2025-06-19 6,756,000 car crashes in the United States in 2019 with 36,096 fatalities.
- 2025-06-19 6,756,000 car crashes in the United States in 2019 with 36,096 fatalities.
- 2025-06-18 Poseł KO mecenas Giertych został pouczony o obowiązującym prawie [z SN]
- 2025-06-18 112
- 2025-06-18 Poznań => MLOps Engineer <=
- 2025-06-18 Gdańsk => Mainframe (z/OS, Assembler) Developer <=