-
راست چین کردم منو ها و زیر منو ها
سلام
تورو خدا كمك كنيد
نفهميدم چه توري منو ها و زير منوها رو راست چين كنم
تو cssهمه جا direction:rtl;گذاشتم جواب نداد
اينم css
body {
color : #000000;
margin-top : 10px;
margin-bottom : 10px;
padding : 0px;
background-color : #cccccc;
font-family : Tahoma, Verdana, arial, sans-serif;
font-size : 12px;
}
td, tr, p, div {
font-family : Tahoma, Verdana, Arial, Helvetica, sans-serif;
font-size : 12px;
color : #333333;
}
hr {
color : #999999;
height : 1px;
width : 100%;
}
.main {
float : right;
width : 100%;
margin : 0px;
padding : 0px;
}
.contentdescription {
width : auto !important;
display : block;
}
#buttons {
float : right;
margin : 0px;
padding : 0px;
width : 50%;
}
ul#mainlevel-nav {
font-size : 11px;
list-style : none;
padding : 0px;
margin : 0px;
font-size : 0.8em;
direction :rtl;
}
ul#mainlevel-nav li {
display : block;
background-image : none;
padding-left : 1px;
padding-right : 1px;
float : right;
margin : 0px;
width : auto !important;
font-size : 11px;
line-height : 27px;
white-space : nowrap;
border-left : 1px solid #cccccc;
direction :rtl;
}
ul#mainlevel-nav li a {
font-size : 11px;
display : block;
padding-left : 16px;
padding-right : 15px;
text-decoration : none;
color : #FFFFFF;
background : transparent;
direction :rtl;
}
ul#mainlevel-nav li a:hover {
font-size : 11px;
color : #CCCCCC;
background-color : #c8ccce;
direction :rtl;
}
.sublevel {
padding-left : 8px;
direction :rtl;
}
.leftrow {
background-color : #F1F1F1;
width : 170px;
height : 100%;
margin-right : 4px;
}
.rightrow {
background-color : #F1F1F1;
height : 100%;
width : 170px;
align : right;
margin-left : 4px;
}
table.moduletable {
width : 100%;
direction :rtl;
padding-right:6;
table-layout : auto;
border-top : 1px solid #FFFFFF;
border-bottom : 1px solid #999999;
}
table.moduletable th {
direction :rtl;
font-size : 11px;
font-weight : bold;
text-transform : none;
text-align : right;
height : 21px;
line-height : 21px;
text-indent : 8px;
padding-right:4;
color : #FFFFFF;
background-image : url(../images/bgmenu-1.png);
}
table.moduletable td {
direction :rtl;
padding-left : 0px;
padding-right : 2px;
}
#search {
float : center;
margin-top : 5px;
border : 1px solid #cccccc;
padding : 0px;
width : 123px !important;
width : 125px;
height : 16px !important;
height : 16px;
overflow : hidden;
font-family:tahoma;
}
#search .inputbox {
border : 0px;
margin-top : 0px;
padding : 2px 3px 2px 6px !important;
padding : 0px 3px 2px 6px;
font-family:tahoma;
font-size : 10px;
height : 12px !important;
height : 12px;
width : 123px !important;
width : 125px;
color : #999999;
background : #FFFFFF;
}
.back_button {
color : #333333;
font-family : Tahoma, Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
white-space : normal;
font-weight : normal;
border : 1px solid #999999;
padding-bottom : 3px;
padding-left : 3px;
padding-right : 3px;
padding-top : 3px;
margin-right : 3px;
float : right;
font-weight : normal;
line-height : 10px;
text-decoration : none;
}
.button {
font-size : 11px;
text-align:right;
float:right;
padding-right:5;
font-family:tahoma;
color : #333333;
border : 1px solid #999999;
margin-bottom : 5px;
background-color : #EDEDED;
padding : 1px;
}
.inputbox {
border : 1px solid #999999;
background-color : #EDEDED;
margin-bottom : 5px;
color : #333333;
font-family:tahoma;
text-align:right;
direction:rtl
}
.sectiontableheader {
font-size : 11px;
font-weight : normal;
text-transform : uppercase;
letter-spacing : 1px;
color : #333333;
background : #d3d7da;
padding : 1px;
}
.sectiontableentry1 {
vertical-align : top;
padding : 3px;
background : #E3E3E3;
border-top : 1px solid #FFFFFF;
border-bottom : 1px solid #999999;
}
.sectiontableentry2 {
vertical-align : top;
padding : 3px;
border-top : 1px solid #FFFFFF;
border-bottom : 1px solid #999999;
}
a.mainlevel {
margin : 0px;
padding : 0px;
font-size : 12px;
width : 168px;
background-color : #ECEAD8;
text-indent : 10px;
direction :rtl;
}
a.mainlevel: link {
padding : 0px 0px 0px 0px;
font-size : 12px;
width : 168px;
background-color :#c8ccce;
text-indent : 10px;
direction :rtl;
}
a.mainlevel:link, a.mainlevel:visited {
display : block;
font-size : 12px;
border-top : 1px solid #ffffff;
border-bottom : 1px solid #999999;
background-color : #c8ccce;
font-weight : normal;
padding : 2px 0px 2px 0px;
color : #333333;
width : 168px;
text-indent : 10px;
direction :rtl;
}
a.mainlevel:hover {
background-color : #aeb7bc;
font-size : 12px;
font-weight : normal;
text-decoration : none;
text-indent : 10px;
direction :rtl;
}
#active_menu {
color : #184f85;
background-color : #c8ccce;
font-weight : bold;
direction :rtl;
}
a#active_menu:hover {
color : #333333;
direction :rtl;
}
a:link, a:visited {
font-size : 11px;
font-family:tahoma;
color : #9da4a8;
text-decoration : none;
font-weight : bold;
direction :rtl;
}
a:hover {
font-size : 11px;
font-family:tahoma;
color : #333333;
text-decoration : none;
font-weight : bold;
direction :rtl;
}
a.category:link, a.category:visited {
font-size : 11px;
font-family:tahoma;
font-weight : bold;
direction :rtl;
}
a.readon:link, a.readon:visited {
color : #9da4a8;
font-family : Tahoma, Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
white-space : normal;
direction :rtl;
border : 1px solid #999999;
padding-bottom : 3px;
padding-left : 3px;
padding-right : 3px;
padding-top : 3px;
float : left;
line-height : 10px;
text-decoration : none;
}
a.readon:hover {
color : #333333;
font-family : Tahoma, Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
white-space : normal;
border : 1px solid #999999;
padding-bottom : 3px;
padding-left : 3px;
padding-right : 3px;
padding-top : 3px;
float : left;
line-height : 10px;
text-decoration : none;
}
ul {float : right;
margin : 2px;
padding : 5px;
list-style : none;
direction:rtl;
}
li {
line-height : 15px;
padding-right : 10px;
padding-top : 0px;
background-repeat: no-repeat;
background-position: 0px 3px;
}
table.contenttoc {
direction:rtl;
border : 1px solid #FFFFFF;
background : #F1F1F1;
padding : 5px;
margin-left : 2px;
margin-bottom : 2px;
}
.pagenavcounter {
font-size : 10px;
color : #996600;
}
.pagenavbar {
border-top : 1px solid #999999;
padding : 2px;
}
.pagenav {
font-weight : bold;
color : #CCCCCC;
}
a.pagenav:link, a.pagenav:visited {
text-decoration : none;
}
a.pagenav:hover {
text-decoration : none;
}
.date {
font-size : 10px;
color : #E3E3E3;
text-align : center;
padding-top : 5px;
}
.small {
font-size : 10px;
color : #333333;
}
.smalldark {
font-size : 10px;
color : #333333;
}
.createdate, .modifydate {
font-size : 10px;
color : #666666;
padding-right : 10px;
}
.content_vote {
font-size : 10px;
height : 22px;
padding-top : 2px;
padding-bottom : 2px;
}
.content_rating {
font-size : 10px;
color : #CC9900;
}
.pathway {
font-size : 11px;
color : #FFFFFF;
padding-left : 5px;
padding-top : 5px;
font-family:tahoma;
text-align:right;
}
a.pathway:link, a.pathway:visited {
font-size : 11px;
font-family:tahoma;
text-align:right;
padding-left : 5px;
color : #8092A9;
}
a.pathway:hover {
font-size : 11px;
font-family:tahoma;
text-align:right;
padding-left : 5px;
color : #999999;
}
table.content{
direction:rtl;
width : 100%;
padding : 0px;
border-collapse : collapse;
border-spacing : 0px;
margin-bottom : 10px;
}
table.contentpane {
direction:rtl;
width : 100%;
padding-left : 5px;
padding-right : 5px;
border-spacing : 0px;
margin-bottom : 5px;
}
table.contentpaneopen {
direction:rtl;
width : 100%;
padding-left : 5px;
padding-right : 5px;
border-spacing : 0px;
margin-bottom : 5px;
}
.pollstableborder{
border-color : #999999;
}
.contentheading, .componentheading {
background-image : url(../images/bgmenu-1.png);
font-size : 14px;
font-weight : bold;
line-height : 24px;
text-transform : none;
text-align : right;
color : #FFFFFF;
width : 100%;
}
.title {
font-family : Tahoma, Verdana, Geneva, Arial, Helvetica, sans-serif;
font-weight : bold;
text-transform : none;
text-indent : 8px;
font-size : 24px;
text-align : left;
color : #FFFFFF;
}
.title a:link, .title a:visited {
font-size : 24px;
color : #FFFFFF;
text-decoration : none;
font-weight : bold;
}
.title a:hover {
font-size : 24px;
color : #FFFFFF;
text-decoration : none;
font-weight : bold;
}
.ontab {
border-left : 1px solid #404040;
text-align : center;
font-weight : bold;
color : #333333;
padding : 5px;
cursor : hand;
line-height : 40px;
}
.offtab {
border-left : 1px solid #404040;
text-align : center;
color : #999999;
font-weight : normal;
padding : 5px;
cursor : hand;
line-height : 40px;
}
.tabpadding {
border-left : 1px solid #404040;
}
.pagetext {
visibility : hidden;
position : relative;
top : -10;
background-color : #FFFFFF;
display : none;
}
.footer {
font-family : Tahoma, Verdana, Geneva, Arial, Helvetica, sans-serif;
color : #FFFFFF;
font-size : 10px;
font-weight : normal;
}
.footer a:link, .footer a:visited {
font-size : 11px;
color : #FFFFFF;
text-decoration : none;
font-weight : bold;
}
.footer a:hover {
font-size : 11px;
color : #333333;
text-decoration : none;
font-weight : bold;
}
.contact_email {
width : 100%;
}
.contact_email .inputbox {
width : 345px;
}
جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.
-
-
08-29-2006 09:09 AM
# ADS
تبلیغات در جوملا فارسی
-
Re: راست چین کردم منو ها و زیر منو ها
شما direction:rtl; رو فقط باید در body قرار بدید نه جای دیگه.
اینو مطالعه کنید: [مهمان/کاربر گرامی برای دیدن لینک ها ابتدا باید عضو سایت شوید و لاگین کنید برای ثبت نام اینجا کلیک کنید]
برای راست چین کردن در سایر جاها میتونید از float: right; و یا text-align:right; استفاده کنید.
جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.
-
-
Re: راست چین کردم منو ها و زیر منو ها
خيـــــــــــــــــــــــ ـــــــــتتتتلي ممنون
دعات مي كنم
باورت نمي شه چقدر اذيت شدم
دستور اشتباه بود
چون من با dreaweaverكار ميكردم
خيلي لطف كردي
جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.
-
علاقه مندی ها (Bookmarks)