[dev] Spacing between menu <div> and content

Jan Schneider jan at horde.org
Sun Feb 6 07:42:38 PST 2005


Zitat von Roel Gloudemans <roel at gloudemans.info>:

> 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?

That would have been a better solution, but changing this now would 
break the layout for people that don't upgrade everything at once. A 
solution would be to set the #menu margin in the applications' 
screen.css, but that would be a lot of redundant CSS code.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/


More information about the dev mailing list