[dev] Spacing between menu <div> and content

Roel Gloudemans roel at gloudemans.info
Sun Feb 6 07:11:04 PST 2005


At the moment, almost each template (menu.inc) file specifies a <br /> 
after the top menu has been sent to the browser.

This causes a problem when creating a template in which you have to set 
the distance between to top menu and the page content. Isn't it better 
to specify a bottom margin for the #menu css class and erase the <br /> 
tags from the templates?

The attached image shows the Horde site I'm now working in which 
suffers from the <br /> (in the image the problem is already fixed)

Cheers,
Roel.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot-7.png
Type: image/png
Size: 23257 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20050206/44494c35/Screenshot-7-0001.png


More information about the dev mailing list