mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-15 04:13:11 +00:00
23aae7c7f3
As specified in section 15.3.3 of the HTML spec.
16 lines
399 B
HTML
16 lines
399 B
HTML
<style>
|
|
.square {
|
|
width: 100px;
|
|
height: 100px;
|
|
background-color:green
|
|
}
|
|
</style>
|
|
|
|
|
|
<div align="right">This text and the green square are both right aligned: <div class="square"></div>
|
|
<div align="left">
|
|
This text and the green square are both left aligned despite being nested in a div with align="right":
|
|
<div class="square"/>
|
|
</div>
|
|
</div>
|