Blog 板


LINE

三天两头提问题,不过都有好心的版友解答。 这里真是个好地方呀 但最後的问题还是没办法解决。 http://kepneqncj.blogspot.com/ 这是我现在的成果,卡在这3天了,我还是没办法让显示固定 我想做的是,视窗打开,没办法调整宽度,只能在固定框架看 但怎麽用都无法。 这是用blog spot里的范本修改的,很多错误,希望能有版友教导如何改正 我整篇贴上,若有人觉得浪费网路资源也请推文,我会立即修文 <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html expr:dir='data:blog.languageDirection' xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'> <head> <b:include data='blog' name='all-head-content'/> <title><data:blog.pageTitle/></title> <b:skin><![CDATA[/* ----------------------------------------------- Blogger Template Style Name: Washed Denim Designer: Darren Delaye URL: www.DarrenDelaye.com Date: 11 Jul 2006 ----------------------------------------------- */ /* Variable definitions ==================== <Variable name="bgColor" description="Page Background Color" type="color" default="#ffffff" value="#ffffff"> <Variable name="textColor" description="Text Color" type="color" default="#333333" value="#cccccc"> <Variable name="linkColor" description="Link Color" type="color" default="#336699" value="#99C9FF"> <Variable name="headerBgColor" description="Page Header Background Color" type="color" default="#ffffff" value="#ffffff"> <Variable name="headerTextColor" description="Page Header Text Color" type="color" default="#333333" value="#cccccc"> <Variable name="headerCornersColor" description="Page Header Corners Color" type="color" default="#ffffff" value="#ffffff"> <Variable name="mainBgColor" description="Main Background Color" type="color" default="#ffffff" value="#ffffff"> <Variable name="borderColor" description="Border Color" type="color" default="#ffffff" value="#ffffff"> <Variable name="dateHeaderColor" description="Date Header Color" type="color" default="#999999" value="#999999"> <Variable name="sidebarTitleBgColor" description="Sidebar Title Background Color" type="color" default="#ffffff" value="#ffffff"> <Variable name="sidebarTitleTextColor" description="Sidebar Title Text Color" type="color" default="#333333" value="#808080"> <Variable name="bodyFont" description="Text Font" type="font" default="normal normal 100% Verdana, Arial, Sans-serif;" value="normal normal 100% Verdana, Arial, Sans-serif;"> <Variable name="headerFont" description="Page Header Font" type="font" default="normal normal 210% Verdana, Arial, Sans-serif;" value="normal normal 210% Verdana, Arial, Sans-serif;"> */ body { background: transparent url(http://i213.photobucket.com/albums/cc101/kepneqncj/raino-1.jpg) bottom left no-repeat fixed; background attachment: fixed; margin: 0; padding: 0px; font: x-small Verdana, Arial; text-align: center; color: $textColor; font-size/* */:/**/small; font-size: /**/small; } a:link { color: $linkColor; } a:visited { color: $linkColor; } a img { border-width: 0; } #outer-wrapper { font: $bodyFont; } /* Header ----------------------------------------------- */ #header { width: 0px auto; margin-left: 50px; text-align: left; color: $headerTextColor; padding: 0; font: $headerFont; } h1.title { padding-top: 38px; margin: 0 14px .1em; line-height: 1.2em; font-size: 100%; } h1.title a { color: $headerTextColor; text-decoration: none; } #header .description { display: block; margin: 0 14px; padding: 0 0 40px; line-height: 1.4em; font-size: 50%; } /* Content ----------------------------------------------- */ #content-wrapper { width: 800px; margin: 25px; padding: 0 0 15px; float:left; text-align: left; border-top: 0; } #main-wrapper { margin-left: 25px; width: 480px; float: left; display: inline; /* fix for doubling margin in IE */ word-wrap: break-word; /* fix for long text breaking sidebar float in IE */ overflow: hidden; /* fix for long non-text content breaking IE sidebar float */ } #sidebar-wrapper { margin-left: 28px; width: 200px; float: left; display: inline; /* fix for doubling margin in IE */ word-wrap: break-word; /* fix for long text breaking sidebar float in IE */ overflow: hidden; /* fix for long non-text content breaking IE sidebar float */ } /* Headings ----------------------------------------------- */ h2, h3 { margin: 0; } /* Posts ----------------------------------------------- */ .date-header { margin: 1.5em 0 0; font-weight: normal; color: $dateHeaderColor; font-size: 100%; } .post { margin: 0 0 1.5em; padding-bottom: 1.5em; } .post-title { margin: 0; padding: 0; font-size: 125%; font-weight: bold; line-height: 1.1em; } .post-title a, .post-title a:visited, .post-title strong { text-decoration: none; color: $textColor; font-weight: bold; } .post div { margin: 0 0 .75em; line-height: 1.3em; } p.post-footer { margin: -.25em 0 0; color: $mainBgColor; font-size: 83%; } .post-footer .span { margin-right: .3em; } .comment-link { margin-left: .3em; } .post img { padding: 4px; border: 1px solid $borderColor; } .post blockquote { margin: 1em 20px; } .post blockquote p { margin: .75em 0; } /* Comments ----------------------------------------------- */ #comments h4 { margin: 1em 0; color: $dateHeaderColor; } #comments h4 strong { font-size: 110%; } #comments-block { margin: 1em 0 1.5em; line-height: 1.3em; } #comments-block dt { margin: .5em 0; } #comments-block dd { margin: .25em 0 0; } #comments-block dd.comment-footer { margin: -.25em 0 2em; line-height: 1.4em; font-size: 78%; } #comments-block dd p { margin: 0 0 .75em; } .deleted-comment { font-style:italic; color:gray; } .feed-links { clear: both; line-height: 2.5em; } #blog-pager-newer-link { float: left; } #blog-pager-older-link { float: right; } #blog-pager { text-align: center; } /* Sidebar Content ----------------------------------------------- */ .sidebar h2 { margin: 1.6em 0 .5em; padding: 4px 5px; font-size: 100%; color: $sidebarTitleTextColor; } .sidebar ul { margin: 0; padding: 0; list-style: none; } .sidebar li { margin: 0; padding: 0 0 .5em 15px; text-indent: -15px; line-height: 1.5em; } .sidebar { color: $textColor; line-height:1.3em; } .sidebar .widget { margin-bottom: 1em; } .sidebar .widget-content { margin: 0 5px; } /* Profile ----------------------------------------------- */ .profile-img { float: left; margin: 0 5px 5px 0; padding: 4px; border: 1px solid $borderColor; } .profile-data { margin:0; text-transform:uppercase; letter-spacing:.1em; font-weight: bold; line-height: 1.6em; font-size: 78%; } .profile-datablock { margin:.5em 0 .5em; } .profile-textblock { margin: 0.5em 0; line-height: 1.6em; } /* Footer ----------------------------------------------- */ #footer { clear: both; text-align: center; color: $textColor; } #footer .widget { margin:.5em; padding-top: 20px; font-size: 85%; line-height: 1.5em; text-align: left; } ]]></b:skin> </head> <body> <div id='outer-wrapper'><div id='wrap2'> <!-- skip links for text browsers --> <span id='skiplinks' style='display:none;'> <a href='#main'>skip to main </a> | <a href='#sidebar'>skip to sidebar</a> </span> <div id='header-wrapper'> <b:section class='header' id='header' maxwidgets='1' showaddelement='no'> <b:widget id='Header1' locked='true' title='才气从何而来 (标头)' type='Header'/> </b:section> </div> <div id='content-wrapper'> <div id='crosscol-wrapper' style='text-align:center'> <b:section class='crosscol' id='crosscol' showaddelement='no'/> </div> <div id='main-wrapper'> <b:section class='main' id='main' showaddelement='no'> <b:widget id='Blog1' locked='true' title='blog 文章' type='Blog'/> </b:section> </div> <div id='sidebar-wrapper'> <b:section class='sidebar' id='sidebar' preferred='yes'> <b:widget id='HTML1' locked='false' title='##EasyReadMore##' type='HTML'/> <b:widget id='Image1' locked='false' title='' type='Image'/> <b:widget id='Profile1' locked='false' title='才气从何而来' type='Profile'/> <b:widget id='BlogArchive1' locked='false' title='摘要' type='BlogArchive'/> <b:widget id='Label1' locked='false' title='分类' type='Label'/> <b:widget id='LinkList1' locked='false' title='推荐连结' type='LinkList'/> <b:widget id='BloggerButton1' locked='false' title='' type='BloggerButton'/> </b:section> </div> <!-- spacer for skins that want sidebar and main to be the same height--> <div class='clear'>&#160;</div> </div> <!-- end content-wrapper --> <div id='footer-wrapper'> <b:section class='footer' id='footer'/> </div> </div></div> <!-- end outer-wrapper --> </body> </html> --



