Jump to content

This is the support site for Andrews & Arnold Ltd, a UK Internet provider. Information on these pages is generally for our customers but may be useful to others, enjoy!

FireBrick Custom CSS: Difference between revisions

m
Example split off, for greater visibility
m (Headers added)
m (Example split off, for greater visibility)
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#000080', endColorstr='#202080')";
}
</syntaxhighlight>
 
== Example - changing font size ==
 
The following example CSS greatly reduces the font sizes in use in the Firebrick's web pages -
 
<syntaxhighlight lang=css>
@media screen
{
div.main, div.sidemenu div.menu a
{
font-size:x-small
}
}
</syntaxhighlight>
 
== Internal inline CSS - using data URIs ==
 
To avoid having to use an external website to store your custom CSS, you can employ a "data:" uri. Be aware that there may be a limit on the length of URIs however. The following example greatly reduces the font sizes in use in the Firebrick's web pages -Example:
 
<syntaxhighlight lang=xml><http css-url="data:text/css,@media screen{div.main,div.sidemenu div.menu a{font-size:x-small}}" />
</syntaxhighlight>
 
252

edits