I'm afraid Garland theme and multiple Exposed Filters are not compatible. Many Exposed Filters breaks the theme by pushing the theme middle window into the left column. Please see attached.
I haven't checked the output of exposed filters, but it's almost certainly to do with the way that IE handles display:inline,
If you have markup like this:
<ul><li></li></ul>
It doesn't wrap.
WIth markup like this:
<ul>
<li>
</li>
</ul>
It does, due to the whitespace/new line. Drupal-generated code is often like the first, i.e. theme_item_list - I had to override it to add newlines for my site for something else, documented here: http://drupal.org/node/199861
If you could view source on those exposed filters and let us know if it all appears on one line, that'd probably be a good start. Also please check on firefox (which ought to wrap, since it doesn't suffer from the same bug).
Well afaik table rows don't wrap. In fact it's quite likely that merlinofchaos has used tables precisely to stop them wrapping in different theme situations. I've not tried it, but you could try something like floating td right - but you're into hack territory there.
Dunno what I was thinking moving this to garland, must've been a bad day. So back to active and views. @thomasmurphy, yes there is, but this has nothing much to do with using tables for layout which is the root of the issue.
Comments
Comment #1
catchThis is a theme issue, not a views issue.
Comment #2
esadot commentedThanks. Any idea how to solve it, or alternatively where to take it?
Comment #3
catchI haven't checked the output of exposed filters, but it's almost certainly to do with the way that IE handles
display:inline,If you have markup like this:
It doesn't wrap.
WIth markup like this:
It does, due to the whitespace/new line. Drupal-generated code is often like the first, i.e. theme_item_list - I had to override it to add newlines for my site for something else, documented here: http://drupal.org/node/199861
If you could view source on those exposed filters and let us know if it all appears on one line, that'd probably be a good start. Also please check on firefox (which ought to wrap, since it doesn't suffer from the same bug).
Comment #4
esadot commentedcatch - thanks for your reply. I'm afraid the anomaly occurs in FF as well as in IE.
I believe this is the html source code:
Comment #5
catchWell afaik table rows don't wrap. In fact it's quite likely that merlinofchaos has used tables precisely to stop them wrapping in different theme situations. I've not tried it, but you could try something like floating td right - but you're into hack territory there.
Comment #6
Stefan Nagtegaal commentedI'm sorry, but this has nothing nodo with Garland..
This is a bad UI, which should be taken care of...
Comment #7
thomasmurphy commentedyup, this is annoying, does anyone know where the inline nature of exposed filters is defined. Is there a css for views?
Comment #8
catchDunno what I was thinking moving this to garland, must've been a bad day. So back to active and views. @thomasmurphy, yes there is, but this has nothing much to do with using tables for layout which is the root of the issue.
Comment #9
pounardYou can override the theme function theme_views_filters().
You can put your form in whatever you want, this not a theme issue, nor a module issue, this is just themable.
Comment #10
general need commented@pounard - are you able to expand upon what you said. It sounds like that's what I need to do... I just don't understand it.
Comment #11
merlinofchaos commentedThis thread has lots of good info: http://drupal.org/node/79302
Comment #12
pounard+1