public class Style extends Block
Modifier and Type | Field and Description |
---|---|
static String |
AlternateStyleSheet |
static String |
MEDIA |
static String |
screen |
static String |
STYLE |
static String |
StyleSheet |
static String |
text_css |
static String |
TYPE |
Constructor and Description |
---|
Style()
Construct a Style element
|
Style(String style)
Construct a Style element
|
Style(String style,
String type)
Construct a Style element.
|
Modifier and Type | Method and Description |
---|---|
Style |
comment()
Nest style content in comment
|
Style |
importStyle(String url)
Import another style sheet.
|
Style |
media(String m)
Set the media
|
add, contents, nest, replace, reset, setNest, size, unnest
public static final String STYLE
public static final String TYPE
public static final String MEDIA
public static final String StyleSheet
public static final String AlternateStyleSheet
public static final String text_css
public static final String screen
Copyright © 2013. All Rights Reserved.