Thanks.I'll go by your suggestion and practice CSS in free time. However I am have to complete my current application as soon as possible. The application is complete only thing is that top space is coming above the banner.I took it as a small issue but it has taken several hours of me to resolve. I will try the step you have said.
You have two line breaks (<br> elements) at the top of the <body>, these will add two lines of space. If you don't want that space, don't put the line breaks in.
Also you have an <img> and a <table> element inside the <head>, since the <head> is for content which isn't displayed it's unlikely to work the way you expect it to, it's also invalid HTML which may force browsers into some sort of quirks mode leading to yet more issues.
Thanks a ton Bear. That worked perfectly. Its high time I practice css with sample projects.I was confused by the rules of css thinking if I write body there locatin of entire elements in body will get disturbed. Thanks again for your patience.
posted 7 years ago
It was resolved successfully using the suggestion but the most surprising thing is my image is in header (not body) and removing the margin padding of Body resolves it(when image is in header not body)