You are browsing the old Contao 3 extension repository. Contao 3 is no longer maintained as of June 2019! You can find the Contao 4 extensions on extensions.contao.org.

Extensions > browsercss

CSS class for browser and system

[browsercss]

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.

Version
1.2.1
Type
Free
Release date
15.08.2011
Category
Plugin
License
LGPL
Copyright
© 2011 Jan Theofel, 2010-2011 ETES GmbH
Author
Jan Theofel (jan.theofel) http://www.theofel.com/
Release notes and change log for 1.2.1
Other versions

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

Release functionality
 
Total functionality
0.00
Release usability
 
Total usability
0.00
Release quality
 
Total quality
0.00
Release rating
 
Total rating
0.00 (0 votes)
Release downloads
85
Total downloads
225
Release installs
167
Total installs
478
Release updates
63
Total updates
174
Dependencies of this extension
Other extensions depending on this one
Name
Version from
Version to
Contao
2.9.0
2.11.2
1.9.0
1.9.1
Name
Version from
Version to