Contao Open Source CMS > Enhance > Extension list > [browsercss] CSS class for browser and system 1.2.1 stable

Extensions > browsercss

[browsercss] CSS class for browser and system

Adds the browser and system as CSS classes to the body element

This extension is obsolete with Contao 2.10. Please uninstall it and use the same feature which was added to the Contao core. Otherwise this extension will display a message that it is obsolete.

Adds the browser and system as CSS classes to the body element for an easy browser or system specific layout.

Advantages and Usage:
- Less HTTP-Requests than usingconditinal comments
- Creates CSS code which is easier to read/maintain than CSS hacks
- Works with all (implemented) browsers (see list below)
- Adds detection for operating systems, "mobile" and "aol"

The following browser CSS will be added:
opera, operamini, webtv, ie, iepocket, konqueror, icab, omniweb, firebird, firefox, iceweasel, shiretoko, mozilla, amaya, lynx, safari, iphone, ipod, ipad, chrome, android,
 blackberry, icecat, s60nokia, nokia
The first two parts of the browser version will be added. Examples: For Firefox 3.5.9 "firefox firefox3 firefox35" will be added, for Internet Explorer 6.0.x "ie ie6 ie60" will be added.

The following operating system CSS will be added:
windows, windowsce, apple, linux, os2, beos, iphone, ipod, ipad, blackberry, nokia, freebsd, openbsd, netbsd, sunos, opensolaris, android

The CSS code "aol" will be added for AOL browsers and "mobile" for mobile devices.

Version1.2.1 stableTypeFree
Release date2011-08-15CategoryPlugin
LicenseLGPL
Copyright© 2011 Jan Theofel, 2010-2011 ETES GmbH
AuthorJan Theofel (jan.theofel) http://www.theofel.de/
Release notes and change log for 1.2.1 stableOther versions

- Added obsolete message for Contao >2.10 (ticket #1877)

1.0.0 rc1
1.0.0 stable
1.0.1 stable
1.1.0 stable
1.1.1 stable
1.2.0 stable
Release downloads36Total downloads143
Release installs99Total installs411
Release updates25Total updates131
Dependencies of this extensionOther extensions depending on this one
NameVersion fromVersion to
Contao2.9.0 stable2.11.2 stable
browserdetection1.9.0 stable1.9.1 stable
NameVersion fromVersion to
PackageSizeDate
Contao_browsercss_10020019_5.zip48352012-04-05 02:00