پاسخ : چند تا توضیح مفیدو مختصر در موردکلاس های css
سلام . یه چیزی پیدا کردم :o: وقتی کلاس منوی اصلی را به صورت a.mainlevel:link می نویسم کار نمی ده ولی وقتی این طوری می نویسم : a.mainlevel کار می کنه. ;D البته درسته که این دو کلاس فرقی با هم ندارند و هر دوشون به یک خاصیت از یک تگ اشاره دارند ولی خوب به هر حال باید جفتشون جواب بدن دیگه. درسته؟ :(پس چرا اینجوریه؟ ???
یــــــــــــــــــــــــ ــــــاعـــــــــــــــــ ـــــــــلی
پاسخ : چند تا توضیح مفیدو مختصر در موردکلاس های css
سلام
میشه مشکل رو روی یک سایت که به صورت لایو هست نشون بدید تا دقیقا مشکل رو خدمتتون بگم ...
یا علی
چند تا توضیح مفیدو مختصر در موردکلاس های css
دوستان برای validate کردن سایت باید آدر سو در کدوم قسمت سایت w3c css validator وارد کنیم
پاسخ : چند تا توضیح مفیدو مختصر در موردکلاس های css
سلام
براي css اول بايد بري به آدرس [مهمان/کاربر گرامی برای دیدن لینک ها ابتدا باید عضو سایت شوید و لاگین کنید برای ثبت نام اینجا کلیک کنید]
بعد داخل فيلد Address اسم سايتت رو وارد کني.
اگه فقط اسم سايت باشه همه ي فايل هاي css موجود بر روي سايتت رو بررسي مي کنه. مثل CSS کامپوننت - ماژول - قالب و ...
اما اگه آدرس فايل css رو بدي اون رو برات بررسي مي کنه.
مثل اين فايل که براي بررسي css قالب هستش:
[مهمان/کاربر گرامی برای دیدن لینک ها ابتدا باید عضو سایت شوید و لاگین کنید برای ثبت نام اینجا کلیک کنید]
چند تا توضیح مفیدو مختصر در موردکلاس های css
آقا وقتی من css سایتمو validate کردم این خطا ها و اخطارها را به من داد. حالا من باید چکار کنم
راه حلش چیست؟
128 a.mainlevel:link, a.mainlevel:visited Value Error : background Too many values or values are not recognized : url(../images/menu.jpg) no-repeat-y
130 a.mainlevel:link, a.mainlevel:visited Parse Error 5px;
130 a.mainlevel:link, a.mainlevel:visited Parse error - Unrecognized 5px;
132 line-height Parse Error line-height: 30px;
134 font-size Parse Error font-size: 13px;
136 text-align Parse Error text-align: left;
138 font-weight Parse Error font-weight: bold;
140 padding Parse Error padding: 0px 0px 0px 15px;
142 padding Parse error - Unrecognized }
260 table.moduletable td Value Error : font-weight none is not a font-weight value : none
425 .small Value Error : font-weight medium is not a font-weight value : medium
451 .contentpane Value Error : margin Parse Error left: 10px
484 .contentheading Parse Error 0px;
484 .contentheading Parse error - Unrecognized 0px;
484 .contentheading Parse error - Unrecognized 0px;
485 .contentheading Parse error - Unrecognized }
504 .componentheading Parse Error 0px;
504 .componentheading Parse error - Unrecognized 0px;
504 .componentheading Parse error - Unrecognized 0px;
505 .componentheading Parse error - Unrecognized }
578 a:hover Value Error : text-decoration normal is not a text-decoration value : normal
656 .ontab Value Error : cursor hand is not a cursor value : hand
678 .offtab Value Error : cursor hand is not a cursor value : hand
782 table.moduletableinset th Value Error : text-transform normal is not a text-transform value : normal
Warnings (20)
95 Same colors for color and background-color in two contexts BODY and a.pathway:visited
95 Same colors for color and background-color in two contexts .sectiontableheader and a.pathway:visited
95 Same colors for color and background-color in two contexts BODY and a.pathway:visited
95 Same colors for color and background-color in two contexts .sectiontableheader and a.pathway:visited
105 Same colors for color and background-color in two contexts .sectiontableheader and a.pathway:hover
105 Same colors for color and background-color in two contexts BODY and a.pathway:hover
172 a.mainmenu:visited Family names containing whitespace should be quoted. If quoting is omitted, any whitespace characters before and after the name are ignored and any sequence of whitespace characters inside the name is converted to a single space.
172 a.mainmenu:visited Family names containing whitespace should be quoted. If quoting is omitted, any whitespace characters before and after the name are ignored and any sequence of whitespace characters inside the name is converted to a single space.
200 a.sublevel:visited Family names containing whitespace should be quoted. If quoting is omitted, any whitespace characters before and after the name are ignored and any sequence of whitespace characters inside the name is converted to a single space.
200 a.sublevel:visited Family names containing whitespace should be quoted. If quoting is omitted, any whitespace characters before and after the name are ignored and any sequence of whitespace characters inside the name is converted to a single space.
282 Same colors for color and background-color in two contexts BODY and table.moduletable-top th
282 Same colors for color and background-color in two contexts .sectiontableheader and table.moduletable-top th
328 Same colors for color and background-color in two contexts .sectiontableheader and table.moduletable-top a:link
328 Same colors for color and background-color in two contexts BODY and table.moduletable-top a:link
344 Same colors for color and background-color in two contexts .sectiontableheader and table.moduletable-top a:visited
344 Same colors for color and background-color in two contexts BODY and table.moduletable-top a:visited
799 Same colors for color and background-color in two contexts BODY and table.moduletable-user a:link
799 Same colors for color and background-color in two contexts .sectiontableheader and table.moduletable-user a:link
815 Same colors for color and background-color in two contexts .sectiontableheader and table.moduletable-user a:visited
815 Same colors for color and background-color in two contexts BODY and table.moduletable-user a:visited
پاسخ : چند تا توضیح مفیدو مختصر در موردکلاس های css
:o ديگه اينشو من نمي دونم. بايد استادامون جواب بدن. :o
پاسخ : چند تا توضیح مفیدو مختصر در موردکلاس های css
وقتی validate میکنید ، معمولا به یک reference هم لینک داده میشه که شما بفهمید مشکل چیه و چطوری باید حل بشه ...
چند تا توضیح مفیدو مختصر در موردکلاس های css نسخه 2
سلام مجدد
این هم یه توضیح دیگه به زبان اصلی که گویا تره ...
یه چیزای خیلی خوبی داره که تو قبلی نیست . خیلی واضح هم نوشته .
* CSS Guide for Mambo 4.6 templates
/**
* Mambo MAINMENU Styles
* ---------------------
* Styling specific to the mainmenu
*/
ul#mainlevel {}
.mainlevel {} /* parent level */
.sublevel{} /* child level in the mainmenu */
/**
* Mambo Form Styles
* ---------------------
*/
.button {}
.inputbox {}
/**
* Mambo Miscellaneous Styles
* ---------------------
* styles in general usage
*/
.title {} /* styling the site name */
.pathway {} /* styling the pathway/breadcrumb */
.createdate {} /* the date the content item was created */
.modifydate {} /* the date the content item was last modified */
.small {} /* text styling for small text */
.smalldark {}
.buttonheading {} /* styling for the pdf, email and print icons */
/**
* Image Styles
* ---------------------
* styling the images that are inserted by use of mosimage within Mambo
*/
.mosimage {}
.mosimage_caption {}
/**
* Mambo Content Styles
* ---------------------
* Mambo currently outputs a number of tables. Tables are rendered through five calls:
* table
* tbody
* th - table headings
* tr - table rows
* td - table data
* Content within Mambo is structured through the use of SECTIONS, CATEGORIES and CONTENT ITEMS
* All content is wrapped within a pane, has a heading, followed by the content itself
*/
.contentpane {} /* used to hold the SECTIONS title, description and image*/
.contentpaneopen {} /* used to hold the individual content item */
.contentheading {} /* content headings in SECTIONS and on the frontpage */
.contentpagetitle {} /* title of the content item */
.contentdescription {} /* description used in SECTIONS */
/**
* Mambo SECTIONS Styles
* ---------------------
* Styling of sections tables
*/
.sectiontableheader {} /* section table headers for a SECTION page */
.sectiontableentry1 {} /* SECTION or CATEGORY pages may list the content items within that section. Each content item can be displayed with alternating colours. This is the selector for styling the first row colour */
.sectiontableentry2 {} /* this selector is used for displaying the second alternating row colour*/
/**
* Mambo CATEGORY Styles
* ---------------------
* Styling specific to a CATEGORY
*/
.categorytitle {} /* styling the CATEGORY titles on a list of categories displayed on a SECTION page */
a.category {} /* link styling within the category class */
/**
* Mambo Content Item Styles
* ---------------------
* Styling specific to CONTENT ITEMS
*/
.content_rating {} /* rate this article styling */
.blog {} /* styling the blog display */
.blog_more {}
.readon{} /* for styling the "Read More..." */
.message /*for text parsed from mosmsg */
/**
* Table of Contents
* -----------------
* Styling of the Table of Contents in a multi-page content item
*/
.contenttoc {} /* Tables of Contents in a multiple paged content item */
.contenttoc th {} /*styling of the header of the Table of Contents */
.contenttoc td {} /* styling the table data cells */
/**
* Mambo Page Navigation Styles
* ------------------------
* Styling the page navigation
*/
.pagenav,.pagenav_prev, .pagenav_next, .pagenavbar {}
a.pagenav, .pagenav_prev a, .pagenav_next a, .pagenavbar a {}
a.pagenav:hover, a.pagenav:active, .pagenav_prev a:hover, .pagenav_prev a:active, .pagenav_next a:hover, .pagenav_next a:active, .pagenavbar a:hover, .pagenavbar a:active {}
/**
* Mambo Modules Styles
* ------------------------
* Styling the way modules are displayed
*/
.moduletable {} /* styling the module */
.moduletable th {} /* module titles */
table.moduletable td {} /* styling the moduletable table data */
/* NOTE: If you use module display options to display modules without tables you will not have the last two CSS selectors (these are for table output only) */
/* Mambo Poll Styles */
.poll {}
.pollstableborder {}
/* Mambo Weblinks Styles */
.weblinks{}
/* Search page */
.searchintro {}
/* Syndication module showing your RSS feeds */
.syndicate {}
/* Latest news module */
.latestnews {}
/**
* Mambo Component Styles
* ------------------------
* Styling the way components are displayed
*/
.componentheading {}
/**
* Logged in frontend user styles
* ------------------------
*/
.adminform {}
.adminForm input.inputbox {}
.adminForm textarea.inputbox
ان شالله که خوب باشه .
پاسخ : چند تا توضیح مفیدو مختصر در موردکلاس های css
سلام
اين هم لينك فايل معرفي شده توسط عماد :
کد:
http://mambo-manual.org/download/attachments/3407989/template_css.css?version=1
كامروا باشيد.
پاسخ : چند تا توضیح مفیدو مختصر در موردکلاس های css
سلام. دوستان یه سوال :
همونطور که میدونید این فایل css مرجع، تحت لایسنس Creative Commons هست و طبق این لایسنس :
نقل قول:
Noncommercial. You may not use this work for commercial purposes.
خوب پس با این حساب دوستان نمی تونند برای طراحی قالب های خودشون که احیانا در مقابلش هزینه ای دریافت می کنند، از این فایل css استفاده کنند. درسته؟
در این صورت تکلیف چیه؟ یعنی حتی نمی شه css قالب ها را از روی این css الهام گرفت و نوشت؟ (هر چند در این صورت هم باید از کل این فایل الهام گرفت و در واقع چندان فرقی نمی کنه. فقط زحمت ما برای یه بار کپی کردن دستی از روی این فایل، زیاد شده).بازم فکر کنم در این صورت مفاد این لایسنس نقض بشه.
اگر را حلی هست، لطفا بفرمایید.
ممنون...
یـــــــــــــــــــاعـــ ـــــــــــــلی