View Full Version : مبتدی: تفاوت them و فایل css
najmehdj
سه شنبه 07 دی 1389, 10:30 صبح
می خوام بدونم چه زمانی باید از them آستفاده کرد و چه زمانی از فایل css
می شه هر دو رو در یک طراحی به صورت همزمان داشت؟
s2/mri
سه شنبه 07 دی 1389, 10:46 صبح
اگه منظورت تم هایی که تو نرم افزارهای مختلف طراحی صفحهات وب هست اونا خودشون از css استفاده میکنن.یعنی css باعث شده که اون صفحه به صورت یه تم در بیاد
پس سعی کن از css استفاده کنی
najmehdj
سه شنبه 07 دی 1389, 11:01 صبح
نه تم که میشه در Vs تعریف کرده
s2/mri
پنج شنبه 09 دی 1389, 18:26 عصر
من با vs کار نکردم بنابراین نمیدونم منظورت چیه
از دیگر دوستان خواهشمندم ما را در این زمینه کمک کنند
Mostafa_Dindar
پنج شنبه 09 دی 1389, 21:03 عصر
Theme ها از skin تشکیل شدند . اینجا خوب گفته :
Differences between Themes and CSS (http://mepathan.wordpress.com/2009/06/29/differences-between-themes-and-css/)
CSS usually deals with HTML code. You cannot apply CSS to certain ASP.NET specific server controls which are not present in HTML.
You can apply Themes and skins to all ASP.NET controls with less effort. Themes and skins can be uniformly applied on both windows and asp.net applications.
You can apply single theme to each page where as multiple style sheets can be applied to each page.
Themes don’t override or cascade style definitions by default the way CSS generally do. But you can selectively override local property settings for a control using StyleSheetTime attribute in Themes.
You can include CSS files in Themes which is applied as part of Theme structure but not vice-versa.
You can apply theming for only those properties that have ThemeableAttribute attribute set to true in their control class
alibabaei2
جمعه 10 دی 1389, 00:56 صبح
theme ها در واقع مجموعه ای از فایل های Css (یا همان صفحات style sheet) و skin ها هستند.
برای استفاده از فایل های css برای هر صفحه باید جداگانه آن فایل را به آن صفحه attach کرد اما اگر مجموعه این فایل ها را در یک تم بگذاریم با نوشتن یک دستور کوچک در web.config می توانید در تمام فایل های پروژه از این دستور استفاده کرد.
vBulletin® v4.2.5, Copyright ©2000-1404, Jelsoft Enterprises Ltd.