A CSS ‘sticky’
-
Here is the CSS to be put into wp-layout.css
.sticky {
border: 1px solid #ccc;
margin: 5px 5px;
padding: .5em .5em;
background-color: #669966;
}
In index.php, enter the code here, just under the content:
<div id="content">
<div class="sticky">
Blah blah blah
</div>
Page still validates.
Might be of use to someone.
::Forgot to say that line breaks have to be entered with
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘A CSS ‘sticky’’ is closed to new replies.