Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2006
    Posts
    19
    Plugin Contributions
    0

    How to prevent big gap between text Paragraphs

    Hi everyone,

    Does anyone know how i can prevent the Double line space between Paragraphs from occurring, when adding text via the 'Define Page Editor'? I was copying the text from word into the editor, but was advised against that. However when copying the text from a plain text editor such as notepad, I’m still getting the problem.

    I've selected all text (Ctrl + A) and formatted as - Verdana, 1(8 pt), Normal.

    I would prefer to edit the text in 'Define Page Editor' as i'll be handing the site over to Kim, but if i have to alter the actual php file with a text editor then so be it.

    Site is www.kim-roebuck.com
    Zencart : Version 1.3

    Thanks in advance for your time and help,

    Lance

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: How to prevent big gap between text Paragraphs

    I don't know about the Define Page Editor entry, but in Notepad, unless you have wrap set to off (in Format I believe) you will get odd results like a double return.

  3. #3
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: How to prevent big gap between text Paragraphs

    Lance

    Unless you have altered them yourself, your paragraphs will be spaced using the browser default margins. The one that is particularly relevant to you is margin-top. If you add something like
    p {margin-top:0.5em}
    to your stylesheet, you override the browser defaults and should see the gap roughly halve. You can adjust the number of ems to suit your tatse. Do use ems as your unit though, as that way the gap will be proportionate to the size of the text.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  4. #4
    Join Date
    Apr 2006
    Posts
    19
    Plugin Contributions
    0

    Default Re: How to prevent big gap between text Paragraphs

    Thanks kuroi,

    Yor advise sent me searching through the net, and i fond what i was looking for.

    In the end i applied this to reduce the gaps between the paraghraphs. The main one, being 'margin'.

    p {margin: 0.5em; padding-top: 0.5em; }

    Thanks again,

    Lance

 

 

Similar Threads

  1. Big Gap Between Products
    By nolsowski in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 14 Jul 2011, 04:16 PM
  2. Increasing gap between text lines
    By Matt Smith in forum Basic Configuration
    Replies: 1
    Last Post: 2 Jul 2009, 11:41 AM
  3. How to add a gap between products
    By dasonix in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 14 May 2007, 01:46 PM
  4. Gap between header and text
    By NickJRE in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 9 May 2007, 01:59 PM
  5. Big gap between attributes being caused by add to cart button
    By dinki in forum Templates, Stylesheets, Page Layout
    Replies: 20
    Last Post: 22 Feb 2007, 09:58 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR