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

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

         :: 100% Organic Cotton Baby Wipes – 60 Pcs (آخر رد :konouz2017)       :: فوط صحية ناعمة بالقطن العضوي | فوط صحية قوية الامتصاص | organyckw (آخر رد :konouz2017)       :: |مايونيز صحي وعضوي |من هيلثي كرفتس يصلك الى باب ا healthycrafts (آخر رد :konouz2017)       :: مذاق رائع ومقرمش لرقائق البطاطس بنكهات متنوعة -Corn Up Popped (آخر رد :konouz2017)       :: تفسير حلم اني انخطبت وانا عزباء (آخر رد :نوران نور)       :: القدم في المنام للعزباء (آخر رد :نوران نور)       :: تفسير حلم سقوط سن واحد سفلي في اليد (آخر رد :نوران نور)       :: تفسيرحلم الزواج للمتزوجة (آخر رد :نوران نور)       :: تفسير حلم دورة المياه للعزباء (آخر رد :نوران نور)       :: السياحة في مصر للعوائل (آخر رد :emad100)      

إضافة رد
 
LinkBack أدوات الموضوع انواع عرض الموضوع
  #1  
قديم 11-01-2009, 03:00 AM
عضو ماسي
بيانات محروم.كوم
 رقم العضوية : 503
 تاريخ التسجيل : Dec 2007
الجنس : female
علم الدوله :
 المشاركات : 2,100,611
عدد الـنقاط :3341
 تقييم المستوى : 2139

Back in vB 3.x styling could be rather difficult. Yes* the design was based on tables and little CSS* which certainly made a challenge* but the HTML was also convoluted and complex -- tables inside divs inside tables with spans and everything scattered all over the place. Fighting through the mess to achieve what you wanted was nearly impossible.

With the new CSS-based layout* I was hoping some of the troubles would be alleviated and customization would be easier. But look at the HTML layout of the box containing the post content (not username and postcount* just the post text):

Code:






Quote:





[some quoted text]






[actual post text here]










So we have a blockquote inside a div inside another div inside another div inside another div inside another div. Each div has exactly the same bounding box -- they cover exactly the same region. (Well* there's a bit of fudging to get the signature's div down to the bottom* so there is a bit of layout involved.)

As an experiment* I used firebug to tweak the above HTML and see if I could achieve the same layout with simpler HTML. Here's what resulted:

Code:



Quote:





[quoted text]








[actual post content]




Much simpler. I could even get rid of the blockquote and use blockquotes for quote tags instead* making even more semantic sense and getting rid of yet another layer of tags. Then the extra bbcode_* divs could be reduced down into a span or two.

Please* don't make it painful for us to style the forums. Can't this convoluted HTML be reduced down to something sensible?</div>
__DEFINE_LIKE_SHARE__
رد مع اقتباس
إضافة رد

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


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

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


المواضيع المتشابهه
الموضوع كاتب الموضوع المنتدى مشاركات آخر مشاركة
Styles Less convoluted HTML? محروم.كوم منتدى أخبار المواقع والمنتديات العربية والأجنبية 0 11-01-2009 11:30 AM
Styles Less convoluted HTML? محروم.كوم منتدى أخبار المواقع والمنتديات العربية والأجنبية 0 11-01-2009 09:40 AM
Styles Less convoluted HTML? محروم.كوم منتدى أخبار المواقع والمنتديات العربية والأجنبية 0 11-01-2009 08:50 AM
Styles Less convoluted HTML? محروم.كوم منتدى أخبار المواقع والمنتديات العربية والأجنبية 0 11-01-2009 07:40 AM
Styles Less convoluted HTML? محروم.كوم منتدى أخبار المواقع والمنتديات العربية والأجنبية 0 11-01-2009 01:50 AM


الساعة الآن 03:11 PM


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

RSS RSS 2.0 XML MAP HTML