10.dubna 2013

PC a internet CSS je case senzitivní

CSS je case senzitivní - tedy předněji trochu. A od verze IE 10 to začalo fungovat:

CSS2 section 4.1.3 says

All CSS style sheets are case-insensitive, except for parts that are not under the control of CSS. For example, the case-sensitivity of values of the HTML attributes "id" and "class", of font names, and of URIs lies outside the scope of this specification. Note in particular that element names are case-insensitive in HTML, but case-sensitive in XML.

This case sensitivity is noted in HTML 4.0. Id and class are described in section 7.5.2, which says they are case sensitive.

Česky řečeno, CSS není case senzitivní, mimo atributy ID a CLASS. Takže tot prostě fungovat nebude:

<style type="text/css">
.blue { color: blue; }
<h1 class="BLUE">Toto chci modře</h1>

A validátor to jako chybu neohlásí, protože kód prostě validní je. A já mám pět hodin v háji :(

Hledáte-li správce sítě nebo prostě nekoho kdo umí spravovat servery, hledejte na www.petr-hladis.cz

Přečteno: 3254x | Komentářů: 15x | Kategorie: PC a internet

Komentáře čtenářů

1. GRAVATAR - Teclilk@newonlinemail.xyzAudiple2. 9. 2022 2:32:00
<a href=http://cialisfstdelvri.com/>discreet cialis meds</a> Our computer simulation studies have indicated that this underutilization of screening probably increases the breast cancer death rate by 50
2. GRAVATAR - Nalmabalk@newonlinemail.xyzNalmabalk4. 9. 2022 8:56:00
<a href=https://buypriligyo.com/>Priligy</a> Therefore, treatments for erectile dysfunction, including CIALIS, should not be used in men for whom sexual activity is inadvisable as a result of their underlying cardiovascular status

Reklama ETARGET:

3. GRAVATAR - rerwhonry@newonlinemail.xyzrerwhonry6. 9. 2022 8:02:00
Tadalafil present in Cialis 5 mg stops PDE 5 from destroying cGMP <a href=http://vtopcial.com/>buy cialis cheap</a>
4. GRAVATAR - Floague@newonlinemail.xyzFloague8. 9. 2022 16:28:00
<a href=http://cheapcialiss.com/>purchasing cialis online</a> Chewable Sildenafil
5. GRAVATAR - SaulaHoox@newonlinemail.xyzSaulaHoox11. 9. 2022 6:55:00
<a href=https://clomida.com/>clomid</a> Tonight I will be on my 3rd pill and am really hoping this will do the trick.
6. GRAVATAR - SotoEnted@newonlinemail.xyzSotoEnted14. 9. 2022 9:41:00
<a href=https://tamoxifenolvadex.com/>aromatase inhibitors versus tamoxifen</a>
7. GRAVATAR - Geargenal@newonlinemail.xyzGeargenal18. 9. 2022 14:17:00
For more information on this disorder, choose frontotemporal dementia as your search term in the Rare Disease Database. <a href=https://buydoxycyclineon.com/>doxycycline brand name</a> Aneurysmal bone cysts are benign, locally aggressive bone tumors with high rates of recurrence after treatment that usually affect children and adolescents 1, 4, 5.

Reklama ETARGET:

8. GRAVATAR - cliemiz@mailuk.sitecliemiz14. 10. 2022 17:22:00
The ginsenosides 20 S Protopanaxatriol 119 was transformed by a fungus Mucor spinosus AS 3 <a href=http://bestcialis20mg.com/>is cialis generic</a> Overall, these early signs of activity indicate that exploration of inhibition of cytokine pathways in ER breast cancer patients warrants further clinical investigation
9. GRAVATAR - plaubbida@benjaminmail.xyzplaubbida30. 10. 2022 4:25:00
<a href=https://stromectol.autos/>ivermectina stromectol para que sirve</a> 03 in the current thirdquarter
10. GRAVATAR - Quexerolo@benjaminmail.xyzQuexerolo11. 11. 2022 15:46:00
<a href=https://nolvadex.one/>tamoxifen action</a> 1998; Mignot et al
11. GRAVATAR - Zootthory@newonlinemail.xyzZootthory12. 11. 2022 10:53:00
By the time we re done with this series, you ll know all you need toconstruct your own effective and safe cycles <a href=https://priligy.me/>priligy united states</a> Nestin structure and assembly into intermediate filament
12. GRAVATAR - addedetem@mailuk.siteaddedetem15. 11. 2022 17:58:00
38 see also Section 1 <a href=http://clomid.mom/>what is clomiphene therapy</a> All responses were received between February 1st and 20th 2017

Reklama ETARGET:

13. GRAVATAR - duchthusy@barrettmail.xyzduchthusy16. 11. 2022 11:50:00
<a href=https://lasix.autos/>lasix and hyponatremia</a> Mariah bmixvtAzFmWaJ 6 19 2022
14. GRAVATAR - Slaldycle@topmailnew.xyzSlaldycle19. 11. 2022 21:58:00
The Frizzled proteins are receptors for the growth survival factors of the Wnt family <a href=http://doxycycline.world/>bay doxycycline</a>
15. GRAVATAR - stirutt@newonlinemail.xyzstirutt22. 11. 2022 13:03:00
cialis 3v lithium battery As we near the deadline for Millennium Development Goals and the Education for All goals many of which are far from being achieved world leaders must remember this simple truth education transforms lives <a href=https://stromectol.ink/>stromectol price in india</a> Neovascularization is one of the hallmarks of cancer as it is a necessary process to provide tumor with its metabolic requirements, while simultaneously creating an escape route by which cancer cells will disseminate 1, 2

Přidat vlastní komentář k článku

Z důvovů ochrany proti spamu prosím do následujícího políčka napište texy "NOSPAM":

Chcete-li ke komentáři přidat svou fotku nebo jinou ikonku, postupujte podle návodu.