org.mortbay.html
public class Style extends Block
Field Summary | |
---|---|
static String | AlternateStyleSheet |
static String | MEDIA |
static String | screen |
static String | StyleSheet |
static String | STYLE |
static String | text_css |
static String | TYPE |
Constructor Summary | |
---|---|
Style(String style, String type) Construct a Style element. | |
Style(String style) Construct a Style element | |
Style() Construct a Style element |
Method Summary | |
---|---|
Style | comment() Nest style content in comment |
Style | importStyle(String url) Import another style sheet. |
Style | media(String m) Set the media |
Parameters: type Format of Style
Parameters: url The URL to import
Returns: This style