Jump to:

23483 Posts in 18976 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » mysterious CSS spacing issue in SS for $content place holder content

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 965 Views
  • TF-35Lightning
    Avatar
    Community Member
    137 Posts

    mysterious CSS spacing issue in SS for $content place holder content Link to this post

    Hi all,

    I am trying to work out why my content seems to start 10px, almost the size of a standard <br>, down from its actual $Content content place holder. (I've checked the html of the content and there is nothing in there to indicate why it would be space so much downward. A <p> is placed before the content.

    Also when I have a long line text and it is automatically forced down to the next line, well height between the 2 lines seems to be about 3px bigger than what is on a normal plain html page.

    I am working in the typography.css, editor.css css pages and non of the elements there have any settings for this behaviour, so I am wondering if these 2 behaviours is being picked up from some other peice of css lying around SS.

    Any help would be great

  • JoshuaLewis
    Avatar
    Community Member
    76 Posts

    Re: mysterious CSS spacing issue in SS for $content place holder content Link to this post

    Try using something like Firebug on Firefox or Dragonfly on Opera to inspect the page. This should show you exactly what styles are being applied to each element and where they are coming from.

    965 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.