于是,偶终于将侧栏的长度缩小了

将原来的Twitter之类的东西全部放在单独的SNS Info页面了,欢迎大家前往围观——8过偶本来非常想做居中的 ⌠ーー 结果居然无论如何设置style,最终都因为CSS文件的缘故而不起作用。。。希望有知道真相的观众告诉偶应该如何做(除了修改CSS文件的方法以外,偶不想为了单独的一个页面而去修改全局CSS tuzji16 )
于是,因此侧栏的长度比原来减少了约1/3左右,希望回国的时候的打开速度会因此而得到一定的提高 baozib13

嘛,不说那个让人沮丧的CSS了,话说今天的最后一节德语课上,德语老师请偶们吃了德国面包和香肠——嗯,味道不错啊 >v< 上张照片
German Bread

Author: 星野恵瑠

Mac user, Niji-Ota, Chinese, Now working in Japan at MAGES. Inc., Future's aim is that one day my name can be listed in Wikipedia

26 thoughts on “于是,偶终于将侧栏的长度缩小了”

  1. 你说的CSS问题不改全局的不行,因为你那个页面用的是WP自己建的页面,如果实在想居中,跟我一样自己新建个页面,然后把东西丢进去,上传,然后把主题里的head.php里的头部添加上新页面的链接以及相关代码,OK~ tuzji08

  2. @小明猪:
    缩小了,明显的——原来的首页放了15篇文章,现在只有10篇 tuzji18

    问题是在于,偶写文章的时候用style标签就能起作用,不用修改CSS文件,为啥新建page的时候就不起作用了 ⌠ーー

  3. 我的情况跟你一样,具体可以看我的link页面,也是无法居中…因为比较常改动,所以懒的用自己做的页面了… tuzji10

    新建页面估计是WP程序的问题,以前我用WP2.2版本的时候可以自己写代码来新建页面,现在找不到这个页面了…=。=

  4. @Ariagle:
    表格内的内容居中,原来设置的是每个表格都是300的宽度,然后发现连宽度设置都不起作用,索性干脆吧整个style全部删掉了 baozib13

  5. @Ariagle:
    嗯,昨天偶就是这么做的,虽然table没用style,具体的代码是
    table
    tr
    th style=”width:300; align:center”
    这样,但是最终似乎因为CSS文件的设置缘故,最终还是无法正确实现宽度和对齐 ⌠ーー

  6. @Ariagle:
    text-align在某次测试当中也用过,同样无效 ⌠ーー
    偶甚至还测试过使用老的HTML4的写法,不用style而是单独用attribute,同样无效 寒っ

  7. @Ariagle:
    真的非常奇怪,同样的代码偶用在侧栏就完全没问题(事实上最早本来偶就是复制的偶侧栏Categories那儿的代码过去修改的),结果不知道为什么用在那个页面上就无法正确处理了 TAT

  8. 其实DIV+CSS是这几年的主流,DIV是框架,CSS是一切细节样式的设置,所以宽度、颜色等等的都要通过CSS来搞

Leave a Reply to Lovee Cancel reply

Your email address will not be published. Required fields are marked *

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax

(;;) (:D) (!!!!) (……) (^o^;) (==) (OoO) (=v=o) more »Note: Commenter is allowed to use '@User+blank' to automatically notify your reply to other commenter. e.g, if ABC is one of commenter of this post, then write '@ABC '(exclude ') will automatically send your comment to ABC. Using '@all ' to notify all previous commenters. Be sure that the value of User should exactly match with commenter's name (case sensitive).