Abhishek
Abhishek

Reputation: 516

HTML layout extra spacing due to relative positioning

I have uploaded an image on the following link which shows the layout of my html page. But I should stick to the following progress for making that layout(i.e. the fix ordering due to some restrictions and time problem).

http://tinyurl.com/9rs9m5y

The problem is the extra whitespace present below the content, which is arrived there due to the relative positioning(and yes I can't use absolute positioning too). Is there any way to remove that whitespace?

Upvotes: 0

Views: 66

Answers (1)

Diodeus - James MacFarlane
Diodeus - James MacFarlane

Reputation: 114347

There is absolutely no need for position:relative in this layout. You should be using FLOATS. Your SEARCH should be part of the HEADER and not hacked-into position using relative positioning. The same goes for your right navigation.

You seriously need to re-think your entire HTML structure.

Upvotes: 1

Related Questions