[All Adaptavist Apps]
...
Our recommendation: Always include the inbuilt CSS unless you're willing to do a lot of extra work on your own Custom CSS.
Expand | ||||
---|---|---|---|---|
| ||||
Currently the only browser-specific CSS you can add is for Internet Explorer 5.5 and above using the IE CSS resource. At present, there's no way to add CSS for specific versions of Internet Explorer or other browsers. It's on our to-do list and will hopefully appear in a future version of the plugin. |
Expand | ||||
---|---|---|---|---|
| ||||
Define your main CSS in a parent layout and then create child layouts based on that parent layout - by default the CSS defined in the parent layout will be included in all the child layouts. Changing the CSS in the parent layout will instantly update all the child layouts. You can add additional CSS in the child layouts using the Custom CSS and IE CSS resources. If you add styles to the child layout that are already defined in the parent layout, they will override the styles defined in the parent layout because they are output after the parent layout styles. (hope that makes sense!) The Merge this layout's CSS with it's parent's setting allows you to define whether a child layout also includes the CSS from the parent layout. |
Expand | ||||
---|---|---|---|---|
| ||||
Simply include the appropriate panel class in your style definition. For example, if you wanted to make the Heading 1 text in the left sidebar red, you would define:
For a list of the available panel classes, please see Panel Classes and IDs. |
Expand | ||||
---|---|---|---|---|
| ||||
The easiest way to solve this problem is to make your style definition more "specific" than that of the inbuilt CSS. To make styles more specific, simply include more of the "path" to the element you want to style. For example, you could create a specific style for the text used in list items in the content panel as follows:
|
Expand | ||||||
---|---|---|---|---|---|---|
| ||||||
Internet Explorer has a really nasty bug. It only looks at the last class! For example, let's say you have CSS like this:
And then somewhere on a wiki page the following notation:
In all other browsers, the text colours will be correct. However in Internet Explorer all of the text would be red! This is because Internet Explorer sees To work around this problem, you need to make slight tweaks, for example:
So Internet Explorer sees |
Expand | ||||
---|---|---|---|---|
| ||||
Some browsers (Internet Explorer) and some web pages (generally XHTML pages) result in case-sensitive CSS. For example, if you had this on a wiki page:
Your style definition would need to be:
|
Expand | ||||
---|---|---|---|---|
| ||||
Read Layout Hierarchy to find out |
The following pages contain additional useful information relating to style sheets:
...