pjs/layout/html/tests/style/base/base.html

62 строки
825 B
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3c.org/TR/html4/strict.dtd">
<HTML>
<HEAD>
<TITLE>Base Style Regression Test</TITLE>
<STYLE>
HTML {
background: white;
}
BODY {
background-image: url(http://www.mozilla.org/images/mozilla-banner.gif);
background-color: black;
color: white;
padding: 2em;
margin: 1em;
border: 2px solid gray;
}
P {
color: yellow;
}
DIV {
background-color: blue;
color: yellow;
width: 200px;
max-width: 200px;
height: 500px;
max-height: 500px;
zindex: 1;
border: 5px dotted white;
}
DIV DIV{
background-color: green;
color: yellow;
}
DIV P {
color: white;
}
DIV DIV P {
background-color: red;
color: green;
}
</STYLE>
</HEAD>
<BODY>
<p>Paragraph 1</p>
<p>Paragraph 2</p>
<div>
<p>Paragraph 3</p>
<div>
<p>Paragraph 4</p>
</div>
</div>
</BODY>
</HTML>