::: در حال بارگیری لطفا صبر کنید :::Loading , please wait ...

انجمن کدستانMoisrex

MoisrexMoisrex.rozblog.com
زمان جاریtime : سه شنبه 10 آذر 1405 - 4:44 بعد از ظهر
نام کاربریusername : پسوردpassword : یاor عضویتregister | رمز عبور را فراموش کردمForgot your password?
شما در سایت ما ثبت نام نکرده اید و یا وارد اکانت کاربری خود نشده اید. از شما خواهشمند هستیم You are not log in to site. Please وارد شویدlogin یاor ثبت نام کنیدregister .
2880 آفلاین



ارسال‌هاAsnwers : 3108
عضویتRegistration date : 24 /6 /1391
حمایت کردهthanks : 120
حمایت شدهThanked : 1210
پاسخAnswer 7 : کد منوی بسیار زیبا

این را در head و در style قالب بجای همون کد بالایی که گفتم بزارید.

اینطوری منو حرکت نمیکنه و لینک ها یه طرف نیستن.

این کد رو به درخواست کار بر گرامی "desperado"گذاشتم.

تشکر یادتون نره،لطفا!

کد:

#cssmenu ul,#cssmenu li,#cssmenu span,#cssmenu a {

margin: 0px 10px 0px 10px;

padding: 0;

position: relative;

direction: rtl;

}

#cssmenu {

height: 49px;

border-radius: 5px 5px 0 0;

-moz-border-radius: 5px 5px 0 0;

-webkit-border-radius: 5px 5px 0 0;

background: #141414;

