Here is the fiddle :

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

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 {
    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 developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.