※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 123.192.75.208
1F:推 reke:有点看不懂,框架可能不是你要讲的东东吧? 11/07 23:28
2F:→ reke:http://0rz.tw/ed3ji 固定视窗大小用这个 但不太友善喔 11/07 23:28
3F:→ reke:尤其这年头浏览器很多都可分页 视窗大小要跟别人共用... 11/07 23:29
4F:推 sinstar:固定视窗大小应该不是好决定 如果是为了要让版面正确显示 11/08 01:08
5F:→ sinstar:应该要修改你的配置方式 好的版面是无论在任何解析度上都 11/08 01:08
6F:→ sinstar:是可以正常显示的 要求一点甚至放大缩小都不会跑掉 11/08 01:09
7F:→ PHP:有点看不懂你的问题耶 宽度不是已经固定好了吗? 11/08 02:39







like.gif 您可能会有兴趣的文章
icon.png[问题/行为] 猫晚上进房间会不会有憋尿问题
icon.pngRe: [闲聊] 选了错误的女孩成为魔法少女 XDDDDDDDDDD
icon.png[正妹] 瑞典 一张
icon.png[心得] EMS高领长版毛衣.墨小楼MC1002
icon.png[分享] 丹龙隔热纸GE55+33+22
icon.png[问题] 清洗洗衣机
icon.png[寻物] 窗台下的空间
icon.png[闲聊] 双极の女神1 木魔爵
icon.png[售车] 新竹 1997 march 1297cc 白色 四门
icon.png[讨论] 能从照片感受到摄影者心情吗
icon.png[狂贺] 贺贺贺贺 贺!岛村卯月!总选举NO.1
icon.png[难过] 羡慕白皮肤的女生
icon.png阅读文章
icon.png[黑特]
icon.png[问题] SBK S1安装於安全帽位置
icon.png[分享] 旧woo100绝版开箱!!
icon.pngRe: [无言] 关於小包卫生纸
icon.png[开箱] E5-2683V3 RX480Strix 快睿C1 简单测试
icon.png[心得] 苍の海贼龙 地狱 执行者16PT
icon.png[售车] 1999年Virage iO 1.8EXi
icon.png[心得] 挑战33 LV10 狮子座pt solo
icon.png[闲聊] 手把手教你不被桶之新手主购教学
icon.png[分享] Civic Type R 量产版官方照无预警流出
icon.png[售车] Golf 4 2.0 银色 自排
icon.png[出售] Graco提篮汽座(有底座)2000元诚可议
icon.png[问题] 请问补牙材质掉了还能再补吗?(台中半年内
icon.png[问题] 44th 单曲 生写竟然都给重复的啊啊!
icon.png[心得] 华南红卡/icash 核卡
icon.png[问题] 拔牙矫正这样正常吗
icon.png[赠送] 老莫高业 初业 102年版
icon.png[情报] 三大行动支付 本季掀战火
icon.png[宝宝] 博客来Amos水蜡笔5/1特价五折
icon.pngRe: [心得] 新鲜人一些面试分享
icon.png[心得] 苍の海贼龙 地狱 麒麟25PT
icon.pngRe: [闲聊] (君の名は。雷慎入) 君名二创漫画翻译
icon.pngRe: [闲聊] OGN中场影片:失踪人口局 (英文字幕)
icon.png[问题] 台湾大哥大4G讯号差
icon.png[出售] [全国]全新千寻侘草LED灯, 水草

请输入看板名称,例如:Gossiping站内搜寻

TOP