Share » Forums » Developer » The use of paragraph breaks in code

The use of paragraph breaks in code

The use of paragraph breaks in code

Monday 31 March 2003 8:35:43 pm - 4 replies

Author Message

Jan Borsodi

Thursday 03 April 2003 3:04:57 am

Have you looked at the templates in design/standard/templates/content/datatype/view/ezxmltags?
They should give you the possibility to adjust the spacing between various elements, also changing the stylesheets might help.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Brendan Pike

Friday 16 May 2003 5:05:00 am

I am struggeling with a similar problem. I have tried everything but it seems the parser keeps throwing paragraph breaks in. Although removing the <p> from paragraph.tpl does remove the spaces between title and intro it also removes the paragraph breaks within the content itself.

Can you please tell me where I should be looking?

www.dbinformatics.com.au

We are always interested in hearing from experienced eZ PHP programmers and eZ template designers interested in contract work.

Paul Forsyth

Friday 16 May 2003 5:26:25 am

Look at the stylesheet you are using. If using the standard core.css you will see lines like:

/* REGULAR PARAGRAPHS */

p
{
padding-top: 0.5ex;
padding-bottom: 0.5ex;
margin: 0px;
}

Adjusting or overriding these may help. From what i remember the html the ezxmltags insert will use the css from core.css

Also look at the html source being produced. This will help to show exactly what html code and css tags (or lack of) are being applied, then look through the css file.

Hope this helps

Paul

Brendan Pike

Friday 16 May 2003 6:25:26 am

Thank Paul

That had been pissing me off for awhile. It was the missing paragraph info within the css I'm using.

Cheers

www.dbinformatics.com.au

We are always interested in hearing from experienced eZ PHP programmers and eZ template designers interested in contract work.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu