3217 Posts in 853 Topics by 812 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1219 Views |
-
First line of text overflows from div container

30 July 2009 at 3:50am Last edited: 30 July 2009 3:51am
Hi,
I've got an issue, I'm making my first theme and so far so good, but in a particular div, the text goes further than the size of the div container, but only for the first line of the paragraph and only for 30px or so. The text comes from a $content, and there's not fancy float.Do you guys have any idea how to resolve that ?
Thanks to all.
-
Re: First line of text overflows from div container

6 August 2009 at 3:06am
Can you screenshot what you mean? And show relevant code?
Have you positioned it absolutely?
-
Re: First line of text overflows from div container

6 August 2009 at 4:52pm
Also, this is going to be a CSS issue - not really anything to do with SilverStripe.
-
Re: First line of text overflows from div container

11 August 2009 at 3:03am
Hi and thanks for your remarks, so I will upload some code and pictures later this evening.
-
Re: First line of text overflows from div container

11 August 2009 at 8:19am
Hi !
So I worked it out, it seems like it had something to do with the $content text. As I only design the template I copyied/pasted some dumb text into the CMS, it seems like it didn't like it ( I presume it has to do with text formating )Anyway, everything is good now, thanks for all.
| 1219 Views | ||
|
Page:
1
|
Go to Top |



