2011年10月1日

把右边的sidebar移去左边【旧模板】

这个教程要给个leng luii - kuso wawa ^^
当然、你们要可以用啦 :)

先到设计 -- 修改HTML -- 找以下的字眼

#main-wrapper {

#sidebar-wrapper {

在 #main-wrapper {#sidebar-wrapper {  下面会看到以下の字眼 


#sidebar-wrapper {
margin-$endSide: 14px;
width: 240px;
float: $endSide;
background-color: #ffffff;
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 */
}
把 margin-$endSide: 14px; 换成
margin-$startSide: 14px;
再把 float: $endSide; 换成
float: $startSide;
就可以啦 : D


等等 !!!


保存之前先预览可以不可以、再按保存喔 :)


成功了就留言告诉我、这是一种礼貌。




ps : 这教程是我实验出来滴 :) 
禁止抄袭喔
抄袭者本小姐追究到底 !! 

没有评论 :

发表评论

2011年10月1日

把右边的sidebar移去左边【旧模板】

这个教程要给个leng luii - kuso wawa ^^
当然、你们要可以用啦 :)

先到设计 -- 修改HTML -- 找以下的字眼

#main-wrapper {

#sidebar-wrapper {

在 #main-wrapper {#sidebar-wrapper {  下面会看到以下の字眼 


#sidebar-wrapper {
margin-$endSide: 14px;
width: 240px;
float: $endSide;
background-color: #ffffff;
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 */
}
把 margin-$endSide: 14px; 换成
margin-$startSide: 14px;
再把 float: $endSide; 换成
float: $startSide;
就可以啦 : D


等等 !!!


保存之前先预览可以不可以、再按保存喔 :)


成功了就留言告诉我、这是一种礼貌。




ps : 这教程是我实验出来滴 :) 
禁止抄袭喔
抄袭者本小姐追究到底 !! 

没有评论 :

发表评论