Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #slider {
- width:940px;
- height:400px;
- display: block;
- clear: left;
- position: absolute;
- top: 0px;
- left: 50%;
- margin-left: -960px; /* change it with -(width_image_dimension/2). If the image is 940px wide, change it with -(940/2) = -470px */
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement