سلام
من میخواستم قسمت home در منوی بالای وب سایت بره و در سمت راست قرار بگیره
چه کدی را باید اضافه یا تغییر داد ؟؟
ممنون میشم کمک کنید
اینم تصویر :
http://up.vatandownload.com/images/k6ofybfyu20qngb46t.png
سلام
من میخواستم قسمت home در منوی بالای وب سایت بره و در سمت راست قرار بگیره
چه کدی را باید اضافه یا تغییر داد ؟؟
ممنون میشم کمک کنید
اینم تصویر :
http://up.vatandownload.com/images/k6ofybfyu20qngb46t.png
سلام، به عنصر اون قسمت در style.css مقدار زیر رو بدین:
direction: rtl;
text-align: right;
/* RESET */
*{margin:0;padding:0;}
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;vertical-align:baseline;}
/* BASIC */
abbr[title], acronym[title]{border-bottom:thin solid;cursor:help;}
body{background:#ffffff url('images/background.jpg') repeat-y center;font-size:12px;font-family:Tahoma,Arial,Helvetica,sans-serif;color:#333;text-align:left;}
h1,h2,h3,h4,h5,h6{font-weight:bold;}
h1{font-size:24px;line-height:30px;}
h2{font-size:20px;line-height:26px;}
h3{font-size:16px;line-height:24px;}
h4{font-size:14px;line-height:20px;}
h5{font-size:14px;line-height:20px;}
h6{font-size:14px;line-height:20px;}
small{font-size:10px;line-height:16px;}
dl{font-size:12px;}
dt{font-weight:bold;}
a{color:#87b212;text-decoration:none;outline:none;}
a:hover{color:#0eae99;text-decoration:none;}
fieldset,img{border:none;}
hr{color:#ddd;background-color:#ddd;height:1px;border:0px;}
.clear{clear:both;margin:0;padding:0;}
/* radius */
#search,
#sidebar-border,#sidebar,
.sticky,
#commentform textarea,
#header_image,#header_image_border{-moz-border-radius:6px;-webkit-border-radius:6px;border-radius:6px;}
#author,#email,#url,#submit{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;}
#menus a{-moz-border-radius:6px 6px 0 0;border-radius:6px 6px 0 0;-webkit-border-radius:6px 6px 0 0;}
#menus ul ul a{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;}
/* #nav */
#nav{z-index:5;position:relative;height:150px;margin:0 auto;padding-top:20px;clear:both;background:#ffffff url('images/header-default.jpg') no-repeat center;}
#nav #title h1{position:absolute;left:50%;margin-left:-475px;top:30px;font-family:Tahoma,Arial,Helvetica,sans-serif;color:#ace11b;font-weight:normal;}
#nav #title h2{position:absolute;left:50%;margin-left:-475px;top:65px;font-family:Tahoma,Arial,Helvetica,sans-serif;color:#0eae99;font-weight:normal;}
#menus{position:absolute;width:700px;height:20px;margin:0 -400px;left:50%;top:124px;font-size:12px;}
#menus a{border:1px solid #ace11b;border-bottom:none;color:#ffffff;display:block;line-height:20px;background:#ace11b;padding:0 10px;}
#menus ul{list-style:none;margin:0;}
#menus li{float:left;position:relative;margin-right:8px;}
#menus li:hover > a{background:#0eae99;color:#fff;}
#menus ul li.current-menu-item > a{background:#ffffff;color:#0eae99;text-shadow:0 1px 0 #ace11b;border-bottom:1px solid #ace11b;}
#menus ul li.current_page_item > a,
#menus ul li.current-menu-ancestor > a,
#menus ul li.current-menu-parent > a{background:#ffffff;color:#0eae99;text-shadow:0 1px 0 #ace11b;border-bottom:1px solid #fff;}
#menus ul li.current_page_item:hover > a,
#menus ul li.current-menu-ancestor:hover > a,
#menus ul li.current-menu-item:hover > a,
#menus ul li.current-menu-parent:hover > a{background:#ffffff;color:#0eae99;text-shadow:0 1px 0 #555;}
#menus ul li:hover > ul{display:block;}
#menus ul ul a{background:#fff;width:120px;height:25px;border:1px solid #ace11b;border-top:none;color:#0eae99;padding-top:3px;}
#menus ul ul{display:none;position:absolute;top:21px;left:0;float:left;width:120px;z-index:99999;}
#menus ul ul li{min-width:150px;}
#menus ul ul ul{left:100%;top:0;}
/* #search */
#search{box-shadow:2px 2px 5px #ace11b;-moz-box-shadow:2px 2px 5px #ace11b;-webkit-box-shadow:2px 2px 5px #ace11b;position:absolute;background:#ffffff;right:50%;margin-right:-450px;bottom:-38px;width:175px;height:23px;overflow:hidden;border:1px solid #999;}
#search form{padding:0;}
#search input#s{width:190px;height:14px;background:transparent;border:none;color:#0eae99;padding:6px;font-size:12px;}
#search form input#searchsubmit{cursor:pointer;position:absolute;right:2px;top:0;width:30px;height:26px;padding-left:30px;background:#ffffff url('images/search-input-bg.gif') no-repeat right 0;border:none;border-left:1px solid #999;text-indent:-9999px;}
/* #wrapper */
#wrapper{overflow:hidden;margin:0 auto;width:960px;}
/* #header */
#header{overflow:hidden;z-index:1;position:relative;margin:30px auto;}
#header h1{float:left;padding:0 0 0 10px;text-shadow:1px 1px 1px #999;font-size:28px;font-family:Georgia,"Times New Roman",Times,serif;}
#header h1 a{color:#222;line-height:30px;}
#header h2{float:left;height:20px;overflow:hidden;line-height:18px;padding:10px 0 0 20px;color:#222;font-size:12px;font-weight:normal;text-shadow:0 1px 0 #fff;}
#header_image{width:1000px;height:173px;}
#header_image_border{overflow:hidden;width:950px;height:180px;background:#565657;border:1px solid #fff;}
/* #content */
#content{overflow:hidden;float:left;width:640px;padding:0;margin-right:20px;}
.page-title{margin:0 11px 20px;background:#0eae99;border:none;}
.page-title h1{font-size:16px;height:25px;line-height:25px;padding:3px 10px;border:none;color:#fff;}
/* #post */
.post{position:relative;width:640px;margin:0 0 10px;padding:0;}
div.post-single{margin:0;}
div.post-page{margin:0;border-bottom:1px solid #fff;}
div.post-page-nocomment{border-bottom:none;}
h2.title{border-bottom:1px solid #fff;font-size:16px;text-shadow:1px 1px 3px #ace11b;margin:0;padding:2px 10px;}
h2.title a{color:#87b212;}
h2.title a:hover{color:#0eae99;}
h2.title-single{color:#87b212;}
.entry{font-size:13px;overflow:hidden;padding:0 10px;}
.entry ul,.entry ol{margin:0 30px 18px;}
.entry li{line-height:18px;}
.entry hr{display:block;}
.entry p{line-height:18px;margin:0 0 18px 0;}
.entry h1,.entry h2,.entry h3,.entry h4,.entry h5,.entry h6{margin:0 0 18px 0;color:#555;}
.entry a{color:#87b212;text-decoration:underline;}
.entry a:hover{color:#0eae99;text-decoration:none;}
.entry img{max-width:610px;height:auto;margin:10px 0;padding:4px;background:#fff;border:1px solid #ddd;}
.entry img.wp-smiley{background:#fff;border:none;margin:0;padding:0;}
.entry .alignleft,.entry img.alignleft{display:inline;float:left;margin:10px 10px 10px 0;}
.entry .alignright,.entry img.alignright{display:inline;float:right;margin:10px 0 10px 10px;}
.entry .aligncenter,.entry img.aligncenter{clear:both;display:block;margin:10px auto;}
.entry table{background:#fff;border:1px solid #ccc;border-width:2px;border-collapse:collapse;margin:5px 0 10px;}
.entry th,.entry td{border:1px solid #ccc;padding:3px 10px;text-align:left;vertical-align:top;}
.entry .entry tr.even td{background:#f7f7f7;}
.entry th{background:#edeff0;}
.entry blockquote{color:#555;padding:10px;margin:0 0 20px;border:1px solid #ddd;background:#eee;}
.entry code{background:#333;color:#ddd;}
.entry pre{overflow:auto;width:95%;line-height:16px;margin:0 0 20px;padding:0 5px 16px;color:#555;font-family:"Courier New",FixedSys;font-size:12px;background:#fafafa;border:1px solid #ccc;border-left:15px solid #ccc;}
.post-info-top{border-top:1px solid #ddd;line-height:18px;height:18px;position:relative;color:#999;margin:0 0 18px;padding:2px 10px;overflow:hidden;display:block;}
.post-info-top-nocomment{height:1px;}
.post-info-bottom{border-bottom:1px solid #fff;line-height:24px;position:relative;color:#999;margin:0;padding:2px 10px;overflow:hidden;display:block;}
.post-info-top a,.post-info-bottom a{color:#999;}
.post-info-top a:hover,.post-info-bottom a:hover{color:#4a630f;text-decoration:underline;}
.entry p.read-more a,.entry p a.more-link,.post-info-date,.post-info-category,.post-info-tags,#gotocomments,#addcomment{display:block;padding-left:20px;background:url("images/icons.gif") no-repeat scroll 0 0;}
.post-info-date{float:left;background-position:0 -40px;}
.post-info-category{display:inline;background-position:-35px -60px;}
.post-info-tags{display:inline;background-position:-20px -240px;margin-left:10px;}
#gotocomments{float:right;background-position:0 -100px;margin-right:10px;}
#addcomment{float:right;background-position:0 -120px;}
.entry p.read-more a,.entry p a.more-link{display:inline;color:#0eae99;text-decoration:none;background-position:0 -20px;}
.entry p a.more-link{display:block;margin-top:18px;}
.entry p.read-more a:hover,.entry p a.more-link:hover{color:#87b212;}
.sticky{width:638px;background:#f2f2f2;border:1px solid #ccc;}
h2.sticky-h2 a{color:#ff4e00;}
.page_link{clear:both;padding:10px 0 18px;}
.add-info{padding:0 10px;}
.add-info h3{line-height:16px;font-size:12px;color:#4a630f;margin-bottom:5px;background:#e5e5e5;}
.add-info ul{list-style:square;}
/* #sidebar-border */
#sidebar-border{position:relative;float:left;width:298px;background:#ffffff;border:1px solid #ccc;margin-top:50px;}
/* #rss */
#rss{position:absolute;top:5px;right:212px;}
#rss a{background:url("images/rss.png") no-repeat;display:block;width:32px;height:32px;text-indent:-9999em;}
#twitter{position:absolute;top:5px;right:180px;}
#twitter a{background:url("images/twitter.png") no-repeat;display:block;width:32px;height:32px;text-indent:-9999em;}
#facebook{position:absolute;top:5px;right:244px;}
#facebook a{background:url("images/facebook.png") no-repeat;display:block;width:32px;height:32px;text-indent:-9999em;}
/* #sidebar */
#sidebar{overflow:hidden;width:276px;border:1px solid #fff;padding:20px 10px 10px;}
#sidebar a{color:#87b212;text-shadow:0 1px 0 #fafafa;}
#sidebar a:hover{color:#0eae99;}
#sidebar .widget h3,#sidebar h2{text-shadow:1px 1px 3px #aaa;color:#0eae99;font-size:16px;margin:0;padding:0 25px;line-height:48px;background:#fff url("images/widget-header.jpg") center no-repeat;}
#sidebar li{line-height:20px;}
#sidebar .widget{margin-bottom:0;background:#fff url("images/widget-bg.jpg") center repeat-y;}
#sidebar .widget div{padding:8px 5px;}
#sidebar .widget div div{padding:0;border-top:none;}
#sidebar .widget div.clear{padding:0;margin:0;border:none;}
#sidebar ul{list-style:none;padding:8px 5px;background:#fff url("images/widget-bg.jpg") center repeat-y;}
#sidebar ul li{margin-left:20px;padding-left:15px;background:url("images/bullet.png") left 50% no-repeat;color:#777;}
#sidebar ul li:hover{background:url("images/bullet2.png") left 50% no-repeat;}
#sidebar ul ul{padding:0;border-top:none;}
#sidebar .widget-foot{height:27px;background:#fff url("images/widget-footer.jpg") center no-repeat;margin-bottom:20px;}
#sidebar select{margin-left:20px;margin-top:10px;color:#87b212;font-size:12px;font-family:Tahoma,Arial,Helvetica,sans-serif;}
/* widget */
#sidebar .widget input#s{width:190px;height:22px;line-height:22px;padding:0 5px;}
#sidebar .widget input#searchsubmit{width:65px;}
/* WP-RecentComments */
#sidebar ul li.rc-item,#sidebar ul li.rc-navi{background:none;padding:0;margin:3px 0;}
#sidebar ul li.rc-item div{padding:0;border:none;}
#sidebar ul li.rc-item .rc-avatar img{border:1px solid #ddd;}
/* #comments */
#comments-div{border-top:1px solid #ddd;position:relative;line-height:24px;height:24px;text-align:right;margin:0 0 30px;padding:2px 10px;}
h2#comments{line-height:24px;font-size:12px;font-weight:normal;width:300px;float:right;color:#0eae99;}
span#comments-addcomment{position:absolute;left:10px;top:2px;padding-left:20px;background:url("images/icons.gif") no-repeat 0 -115px;}
span#comments-addcomment a{color:#0eae99;text-decoration:none;}
span#comments-addcomment a:hover{color:#87b212;text-decoration:none;}
/* comments list style */
ol.commentlist li{position:relative;list-style:none;height:1%;margin:0 20px;padding-bottom:20px;}
ol.commentlist li.bypostauthor{}
ol.commentlist li div em.approved{margin-left:55px;color:#ff0000;}
ol.commentlist li div.comment-author{margin:0;padding:0;line-height:16px;height:16px;border-bottom:1px solid #ddd;display:block;}
ol.commentlist li div.vcard img.avatar{position:absolute;left:0;top:0;width:40px;height:40px;background:#fff;padding:2px;border:1px solid #ddd;}
ol.commentlist li div.vcard cite.fn{margin-left:55px;font-style:normal;font-weight:bold;color:#87b212;}
ol.commentlist li div.vcard cite.fn a.url{color:#0eae99;}
ol.commentlist li div.vcard cite.fn a.url:hover{color:#aaa;}
ol.commentlist li span.comment-meta{}
ol.commentlist li span.comment-meta a{color:#aaa;}
ol.commentlist li span.comment-meta a:hover{color:#555;}
ol.commentlist li div.comment-text{border-top:1px solid #fff;margin:0 0 10px;padding-top:10px;}
ol.commentlist li.bypostauthor div.comment-text{color:#999;}
ol.commentlist li p,ol.commentlist li blockquote{margin:0 50px 0 55px;padding-bottom:10px;}
ol.commentlist li blockquote{padding:5px;border:1px dotted #ddd;color:#999;background:#fafafa;}
ol.commentlist li blockquote p{margin-left:0;}
ol.commentlist li code{margin-bottom:10px;padding:2px;background:#777;color:#ddd;}
ol.commentlist li div.reply{position:absolute;right:0;top:8px;}
ol.commentlist li div.reply a{display:block;width:30px;text-align:center;color:#aaa;padding:0 5px;background:#fafafa;border:1px solid #dfdfdf;-moz-border-radius:12px;-webkit-border-radius:12px;border-radius:12px;}
ol.commentlist li div.reply a:hover{background:#f2f2f2;}
ol.commentlist li ul.children li{margin:0 0 0 30px;padding-bottom:0;border-bottom:none;color:#555;}
ol.commentlist li ul.children li.depth-2{margin:0 0 0 55px;}
ol.commentlist li ul.children li div{border-top:1px solid #dfdfdf;}
ol.commentlist li ul.children li div div{border-top:none;}
ol.commentlist li ul.children li div.comment-author{border-top:1px solid #fff;border-bottom:none;}
ol.commentlist li ul.children li div.vcard img.avatar{top:-8px;width:24px;height:24px;}
ol.commentlist li ul.children li div.vcard cite.fn{margin-left:40px;}
ol.commentlist li ul.children li p,ol.commentlist li ul.children li blockquote{margin:0 0 0 40px;}
ol.commentlist li ul.children li blockquote p{margin-left:0;}
ol.commentlist li ul.children li div.reply{top:-8px;}
ol.commentlist li ul.children li div.reply a{background:#f2f2f2;}
ol.commentlist li ul.children li div.reply a:hover{background:#fafafa;}
/* navigation */
#pagination,#nav-below{display:block;width:620px;line-height:18px;margin:0;padding:2px 10px;border-top:1px solid #ddd;}
.navigation{border-bottom:1px solid #fff;text-align:right;line-height:24px;margin:0;padding:2px 10px;}
#nav-below{display:inline-block;padding:20px 10px;border-top:1px solid #ddd;border-bottom:1px solid #fff;}
.nav-previous{float:left;width:50%;}
.nav-next{float:right;width:50%;text-align:right;}
/* #respond */
#respond{margin:0 0 20px 0;padding:20px 0 0 55px;border-top:1px solid #ddd;}
#respond small{font-size:12px;}
#respond h2,#respond h3{text-shadow:1px 1px 1px #bbb;font-family:Tahoma,Arial,Helvetica,sans-serif;margin-bottom:10px;color:#0eae99;}
#respond a#cancel-comment-reply-link{color:#ff4e00;text-shadow:none;}
#respond a#cancel-comment-reply-link:hover{color:#999;}
#commentform{margin:0 55px 0 0;padding:0;}
#commentform p{margin:0 0 10px;padding:0;}
#commentform p.smilies{margin:0 0 3px;padding:0 3px;}
#commentform p.comment-notes{margin:10px 0;color:#999;}
#commentform textarea{padding:3px;background:#fff;border:1px solid #ddd;}
#commentform .comment-form-comment label{display:none;}
#author,#email,#url{height:16px;margin-right:5px;padding:3px;border:1px solid #ddd;background:#fff;}
#comment{width:80%;height:125px;}
#submit{background:#0eae99;color:#fff;height:20px;padding:1px 10px;border:1px solid #555;}
#submit:hover{background:#555;}
#respond code{color:#464646;background:none;}
/* trackbacks-pingbacks */
.trackbacks-pingbacks h3{font-weight:bold;margin-bottom:10px;border-bottom:1px solid #ddd;color:#555;padding:3px 0;}
.trackbacks-pingbacks ul{margin:5px 20px 15px;list-style-type:circle;}
.trackbacks-pingbacks ul li{margin-bottom:4px;}
/* #footer */
#footer{margin:20px auto 0;background:#ffffff url('images/footer.jpg') no-repeat center;height:35px;}
#footer-inside{position:relative;width:640px;margin:0 auto;padding:10px 320px 5px 0;color:#fff;}
#footer-inside a{border-bottom:1px dashed #eee;color:#eee;}
#footer-inside a:hover{color:#555;}
#footer-inside #back-to-top{position:absolute;top:10px;right:150px;color:#fff;font-size:12px;}
#footer-inside #back-to-top a{border:none;color:#fff;}
#footer-inside #back-to-top a:hover{border:none;color:#555;}
/* Other */
.aligncenter,div.aligncenter{display:block;margin:auto;}
.alignleft{float:left;}
.alignright{float:right;}
.wp-caption{text-align:center;margin-top:10px;margin-bottom:10px;padding:4px;border-radius:3px;background:#fff;border:1px solid #ddd;}
.wp-caption img{margin:0;padding:0;background:none;}
.wp-caption p.wp-caption-text{font-size:12px;line-height:20px;padding:4px 0 0;margin:0;}
/* calendar START */
.widget_calendar h3{background:#fff url("images/widget-header2.jpg") 50% 0 no-repeat;}
#wp-calendar{width:100%;margin:1px;}
#wp-calendar #today{background:#ace11b;}
#wp-calendar tbody a{color:#87b212}
#wp-calendar tbody a:hover{color:#0eae99}
#wp-calendar caption{width:100%;height:40;padding-bottom:5px;color:#0eae99;font-weight:bold;text-shadow:1px 1px 3px #aaa;font-size:120%;font-family:Tahoma,Arial,Helvetica,sans-serif;}
#wp-calendar th,#wp-calendar td{text-align:center;font-size:11px;font-family:Tahoma,Arial,Helvetica,sans-serif;color:#777;}
#wp-calendar tbody td{border:none;}
#wp-calendar tbody td.pad{border:0 none;}
#wp-calendar th{background:#0eae99;color:#fff;border-radius:5px}
#wp-calendar td#prev{text-align:left;padding-top:5px;}
#wp-calendar td#next{text-align:right;padding-top:5px;}
/* .gallery-caption */
#content .gallery .gallery-caption{color:#888;font-size:12px;margin:0 0 12px;}
ممنون از کمکت دوست عزیز
این کدهای style قالب
یه نگاه بهش بنداز
بازم ممنون
سلام
به هر زحمتی بود منو رو راست چین کردم ولی تو موزیلا درسته ولی اینترنت اکسپلورر اصلا منو رو نشون نمیده ؟؟
حل الخالق !!!
چرا؟؟؟