How to deal with displaying several result generated with "WHERE" condition

13 posts by 4 authors in: Forums > CMS Builder
Last Post: January 27, 2010   (RSS)

Re: [petejdg] How to deal with displaying several result generated with "WHERE" condition

By Chris - January 26, 2010 - edited: January 26, 2010

Hi petejdg,

You'll need to add a "clear" command to reset things after all your floats. This CSS will do this trick:

.linklooper H2 { clear: both; }

Secondly, your linklooper's width of 600px isn't quite wide enough for three of your divs, since 3*(160px + 2*15px(margin) + 2*5px(padding) + 2*1px(border)) == 606px. If you increase the width of .linklooper, you should be able to get three across.

Firebug for the win! :D

I hope this helps. Please let me know if you have any questions.
All the best,
Chris

Re: [chris] How to deal with displaying several result generated with "WHERE" condition

By petejdg - January 27, 2010

Wow, thanks, it worked like a charm - I wasn't even thinking in that direction. Also, I guess I need to brush up on my math!
thanks!