Spacing Issue on UL

5 posts by 2 authors in: Forums > CMS Builder
Last Post: February 18, 2009   (RSS)

By ThreeTree - February 10, 2009 - edited: February 10, 2009

I do not want a space before the list starts. The generated html is inserting a </p> before the list and I thought that might be the cause. I was unable to remove it. My CSS on the site indicates 0 bottom border on the item above it but this is ignored when I use CMS Builder to input the list data. My test version was html not php and worked as expected. Please view http://74.53.38.210/~riskacui/clients.php. This is the html version with correct spacing http://74.53.38.210/~riskacui/test/clients.htm

I've tried a number of approaches but can't seem to get rid of that space! This is my first client site using CMS Builder and I'm learning as I go. Your help appreciated.

*** I was persistent and edited the html in CMS Builder and removed a lot of generated code and it works now. I need to better undertand how to enter the text so that I don't generate extra html.****

Re: [ThreeTree] Spacing Issue on UL

By Dave - February 10, 2009

Hi ThreeTree,

So did you get this one figured out or did you still need help?

The wysiwyg tends to generate <p> tags around content. When they give extra spacing you can either adjust the <p> spacing with CSS or we have a code snippet to remove the <p> tag. In any case, let me know if you need any more assistance with this.

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Spacing Issue on UL

By ThreeTree - February 10, 2009

I'd like to know more about the code snipit. As not all fields on the site are client updateable refining the CSS for any possible circumstance may be difficult. I edited each WYSIWYG and removed the <p> but my clients will not be able to do that.

Re: [ThreeTree] Spacing Issue on UL

By Dave - February 10, 2009

Have a look at this post:
http://www.interactivetools.com/forum/gforum.cgi?post=63416#63416

Let me know if you have any other questions.
Dave Edis - Senior Developer
interactivetools.com