إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...

انضم الينا
استراحات زايد الصفحة الرئيسية


إضافة رد
 
LinkBack أدوات الموضوع انواع عرض الموضوع
  #1  
قديم 03-10-2010, 04:40 AM
عضو ماسي
بيانات محروم.كوم
 رقم العضوية : 503
 تاريخ التسجيل : Dec 2007
الجنس : female
علم الدوله :
 المشاركات : 2,100,670
عدد الـنقاط :3341
 تقييم المستوى : 2140

<div>Regarding the .blocksubhead styling, we have this statement:
Code:
.blocksubhead {
font:{vb:stylevar blocksubhead_font};
color:{vb:stylevar blocksubhead_color};
background:{vb:stylevar blocksubhead_background};
padding:{vb:stylevar blocksubhead_padding};
border-top:{vb:stylevar blocksubhead_border};

/*margin: 0 1px;*/
}


and we have this one:

Code:
#usercp_nav .blocksubhead {
font:{vb:stylevar blocksubhead_font};
color:{vb:stylevar blocksubhead_color};
background: {vb:stylevar blocksubhead_background};
padding:{vb:stylevar blocksubhead_padding};
border-top:none;
margin: 0 1px;
}
Both statements use the blocksubhead_background stylevar, and that's fine when I want the same background for the block subheaders globally. But if I want a different background for block subheaders in the UserCP navigation blocks, I should be able to change it by customizing the stylevar in the second statement, without affecting the block subheaders anywhere else on the site.

Correct?

This is supported by the HTML which is structured like this:

<div class="bbcode_container"> Code:


My Settings


<ul class="blockbody">

<b><font color="Red"> My Profile


<ul class="blockrow">
<li class="active">Edit Profile


So why doesn't it work that way? In the second statement I replaced {vb:stylevar blocksubhead_background} with a hex color value, and there's no change.
__DEFINE_LIKE_SHARE__
رد مع اقتباس
إضافة رد

مواقع النشر (المفضلة)


تعليمات المشاركة
لا تستطيع إضافة مواضيع جديدة
لا تستطيع الرد على المواضيع
لا تستطيع إرفاق ملفات
لا تستطيع تعديل مشاركاتك

BB code is متاحة
كود [IMG] متاحة
كود HTML معطلة
Trackbacks are متاحة
Pingbacks are متاحة
Refbacks are متاحة



الساعة الآن 04:19 AM


Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By Almuhajir

RSS RSS 2.0 XML MAP HTML