faking line break with CSS
Posted: Wed Jan 11, 2012 8:36 pm
Hi,
I have a particular case where my node include an "<l/>" element which is suppose to mean "Line Break" later in the next of the process.
I tried to select it by CSS and put as content the entity carriage return "& #13;" (without space). But it doesn't do it!
Then I tried to "display:block" this element but there a space between my two lines (like between two paragraphs) and un don't want it...
An idea to put a linebreak instead of this element only with CSS ?
Thank you,
Vincent.
I have a particular case where my node include an "<l/>" element which is suppose to mean "Line Break" later in the next of the process.
Code: Select all
<element>First line<l/>Seconde line</element>
Then I tried to "display:block" this element but there a space between my two lines (like between two paragraphs) and un don't want it...
An idea to put a linebreak instead of this element only with CSS ?
Thank you,
Vincent.