HTML and CSS Reference
In-Depth Information
In your style.css, just remove the default margin that
is being applied to the p tag.
The code would be something like this:
#hello div.slider p {
margin:0;
}
#hello div.slider p.thumbnail img {
display:block;
}
It's time to focus on the slider navigation now.
Since the buttons are displayed on top of the
thumbnail itself, lets have the container with a
position:relative;
Then create a new paragraph to include buttons,
but with position:absolute; property added so it can
stay on top the thumbnail.
#hello div.slider {
position:relative;
}
 
Search WWH ::




Custom Search