background:url(data:image/png;

base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAxCAIAAACUDVRzAAAAA3NCSVQICAjb4U/gAAAALElEQVQImWMwMrJi+v//PxMDw3+m//8ZoPR/qBgDEhuXGLoeYswhXg8R5gAAdVpfoJ3dB5oAAAAASUVORK5CYII=) 100% 100%;

background: -moz-linear-gradient(top, #32323a 0%, #141414 100%);

background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #32323a), color-stop(100%, #141414));

background: -webkit-linear-gradient(top, #32323a 0%, #141414 100%);

background: -o-linear-gradient(top, #32323a 0%, #141414 100%);

background: -ms-linear-gradient(top, #32323a 0%, #141414 100%);

background: linear-gradient(to bottom, #32323a 0%, #141414 100%);

border-bottom: 2px solid #e00f16;

position: fixed;

}

#cssmenu:after,#cssmenu ul:after {

content: '';

display: block;

clear: both;

}

#cssmenu a {

background: #141414;

background:url(data:image/png;

base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAxCAIAAACUDVRzAAAAA3NCSVQICAjb4U/gAAAALElEQVQImWMwMrJi+v//PxMDw3+m//8ZoPR/qBgDEhuXGLoeYswhXg8R5gAAdVpfoJ3dB5oAAAAASUVORK5CYII=) 100% 100%;

background: -moz-linear-gradient(top, #32323a 0%, #141414 100%);

background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #32323a), color-stop(100%, #141414));

background: -webkit-linear-gradient(top, #32323a 0%, #141414 100%);

background: -o-linear-gradient(top, #32323a 0%, #141414 100%);

background: -ms-linear-gradient(top, #32323a 0%, #141414 100%);

background: linear-gradient(to bottom, #32323a 0%, #141414 100%);

color: #ffffff;

display: inline-block;

font-family: Helvetica, Arial, Verdana, sans-serif;

font-size: 12px;

line-height: 49px;

padding: 0 20px;

text-decoration: none;

}

#cssmenu ul {

list-style: none;

}

#cssmenu > ul {

float: left;

}

#cssmenu > ul > li {

float: left;

}

#cssmenu > ul > li:hover:after {

content: '';

display: block;

width: 0;

height: 0;

position: absolute;

left: 50%;

bottom: 0;

border-left: 10px solid transparent;

border-right: 10px solid transparent;

border-bottom: 10px solid #e00f16;

margin-left: -10px;

}

#cssmenu > ul > li:first-child > a {

border-radius: 5px 0 0 0;

-moz-border-radius: 5px 0 0 0;

-webkit-border-radius: 5px 0 0 0;

}

#cssmenu > ul > li:last-child > a {

border-radius: 0 5px 0 0;

-moz-border-radius: 0 5px 0 0;

-webkit-border-radius: 0 5px 0 0;

}

#cssmenu > ul > li.active > a {

box-shadow: inset 0 0 3px #000000;

-moz-box-shadow: inset 0 0 3px #000000;

-webkit-box-shadow: inset 0 0 3px #000000;

background: #070707;

background:url(data:image/png;

base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAxCAIAAACUDVRzAAAAA3NCSVQICAjb4U/gAAAALklEQVQImWNQU9Nh+v//PxMDw3+m//8ZkNj/mRgYIHxy5f//Z0BSi18e2TwS5QG4MGB54HL+mAAAAABJRU5ErkJggg==) 100% 100%;

background: -moz-linear-gradient(top, #26262c 0%, #070707 100%);

background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #26262c), color-stop(100%, #070707));

background: -webkit-linear-gradient(top, #26262c 0%, #070707 100%);

background: -o-linear-gradient(top, #26262c 0%, #070707 100%);

background: -ms-linear-gradient(top, #26262c 0%, #070707 100%);

background: linear-gradient(to bottom, #26262c 0%, #070707 100%);

}

#cssmenu > ul > li:hover > a {

background: #070707;

background:url(data:image/png;

base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAxCAIAAACUDVRzAAAAA3NCSVQICAjb4U/gAAAALklEQVQImWNQU9Nh+v//PxMDw3+m//8ZkNj/mRgYIHxy5f//Z0BSi18e2TwS5QG4MGB54HL+mAAAAABJRU5ErkJggg==) 100% 100%;

background: -moz-linear-gradient(top, #26262c 0%, #070707 100%);

background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #26262c), color-stop(100%, #070707));

background: -webkit-linear-gradient(top, #26262c 0%, #070707 100%);

background: -o-linear-gradient(top, #26262c 0%, #070707 100%);

background: -ms-linear-gradient(top, #26262c 0%, #070707 100%);

background: linear-gradient(to bottom, #26262c 0%, #070707 100%);

box-shadow: inset 0 0 3px #000000;

-moz-box-shadow: inset 0 0 3px #000000;

-webkit-box-shadow: inset 0 0 3px #000000;

}

#cssmenu .has-sub {

z-index: 1;

}

#cssmenu .has-sub:hover > ul {

display: block;

}

#cssmenu .has-sub ul {

display: none;

position: absolute;

width: 200px;

top: 100%;

left: 0;

}

#cssmenu .has-sub ul li {

*margin-bottom: -1px;

}

#cssmenu .has-sub ul li a {

background: #e00f16;

border-bottom: 1px dotted #ec6f73;

filter: none;

font-size: 11px;

display: block;

line-height: 120%;

padding: 10px;

}

#cssmenu .has-sub ul li:hover a {

background: #b00c11;

}

#cssmenu .has-sub .has-sub:hover > ul {

display: block;

}

#cssmenu .has-sub .has-sub ul {

display: none;

position: absolute;

left: 100%;

top: 0;

}

#cssmenu .has-sub .has-sub ul li a {

background: #b00c11;

border-bottom: 1px dotted #d06d70;

}

#cssmenu .has-sub .has-sub ul li a:hover {

background: #80090d;

}

پنجشنبه 14 دی 1391 - 18:16
وب کاربرUser's blog ارسال پیامSend p.m. نقل قولReply سپاس گزارمThanks
حمایت شده حمایت شده: سپاس هاThanks (1) : a55f2 -



moisrex
درباره ماAbout us لینک های ماOur links کلمات کلیدیKeywords
انجمن تخصصی کدستان ، ساخته شده توسط فردی با نام مستعار Moisrex می باشد.This forum designed by a person who called Moisrex.

ایمیلE-mail : Moisrex @ Gmail.com
کدستان,انجمن کدستان,کدنویسی,انجمن پشتیبانی,فروم,رزبلاگ,آموزش کدنویسی,درخواست کد
تمامی حقوق این انجمن مربوط به همین انجمن می باشد | طراحی قالبCopyright (c) By Moisrex , All rights reserved | Desiger : Moisrex