Re: Having layout breaking because of a whitespace?

2011-11-13 Thread heohni
Well, the funny thing is: When I take out the complete ul part, the white space is gone. So I am pretty sure, it's not within the elements, it somewhere inside the ul part. Also strange: If I take all out what I have inside the ul (and add an dummy li) the blank line is still there... My css

Re: Having layout breaking because of a whitespace?

2011-11-13 Thread Sam Sherlock
Really this is a css question. Using cake as your front end is not the cause of the whitespace. Perhaps some css applied to the container is adding space. Either way your question is better suited to a list such as webstandardsgroup.org/mail/ - S On 13 Nov 2011 09:20, heohni

Having layout breaking because of a whitespace?

2011-11-12 Thread heohni
Hi, in default.ctp: table width=100% cellpadding=0 cellspacing=0 tr td class=left_content?= $this- element('navigation',array('cache'=array('time'='+1 year','key'='nav')));?/td td class=container The element start in line 1 with: ?php $listCats = ''; $cats =

Re: Having layout breaking because of a whitespace?

2011-11-12 Thread mike karthauser
You've got a blank line in your view because you've set it in your element ?php $listCats = ''; $cats = $this-requestAction('objekt/ getCategories'); $cities = $this-requestAction('objekt/getCities');? ul class=topnav Tbh whitespace in your HTML shouldn't be an issue. If you are objecting due to