Hello jp12,
You nest your slideshow in some unnecessary div elements. Have a look at
Divitis and how to avoid it.
When positioning an element, you need to decide what is relevant that it's positioned to. Using your existing markup, look how you can position that relative to #wrapper -
Code:
#wrapper {
width: 940px;
margin: 0 auto;
margin-top: 20px;
margin-bottom: 20px;
border: 3px solid #888;
background: #f5f5f5;
/* curved border radius */
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
position: relative;
}
#basic_slideshow {
height: 200px;
width: 940px;
position: absolute;
top: 100px;
left: 0;
}
...............
But,
does it really need positioning at all? Maybe it's better just to let the document flow naturally -
Code:
er {
width: 940px;
margin: 0 auto;
margin-top: 20px;
margin-bottom: 20px;
border: 3px solid #888;
background: #f5f5f5;
/* curved border radius */
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
}
#basic_slideshow {
height: 200px;
width: 940px;
clear: both;
}
nav {
width: 940px;
height: 50px;
margin: 0 auto;
background: #333;