Here is the fiddle : http://jsfiddle.net/terryds/2QNK3/

The problem is the black bar at the top of the page... It should have 5px margin-bottom.. But, it doesn't...
Please help me fix it...

Recommended Answers

.topblack {
    position:relative;
    padding-top: 5px;
}
Jump to Post

All 3 Replies

Not sure but I think it's not recommended you place HTML elements outside your <body> tags (which is what your CSS is doing with the black bar).

.topblack {
    position:relative;
    padding-top: 5px;
}

Thanks for your answer, pritaeas... It's working now...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.