<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>花果山寨 &#187; css样式</title>
	<atom:link href="http://www.wodidai.com/post/tag/css%e6%a0%b7%e5%bc%8f/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wodidai.com</link>
	<description>猴眼看天下，记录平凡事！</description>
	<lastBuildDate>Fri, 06 Jan 2012 06:30:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<atom:link rel='hub' href='http://www.wodidai.com/?pushpress=hub'/>
		<item>
		<title>超长英文（代码）自动换行的样式（CSS）</title>
		<link>http://www.wodidai.com/post/css-wrapped.html</link>
		<comments>http://www.wodidai.com/post/css-wrapped.html#comments</comments>
		<pubDate>Mon, 18 Aug 2008 08:50:18 +0000</pubDate>
		<dc:creator>许权滔</dc:creator>
				<category><![CDATA[所谓技术]]></category>
		<category><![CDATA[css样式]]></category>
		<category><![CDATA[样式代码]]></category>
		<category><![CDATA[自动换行]]></category>

		<guid isPermaLink="false">http://www.wodidai.com/post/css-wrapped.html</guid>
		<description><![CDATA[好不容易弄了个漂亮博客界面 谁知 一个超长的网址把这漂亮的界面给撑得变形； 或者 一行超长的代码又把博客界面撑开三亩地； 于是博客很丑很难看。 为了恢复那迷人的界面， 展开了寻找解决方案的漫长路程， 终于，在不断的努力和尝试下 还是让我找到了那如此简单的解决方案： 在文章的CSS样式处加上以下代码即可： table-layout: fixed; word-wrap:break-word; word-break:break-all; 此代码的目的就是控制超长的英文或代码自动换行以免撑坏版面。 假如你想段落文字的两端刷刷对齐就加上以下代码即可： text-align:justify; text-justify:inter-ideograph; 随机文章推荐...ICP备案审核通知（审核通过）看电影《原罪》－儿童不宜博客互动之点名游戏我的梦想之旅关于pjblog增强版留言本的修改Google AdSense 的邮件通知也太慢了百度一夜之间大量收录了新域名小嫖能怡性吗？Google AdSense网页eCPM的重要性仿google的wordpress主题：Google Addicted © 许权滔 for 花果山寨, 2008 &#124; 2010计划 &#124; 投放广告 &#124; 免费订阅 Source: 超长英文（代码）自动换行的样式（CSS） 暂时22 comments Post tags: css样式, 样式代码, 自动换行 转载请遵循署名-非商业性使用-相同方式共享 3.0协议 Feed enhanced by Better Feed from Ozh]]></description>
			<content:encoded><![CDATA[<p>好不容易弄了个漂亮博客界面</p>
<p>谁知</p>
<p>一个超长的网址把这漂亮的界面给撑得变形；</p>
<p>或者</p>
<p>一行超长的代码又把博客界面撑开三亩地；</p>
<p>于是博客很丑很难看。</p>
<p>为了恢复那迷人的界面，</p>
<p>展开了寻找解决方案的漫长路程，</p>
<p>终于，在不断的努力和尝试下</p>
<p>还是让我找到了那如此简单的解决方案：</p>
<p><span id="more-584"></span>
<p>在文章的CSS样式处加上以下代码即可：</p>
<pre>         <span style="color: #800000">table-layout</span>: <span style="color: #800000">fixed</span>;
        <span style="color: #800000">word-wrap</span>:<span style="color: #800000">break-word</span>;
        <span style="color: #800000">word-break</span>:<span style="color: #800000">break-all</span>;</pre>
<p>此代码的目的就是控制超长的英文或代码自动换行以免撑坏版面。</p>
<p><strong>假如你想段落文字的两端刷刷对齐就加上以下代码即可：</strong></p>
<pre>         <span style="color: #800000">text-align</span>:<span style="color: #800000">justify</span>;
        <span style="color: #800000">text-justify</span>:<span style="color: #800000">inter-ideograph</span>;</pre>
<h3  class="related_post_title">随机文章推荐...</h3><ul class="related_post"><li><a href="http://www.wodidai.com/post/changeable-weather-to-influenza.html" title="天气多变小心流感">天气多变小心流感</a></li><li><a href="http://www.wodidai.com/post/netease-comments.html" title="网易评论淫才大作，很黄很暴力">网易评论淫才大作，很黄很暴力</a></li><li><a href="http://www.wodidai.com/post/the-condemned.html" title="《死刑犯》一场血腥的杀戮">《死刑犯》一场血腥的杀戮</a></li><li><a href="http://www.wodidai.com/post/133.html" title="日志内超链接修改记">日志内超链接修改记</a></li><li><a href="http://www.wodidai.com/post/cecilia-cheung-open-letter-on.html" title="关于张柏芝公开信">关于张柏芝公开信</a></li><li><a href="http://www.wodidai.com/post/since-the-definition-of-the-article-read-zblog-alias-errors.html" title="解读ZBLOG文章自定义别名的错误">解读ZBLOG文章自定义别名的错误</a></li><li><a href="http://www.wodidai.com/post/through-may-1-holiday-thieves-also-made-a-one.html" title="借五一假期小偷又发了一把">借五一假期小偷又发了一把</a></li><li><a href="http://www.wodidai.com/post/what-is-mental-illness.html" title="什么是精神病？">什么是精神病？</a></li><li><a href="http://www.wodidai.com/post/domain-transfer.html" title="成功将域名转入name.com">成功将域名转入name.com</a></li><li><a href="http://www.wodidai.com/post/141.html" title="提现成功，今天收到了20click的广告费">提现成功，今天收到了20click的广告费</a></li></ul><hr />
<p><small>© 许权滔 for <a href="http://www.wodidai.com">花果山寨</a>, 2008 | <a href="http://www.wodidai.com/post/wodidai-multiplayer-blog.html"><strong>2010计划</strong></a> |  <a href="http://www.wodidai.com/adsense"><strong>投放广告</strong></a> | <a href="http://feeds.feedburner.com/didai"><strong>免费订阅</strong></a><br />
Source: <a href="http://www.wodidai.com/post/css-wrapped.html">超长英文（代码）自动换行的样式（CSS）</a> 暂时<a href="http://www.wodidai.com/post/css-wrapped.html#comments">22 comments</a><br />
Post tags: <a href="http://www.wodidai.com/post/tag/css%e6%a0%b7%e5%bc%8f" rel="tag">css样式</a>, <a href="http://www.wodidai.com/post/tag/%e6%a0%b7%e5%bc%8f%e4%bb%a3%e7%a0%81" rel="tag">样式代码</a>, <a href="http://www.wodidai.com/post/tag/%e8%87%aa%e5%8a%a8%e6%8d%a2%e8%a1%8c" rel="tag">自动换行</a><br/>
转载请遵循<a href="http://creativecommons.org/licenses/by-nc-sa/3.0/deed.zh">署名-非商业性使用-相同方式共享 3.0</a>协议<br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.wodidai.com/post/css-wrapped.html/feed</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
	</channel>
</rss>

