<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[PunBB Forums — letter-spacing and the disappearing br]]></title>
		<link>https://punbb.informer.com/forums/topic/3696/letterspacing-and-the-disappearing-br/</link>
		<atom:link href="https://punbb.informer.com/forums/feed/rss/topic/3696/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in letter-spacing and the disappearing br.]]></description>
		<lastBuildDate>Mon, 26 Apr 2004 03:09:53 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: letter-spacing and the disappearing br]]></title>
			<link>https://punbb.informer.com/forums/post/12869/#p12869</link>
			<description><![CDATA[<p>Thanks very much! It&#039;s working nicely now. I think I&#039;ll start testing style problems in Mozilla as well. <img src="https://punbb.informer.com/forums/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p>]]></description>
			<author><![CDATA[null@example.com (Alrescha)]]></author>
			<pubDate>Mon, 26 Apr 2004 03:09:53 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/12869/#p12869</guid>
		</item>
		<item>
			<title><![CDATA[Re: letter-spacing and the disappearing br]]></title>
			<link>https://punbb.informer.com/forums/post/12854/#p12854</link>
			<description><![CDATA[<p>This is a known IE bug. What happens is that when letter spacing is set the second &lt;br&gt; fails to render. If you have a look in Mozilla you should find that things works normally; at least they did when I tried it. I will have a look round the usual places and see if anybody has an easy fix for this.</p><p>You are right about the &lt;br&gt; tag and, I believe, they will be fixed for the next major release which will validate as XHTML.</p><p>EDIT.</p><p>Didn&#039;t need to look after all, just think. This is not particularly elegant as a solution but it does work.<br />Go to line 312 in parser.php and change it to this<br /></p><div class="codebox"><pre><code>$replace = array(&#039;&lt;span style=&quot;letter-spacing:normal&quot;&gt;&lt;br&gt;&lt;/span&gt;&#039;, &#039;    &#039;, &#039;  &#039;, &#039;  &#039;);</code></pre></div><p>All this bit of code actually does is turn letter spacing off before the &lt;br&gt; tags are rendered and then it is turned back on again for the next line of text. You can also solve the problem using a non-breaking space but this will result in indented text.</p><p>You may have to make other adjustments in parser.php, infact wherever you see two &lt;br&gt; tags used. The method is the same in all cases though, just wrap them in a span which sets letter-spacing:normal.</p>]]></description>
			<author><![CDATA[null@example.com (Paul)]]></author>
			<pubDate>Sun, 25 Apr 2004 19:07:59 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/12854/#p12854</guid>
		</item>
		<item>
			<title><![CDATA[letter-spacing and the disappearing br]]></title>
			<link>https://punbb.informer.com/forums/post/12826/#p12826</link>
			<description><![CDATA[<p>With multiple multiline paragraphs, the defaul style displays the br&#039;s correctly and gives the appearance of paragraphing. But when I add into .puntext the letter-spacing: 1px; statement, the br&#039;s disappear and paragraphcs stick to one another.</p><p>(I need to space out the individual characters slightly, otherwise with PunBB&#039;s default style settings, Chinese content are a pain to read.)</p><p>Any pointers would be appreciated.</p><p>PS: I thought the tags must be &lt;br /&gt; to be validated? The source that 1.1.3 produces use only &lt;br&gt;.</p>]]></description>
			<author><![CDATA[null@example.com (Alrescha)]]></author>
			<pubDate>Sun, 25 Apr 2004 09:23:19 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/12826/#p12826</guid>
		</item>
	</channel>
</rss>
