DCSIMG
CSS - Avi Pinto

Avi Pinto

על הבלוג

Follow uberPinto on Twitter

View Avi Pinto's profile on LinkedIn

Subscribe in a reader Subscribe by Email

 


Two new sculptures

View my Air Brush Work at Avipinto.com

Helping a friend, great tool for fixing file names

JavaScript Tutorial


Disclaimer All postings/content on this blog are licensed under a Creative Commons Attribution By license and provided "AS IS" with no warranties, and confer no rights.
All entries in this blog are my opinion and don't necessarily reflect the opinion of my employer or sponsors.

Browse by Tags

All Tags » CSS (RSS)
double scrollbars with "overflow-y: scroll" on IE7 when using cssstickyfooter
The Point: cssstickyfooter is a great solution for a sticky footer(works even at the crappy IE6). Alas, when trying to set body{overflow-y: scroll} you get a double scroll on IE7(which is also pure crap and should die). The solution for this one is to set the style on the html: html{overflow-y:scroll}     Some details: Abused the cssstickyfooter site(as it uses it’s technique) to show the double scroll. To try it just open it in IE compatibility mode, hit f12 and at the script tab type...
Don't use CSS Expressions if you care about performance
CSS Expressions הנם כלי חזק ומיותר. בקצרה, CSS Expressions מאפשרים שינוי דינמי של properties בתוך CSS class ע"י שימוש ב javascript. שיטה זו עובדת רק ב IE, לכן בדרך כלל משתמשים בה בשביל לאפשר תכונות CSS שעובדות רק בדפדפנים אחרים (כמו max-width). זהו כלי חזק - כיוון שלכאורה הקוד נראה יותר נקי - שורת javascript בתוך מאפיין בקובץ ה CSS שלכם, ויותר לא צריך לדאוג לעדכון אוטומטי של מאפיין width. זהו כלי מיותר - כיוון שאפשר פשוט להשתמש ב javascript ולשנות את המאפיין הרצוי לפי הארוע הרצוי . שתי בעיות...
important in css not only for hacking IE
בדרך כלל מזכירים את השימוש ב !important בהקשר של מתן פתרון לצורה שבה מפרש IE את מודל הקופסה( Box Model) , וכל מיני hack-ים אחרים של דברים שעובדים אחרת ב IE. הסיבה לכך היא ש IE לא מתייחס להגדרות important כאשר יש כמה הגדרות זהות בתוך אותו class: .myBG { background-color: Blue ! important; /*IE ignores this selector while all other browsers consider it*/ background-color: yellow; } בדוגמא לעיל, ב FF הרקע של אלמנט שיקבל את ה myBG ייצבע בכחול, בעוד שב IE ההגדרה האחרונה תופשת - ז"א רקע צהוב כמה הבהרות...
Posted: Jul 01 2008, 01:21 AM by Avi Pinto | with 1 comment(s)
תגים:,