CSS:
.carouselMainImage img
{
height: 285px;
width:98%;
margin: 3px;
padding: 6px;
}
HTML:
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sanjeeb LenkaPosted Jul 11, 2013, 4:58 AM
Just change the style sheet code of Style.css of header.
#header
{
width:100%;
height:50px;
background-color:Purple;
text-align:center;
top:0px;
z-index: 100;
position:fixed;
}
i add this line to your Style.css. it will make your div always in the top
any problem reply
David SmithPosted Jul 11, 2013, 4:41 PM
Sanjeeb LenkaPosted Jul 11, 2013, 1:44 PM
http://www.vanseodesign.com/css/css-stack-z-index/
David SmithPosted Jul 11, 2013, 1:12 PM
Sanjeeb LenkaPosted Jul 11, 2013, 12:46 PM
David SmithPosted Jul 11, 2013, 12:19 PM
Sanjeeb LenkaPosted Jul 11, 2013, 11:26 AM
http://www.w3schools.com/cssref/tryit.asp?filename=trycss_zindex
David SmithPosted Jul 11, 2013, 9:11 AM
Sanjeeb LenkaPosted Jul 11, 2013, 5:17 AM
Definition and Usage
The z-index property specifies the stack order of an element.An element with greater stack order is always in front of an element with a lower stack order.
Note: z-index only works on positioned elements (position:absolute, position:relative, or position:fixed).
http://www.w3schools.com/cssref/pr_pos_z-index.asp
Iftikar HussainPosted Jul 11, 2013, 5:16 AM
http://www.w3schools.com/cssref/pr_pos_z-index.asp
Regards,
Iftikar
David SmithPosted Jul 11, 2013, 5:11 AM
David SmithPosted Jul 11, 2013, 4:10 AM
David SmithPosted Jul 11, 2013, 3:46 AM
Iftikar HussainPosted Jul 11, 2013, 3:13 AM
Can you share your complete html and css code?
Regards,
Iftikar