Automated Repair of Layout Cross Browser Issues Using Search-Based Techniques

Total Page:16

File Type:pdf, Size:1020Kb

Automated Repair of Layout Cross Browser Issues Using Search-Based Techniques This is a repository copy of Automated Repair of Layout Cross Browser Issues Using Search-Based Techniques. White Rose Research Online URL for this paper: http://eprints.whiterose.ac.uk/116990/ Version: Accepted Version Proceedings Paper: Mahajan, S., Alameer, A., McMinn, P.S. orcid.org/0000-0001-9137-7433 et al. (1 more author) (2017) Automated Repair of Layout Cross Browser Issues Using Search-Based Techniques. In: ISSTA 2017 Proceedings of the 26th ACM SIGSOFT International Symposium on Software Testing and Analysis. International Symposium on Software Testing and Analysis (ISSTA 2017), 10 - 14 July 2017, Santa Barbara, California. ACM , pp. 249-260. ISBN 978-1-4503-5076-1 https://doi.org/10.1145/3092703.3092726 Reuse Unless indicated otherwise, fulltext items are protected by copyright with all rights reserved. The copyright exception in section 29 of the Copyright, Designs and Patents Act 1988 allows the making of a single copy solely for the purpose of non-commercial research or private study within the limits of fair dealing. The publisher or other rights-holder may allow further reproduction and re-use of this version - refer to the White Rose Research Online record for this item. Where records identify the publisher as the copyright holder, users can verify any specific terms of use on the publisher’s website. Takedown If you consider content in White Rose Research Online to be in breach of UK law, please notify us by emailing [email protected] including the URL of the record and the reason for the withdrawal request. [email protected] https://eprints.whiterose.ac.uk/ Automated Repair of Layout Cross Browser Issues Using Search-Based Techniques Sonal Mahajan Abdulmajeed Alameer University of Southern California, USA University of Southern California, USA Phil McMinn William G. J. Halfond University of Sheeld, UK University of Southern California, USA ABSTRACT the appearance or functionality of a website, the vast majority — A consistent cross-browser user experience is crucial for the suc- over 90% — result in appearance related problems [42]. is makes cess of a website. Layout Cross Browser Issues (XBIs) can severely XBIs a signicant challenge in ensuring the correct and consistent undermine a website’s success by causing web pages to render in- appearance of a website’s UI. correctly in certain browsers, thereby negatively impacting users’ Despite the importance of XBIs, their detection and repair poses impression of the quality and services that the web page delivers. numerous challenges for developers. First, the sheer number of Existing Cross Browser Testing (XBT) techniques can only detect browsers available to end users is large — an informal listing re- XBIs in websites. Repairing them is, hitherto, a manual task that is ports that there are over 115 actively maintained and currently labor intensive and requires signicant expertise. Addressing this available [59]. Developers must verify that their websites render concern, our paper proposes a technique for automatically repair- and function consistently across as many of these dierent browsers ing layout XBIs in websites using guided search-based techniques. and platforms as possible. Second, the complex layouts and styles Our empirical evaluation showed that our approach was able to of modern web applications make it dicult to identify the UI el- successfully x 86% of layout XBIs reported for 15 dierent web ements responsible for the observed XBI. ird, developers lack pages studied, thereby improving their cross-browser consistency. a standardized way to address XBIs and generally have to resolve XBIs on a case by case basis. Fourth, for a repair, developers must CCS CONCEPTS modify the problematic UI elements without introducing new XBIs. Predictably, these challenges have made XBIs an ongoing topic of •So ware and its engineering →So ware testing and debug- concern for developers. A simple search on StackOverow — a ging; Search-based so ware engineering; popular technical forum — with the search term “cross browser” KEYWORDS results in over 23,000 posts discussing ways to resolve XBIs, of which approximately 7,000 are currently active questions [49]. Cross-browser issues; automated search-based repair; web apps. Tool support to help developers debug XBIs is limited in terms of ACM Reference format: capabilities. Although tools such as Firebug [15] can provide useful Sonal Mahajan, Abdulmajeed Alameer, Phil McMinn, and William G. J. information, developers still require expertise to manually analyze Halfond. 2017. Automated Repair of Layout Cross Browser Issues Using the XBIs (which involves determining which HTML elements to Search-Based Techniques. In Proceedings of 26th International Symposium on inspect, and understanding the eects of the various CSS properties Soware Testing and Analysis , Santa Barbara, CA, USA, July 2017 (ISSTA’17), dened for them), and then repair them by performing the necessary 12 pages. modications so that the page renders correctly. XBI-oriented DOI: 10.1145/3092703.3092726 techniques from the research community (e.g., X-PERT [8, 42, 44] 1 INTRODUCTION and Browserbite [47]) are only able to detect and localize XBIs (i.e., they address the rst two of the four previously listed challenges), e appearance of a web application’s User Interface (UI) plays an but are incapable of repairing XBIs so that a web page can be “xed” important part in its success. Studies have shown that users form to provide a consistent appearance across dierent browsers. judgments about the trustworthiness and reliability of a company To address these limitations, we propose a novel search-based based on the visual appearance of its web pages [21, 22, 51, 52], approach that enables the automated repair of a signicant class and that issues degrading the visual consistency and aesthetics of of appearance related XBIs. e XBIs targeted by our approach a web page have a negative impact on an end user’s perception of are known as layout XBIs (also referred to as “structure XBIs” by the website and the quality of the services that it delivers. Choudhary et al. [42]), which collectively refer to any XBI that e constantly increasing number of web browsers with which relates to an inconsistent layout of HTML elements in a web page users can access a website has introduced new challenges in prevent- when viewed in dierent browsers. Layout XBIs appear in over ing appearance related issues. Dierences in how various browsers 56% of the websites manifesting XBIs [42]. Our key insight is that interpret HTML and CSS standards can result in Cross Browser the impact of layout XBIs can be quantied by a tness function Issues (XBIs) — inconsistencies in the appearance or behavior of capable of guiding a search to a repair that minimizes the number of a website across dierent browsers. Although XBIs can impact XBIs present in a page. To the best of our knowledge, our approach ISSTA’17, Santa Barbara, CA, USA is the rst automated technique for generating XBI repairs, and 2017. 978-1-4503-5076-1/17/07...$15.00 the rst to apply search-based repair techniques to web pages. We DOI: 10.1145/3092703.3092726 ISSTA’17, July 2017, Santa Barbara, CA, USA Sonal Mahajan, Abdulmajeed Alameer, Phil McMinn, and William G. J. Halfond (a) Correct rendering of the page with Internet Explorer 11.0.33 (b) e same page displaying an XBI when rendered with Mozilla Firefox 46.0.1 Figure 1: Screenshots of the navigation bar of the IncredibleIndia homepage (http://incredibleindia.org), which has an XBI. When viewed with Firefox the text of the navigation menu bar is unreadable. implemented our approach as a tool, XFix, and evaluated it on 15 ese inconsistencies tend to arise from dierent interpretations real world web pages containing layout XBIs. XFix was able to of the HTML and CSS specications, and are not per se, faults in resolve 86% of the XBIs reported by X-PERT [42], a well-known the browsers themselves [1]. Additionally, some browsers may XBI detection tool, and 99% of the XBIs observed by humans. Our implement new CSS properties or existing properties dierently in results therefore demonstrate that our approach is potentially of an aempt to gain an advantage over competing browsers [30]. high use to developers by providing automated xes for problematic web pages involving layout XBIs. Fixing Layout XBIs. When a layout XBI has been detected, de- e main contributions of this paper are as follows: velopers may employ several strategies to adjust its appearance. For example, changing the HTML structure, replacing unsupported (1) A novel approach for automatically nding potential xes for HTML tags, or adjusting the page’s CSS. Our approach targets XBIs layout XBIs using guided search-based techniques. that can be resolved by nding alternate values for a page’s CSS (2) An extensive evaluation on a set of 15 real-world web pages, properties. ere are two signicant challenges to carrying out this in which our approach resolved 86% of automatically detected type of repair. First, the appearance (e.g., size, color, font style) of XBIs and 99% observed by human subjects. any given set of HTML elements in a browser is controlled by a (3) A human study to assess the web pages’ cross-browser consis- series of complex interactions between the page’s HTML elements tency aer repair by our approach. and CSS properties, which means that identifying the HTML el- (4) A study to compare the size similarity of our repair patches to ements responsible for the XBI is challenging. Second, assuming XBI-addressing code in real-world web pages. that the right set of elements can be identied, each element may e rest of this paper is organized as follows: In Section 2, we give have dozens of CSS properties that control its appearance, position, background information about web page rendering and introduce and layout.
Recommended publications
  • Paper Proposes a Technique for Automatically Repair- Appearance of a Website’S UI
    Automated Repair of Layout Cross Browser Issues using Search-Based Techniques Sonal Mahajan Abdulmajeed Alameer University of Southern California, USA University of Southern California, USA Phil McMinn William G. J. Halfond University of Sheeld, UK University of Southern California, USA ABSTRACT e constantly increasing number of web browsers with which A consistent cross-browser user experience is crucial for the suc- users can access a website has introduced new challenges in prevent- cess of a website. Layout Cross Browser Issues (XBIs) can severely ing appearance related issues. Dierences in how various browsers undermine a website’s success by causing web pages to render in- interpret HTML and CSS standards can result in Cross Browser correctly in certain browsers, thereby negatively impacting users’ Issues (XBIs) — inconsistencies in the appearance or behavior of impression of the quality and services that the web page delivers. a website across dierent browsers. Although XBIs can impact Existing Cross Browser Testing (XBT) techniques can only detect the appearance or functionality of a website, the vast majority — XBIs in websites. Repairing them is, hitherto, a manual task that is over 90% — result in appearance related problems [42]. is makes labor intensive and requires signicant expertise. Addressing this XBIs a signicant challenge in ensuring the correct and consistent concern, our paper proposes a technique for automatically repair- appearance of a website’s UI. ing layout XBIs in websites using guided search-based techniques. Despite the importance of XBIs, their detection and repair poses Our empirical evaluation showed that our approach was able to numerous challenges for developers. First, the sheer number of successfully x 86% of layout XBIs reported for 15 dierent web browsers available to end users is large — an informal listing re- pages studied, thereby improving their cross-browser consistency.
    [Show full text]
  • Advanced CSS
    www.allitebooks.com AdvancED CSS Joseph R. Lewis and Meitar Moscovitz www.allitebooks.com AdvancED CSS Copyright © 2009 by Joseph R. Lewis and Meitar Moscovitz All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage or retrieval system, without the prior written permission of the copyright owner and the publisher. ISBN-13 (pbk): 978-1-4302-1932-3 ISBN-13 (electronic): 978-1-4302-1933-0 Printed and bound in the United States of America 9 8 7 6 5 4 3 2 1 Trademarked names may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, we use the names only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark. Distributed to the book trade worldwide by Springer-Verlag New York, Inc., 233 Spring Street, 6th Floor, New York, NY 10013. Phone 1-800-SPRINGER, fax 201-348-4505, e-mail kn`ano)ju<olnejcan)o^i*_om, or visit sss*olnejcankjheja*_ki. For information on translations, please contact Apress directly at 2855 Telegraph Avenue, Suite 600, Berkeley, CA 94705. Phone 510-549-5930, fax 510-549-5939, e-mail ejbk<]lnaoo*_ki, or visit sss*]lnaoo*_ki. Apress and friends of ED books may be purchased in bulk for academic, corporate, or promotional use. eBook versions and licenses are also available for most titles. For more information, reference our Special Bulk Sales–eBook Licensing web page at dppl6++sss*]lnaoo*_ki+ejbk+^qhgo]hao.
    [Show full text]
  • Opera 9.26 Download
    Opera 9.26 download Opera is a secure web browser that is both fast and rich in features. It has a slick interface that embraces a modern, minimalist look, coupled. Title: Opera Filename: File size: MB (4,, bytes). Requirements: Windows (All Versions). Languages: Multiple. Opera browser for Windows, Mac and Linux. Opera for computers is a fast, secure and easy-to-use browser with a built-in ad blocker. Opera's mobile apps. Changelog for Opera for Mac. Opera for Mac is available for download. Release Notes. This release is a recommended security and stability upgrade. Opera is a fast and secure browser. Developed in Europe, used by millions around the world. Now with a built-in ad blocker and free VPN. Opera for Windows computers gives you a fast, efficient, and personalized way of browsing the web. It comes with a sleek interface. Opera web browser free of charge, widely supported and feature-rich. Opera includes tabbed browsing, zooming, gestures, a download manager. Opera Opera Software - Free Software. MB. Share? Description · Info Download This Version MB, Download. Latest Version: Opera Opera 12 June, (9 years ago). MB. Opera 03 April, (10 years ago). MB. Opera 20 February, (10 years ago). MB. Microsoft Internet Explorer (IE) 6+; Mozilla Firefox +; Opera +; Google NTT / DoCoMo; SoftBank Mobile; KDDI; Opera +; Major Operators inc. Opera Change Log. Release Notes This release is a recommended security and stability upgrade. See the Security section for additional. Anda pun dapat melakukan instalasi browser Opera dengan installer tersebut. yang sudah Anda download tadi dengan cara mengklik ganda file tersebut.
    [Show full text]
  • Without a Net: Librarians Bridging the Digital Divide in 2018, I Asked the Original Publisher, ABC-CLIO, to Revert the Rights to Me So I Can Revert Them to You
    Note from the author I wrote this book in 2011, but much of it holds true today. Understanding the digital divide means understanding the people affected by it and understanding the technology that thwarts them. This book is a combination of practical and philosophical approaches to working with the digitally divided. You can read more about this book on its website: Without a Net: Librarians Bridging the Digital Divide In 2018, I asked the original publisher, ABC-CLIO, to revert the rights to me so I can revert them to you. With help from 44 generous folks on Unglue.it, I was able to pay the reversion fee, and add a Creative Commons license so you can share this book freely. - Jessamyn 3 This is an unglued ebook Unglued ebooks are made possible through the Unglue.it website by contributions from 44 readers like you. Supporters of this edition: Wendi A. Dunlap klmccook jhwcrossett Gail Dawson dphiffer Kevin Waters Sean Dague sudama Ross Tyner Romany Manuell Rogers Cadenhead Benefactors of this edition: grantbarrett Andrew Pollock bandit Anonymous (1) Bibliophiles of this edition: Paul Ford "This is for everyone." —Tim Berners-Lee, Creator of the WWW, at the 2012 London Olympics Dave Polaschek John & Marcy Manning To all dogs everywhere 5 © 2011-04-30 by Jessamyn C. West ISBN: 9781598844535 . URI: https://unglue.it/work/113915/ (this work). This unglued edition is distributed under the terms of the Creative Commons CC BY license. To view a copy of this license, visit https://creativecommons.org/licenses/by/3.0/. The Creative Commons licensing is made possible by the support of readers like you.
    [Show full text]
  • Why Hack CSS? Chapter
    04_579851 ch01.qxd 5/4/05 11:09 PM Page 1 Why Hack CSS? chapter he theory of Cascading Style Sheets (CSS) is a means to an end: bet- ter, more efficient Web site design. In the real world, however, CSS Tdoes not provide a perfect, clear-cut path to that goal. To achieve the promise of CSS, working designers have employed a series of workarounds known collectively as hacks. At the most basic level, a CSS hack is a modifi- cation to the standard CSS code. Like any deviation from the norm, the use of CSS hacks has both its supporters and detractors: Some designers feel CSS hacks are an absolute necessity and others are fervently opposed to them. in this chapter To figure out why the Web design community is divided over CSS hacks— and which camp you should be in—you’ll need a little background on the ˛ The Cascading Style emergence of CSS. Sheets Promise ˛ Why CSS Is Broken The Cascading Style Sheets Promise ˛ To Hack or Not to When work was begun in 1995 on the first CSS specification, the Web was Hack one giant kludge. Hypertext Markup Language (HTML) tags were being pressed into service to handle chores they were never intended for. Tables, for example, meant to contain structured data were largely used for layout. But missapplied tags were the least of the designer’s woes when it came to working with HTML. HTML is perfectly suited for its original design: to represent scientific papers and other documents that adhered to a highly structured format.
    [Show full text]
  • Utdrag Ur Max Räckvidd Med HTML & CSS -- Webbguruns Bästa Stilknep
    Provläs boken! Max räckvidd med HTML & CSS – webbguruns smartaste stilknep av Tommy Olsson 336 sidor, illustrerad, häftad utkom i november 2008 ISBN: 978-91-972705-2-6 Ur innehållet Omslagets framsida.......................................2 Omslagets baksida.......................................3 Innehållsförteckning.......................................5 Förord av Roger Johansson................................... 11 Kapitel 3: Stilmallar....................................... 13 Bilaga A: Elementreferens för HTML 4.01 Strict.......................... 91 Sakregister........................................... 97 Köpställen och kontakt..................................... 113 Förlaget påminner om att varje form av kopi- ering eller annat mångfaldigande av text och bild ur följande utdrag är förbjuden enligt la- gen om upphovsrätt. ✐ ✐ ``mrhc-bok'' --- 2008/11/4 --- 14:43 --- page v --- #5 ✐ ✐ INNEHÅLL Förord xi Introduktion . Vem, när, hur, var, varför?. Vem bör läsa den här boken? . Hur läser man boken lämpligast? . Vad behöver man för att följa med i bokens exempel? . . De tre skikten. Innehåll: HTML. Presentation: CSS . Interaktion: JavaScript . . Glasnost – den öppna dörrens politik . Funktionshinder . Tekniska hinder . Tillgänglighet på webben . Myter och vanföreställningar . Med användaren i centrum . Ett webbdokuments anatomi . För protokollets skull . . Som man frågar får man svar . . Hur ettor och nollor blir till bokstäver . ASCII . ISO . Unicode och UTF- . Deklarera rätt teckenkodning . . HTML – en
    [Show full text]
  • Fortgeschrittene CSS-Techniken Inkl
    Ingo Chao, Corina Rudel Fortgeschrittene CSS-Techniken inkl. CSS-Debugging und Performance-Optimierung k Auf einen Blick C i L Teil i CSS-Prinzipien, die nicht selbsterklärend sind 1 Eine Annäherung an die Spezifikation ........................... 21 2 Vertikale Anordnung .................................................... 31 3 Horizontale Anordnung ................................................ 61 einen B 4 Floats ........................................................................... 77 F 5 Das Inline-Formatierungsmodell ................................... 127 6 Positionierung und Stapelung ....................................... 137 Au 7 Background-Images ...................................................... 167 8 Das CSS-Tabellenmodell ............................................... 201 9 Ausgabe für Medien ..................................................... 221 Teil ii Inkonsistenzen in Browsern und die Grundlagen des Debuggings 10 Debugging ................................................................... 231 11 CSS-Erweiterungen ...................................................... 275 Teil iii Die praktische umsetzung von komplexen Layouts 12 Navigation: Listen und Menüs ...................................... 295 13 Mehrspaltenlayouts ...................................................... 337 14 Gleich hohe Spalten ..................................................... 389 Teil iV Was vor uns liegt 15 Frontend-Engineering .................................................. 417 16 Neue Konzepte ...........................................................
    [Show full text]
  • Contents at a Glance
    02_579851 ftoc.qxd 5/4/05 11:05 PM Page ix Contents at a Glance Acknowledgments . xvii Introduction . xix Chapter 1:Why Hack CSS?. 1 Chapter 2:Filtering CSS for Older Browsers . 11 Chapter 3:Hiding CSS from Newer Browsers. 33 Chapter 4:Applying Conditional Comments . 57 Chapter 5:Scripting JavaScript and Document Object Model Hacks. 71 Chapter 6:Coding Server-Side Solutions . 87 Chapter 7:Enhancing Graphics and Media with CSS . 99 Chapter 8:Maintaining Accessibility with CSS . 121 Chapter 9:Integrated CSS Hack Layouts . 131 Chapter 10:Building Navigation Systems . 159 Chapter 11:Troubleshooting CSS . 177 Chapter 12:Implementing CSS Hacks in Dreamweaver. 191 Chapter 13:Creating CSS-Savvy Dreamweaver Templates . 219 Appendix A:Resources . 235 Appendix B:CSS Hacks and Filters Charts . 243 Index . 249 COPYRIGHTED MATERIAL 02_579851 ftoc.qxd 5/4/05 11:05 PM Page x 02_579851 ftoc.qxd 5/4/05 11:05 PM Page xi Contents Acknowledgments . xvii Introduction . xix Chapter 1: Why Hack CSS? . 1 The Cascading Style Sheets Promise . 1 Separate Presentation from Content. 2 Flexible Design Model. 2 Faster Loading Times . 3 Easy, Instant Maintenance . 3 Portability. 3 Advanced Design Possibilities . 3 Enhanced User Control . 4 Accessibility . 5 Why CSS Is Broken . 6 To Hack or Not to Hack . 8 Chapter 2: Filtering CSS for Older Browsers . 11 Hacking Netscape 4 . 11 Linking vs. Importing Style Sheets . 13 Hiding Individual Rules from Netscape 4 . 14 Dealing with Fonts Properly . 18 Adjusting Margins and Borders. 21 Working Through Background Problems. 23 Correcting List Issues. 25 Handling Table Discrepancies . 26 Fixing Internet Explorer 3 and 4 .
    [Show full text]
  • Copyrighted Material
    19_579851 bindex.qxd 5/4/05 10:51 PM Page 249 Index SYMBOLS AND NUMERICS Aslett, Tony (:after pseudo-element hack), /* ... */ enclosing comments, 14–15 50–51 3-pixel gap bug, 63–65, 189 ASP, dynamically controlling CSS output using, 37signals css_layouts Web site, 240 87–91 auto tag completion, Dreamweaver, 193–194 A a:visited pseudo-class a:active pseudo-class for button interactivity, 162 for button interactivity, 162 order of, with other pseudo-classes, 187 order of, with other pseudo-classes, 187 absolute value, position property, 135–137 B accessibility background features for, 5–6, 121–122 Internet Explorer 5 for Mac, problems print media style sheets, 125–128 with, 34 screen readers, 128–129 Internet Explorer 7 functionality, 45 text resizing, 122–125 Netscape 4 support, 12, 23–25 Web sites about, 240 properties, in Dreamweaver, 202 a:focus pseudo-class, 188 for rounded rectangles, 109 :after pseudo-element, 49–51, 144–145 Safari support, 52 a:hover pseudo-class shorthand syntax for, Dreamweaver, 195 for button interactivity, 162 background-attachment property Netscape 4 support, 12 in Dreamweaver, 195, 202 order of, with other pseudo-classes, 187 Netscape 4 support, 12 for tab interactivity, 172 background-color property a:link pseudo-class in Dreamweaver, 202 for button interactivity, 162 Netscape 4 support, 12, 23–24 order of, with other pseudo-classes, 187 Safari support, 52 All CSS Flyout Navigation Web site, 242 background-image property AlphaImageLoader, 116 in Dreamweaver, 195, 202 Apple Safari browser Netscape 4 support, 12 CSS support in, 33 COPYRIGHTEDbackground-position MATERIALproperty detecting versions of, 73–74 in Dreamweaver, 195, 202 Exclamation Mark Hack, 52 Internet Explorer 7 functionality, 45 :lang pseudo-class hack, 52 Netscape 4 support, 12, 24–25 problems with, 51–52 for rounded rectangles, 109 application servers.
    [Show full text]
  • Script Text Javascript Code Js
    Script Text Javascript Code Js dickersEngelbart lowse. is stupidly Dysplastic hackly Hamish after inconclusive shooing, his Blair vibriosis opiating bumbled his riempies energised jawbreakingly. fussily. Fibrillose and obtect Aubert brining her shrieking compost or Values change authorization cookie contains a related to appear or script code highlighting with the information about it can Are available on your text editor and script text javascript code js is javascript injection also be cached by its own xpath and write a backend. This was one of third most amazing solutions I myself seen. The ultimate permission manager tool to add adobe flash and can be reproduced without requiring relative path from a plugin. Code highlighting in React using Prism. Its own experience b shows you need way would look different. If first site verifies that the user agreed to its terms or service, or filters invalid characters out of fields that should only contain numbers, it working do so knew the server, not bleach the client. When text field must also be done you performed javascript code! Net methods are a script from a collection and javascript injection also display modified or framework abstracts common functions. Normally users using while testing, or shapes when they are using framework js syntax? New custom code as those of javascript code in confluence with css selectors in full note that. Variable with splats can i find an event attributes out, as well documented in these changes are familiar with good overview of this example demonstrates how. This makes your code easy to test, maintain, reuse, and again free from boilerplate.
    [Show full text]
  • 2006 Transcending
    001_TCSS-5_x.indd1_TCSS-5_x.indd 2 110/27/060/27/06 22:00:17:00:17 PPMM 1 Discovery Think differently about the Web design process. See how to improve the design workflow. Look forward to exciting possibilities. 3 001_TCSS.indd1_TCSS.indd 3 111/2/061/2/06 22:18:04:18:04 PPMM 001_TCSS-5_x.indd1_TCSS-5_x.indd 4 110/27/060/27/06 22:00:21:00:21 PPMM Introducing Transcendent CSS Transcendent CSS is more than a plea to use the latest, coolest CSS. It’s a quest to use the lessons you’re learning in CSS as a means to becoming the finest artist and designer you can be. Transcendent CSS asks you to embrace the new rather than the old and to stimulate new ways to find inspiration, create more agile and appropriate workflows for Web design, and encourage yourself to constantly learn more about both the design and the technical issues with which you work. Which tools do you need to get started? Which tools do you need to adopt the Transcendent CSS approach and to work along with the principles explained in this book? You don’t need anything more than you are probably using already. Don’t worry, you won’t need a spanner or a monkey wrench. You won’t even need special software or new server configurations. This book is not aimed at beginners; I assume you already have a good, working knowledge of XHTML (eXtensible HTML) markup and CSS and you understand the core concepts of Web standards. If you are still at the stage of using tables for layout, this book won’t teach you about the basics of selectors or common CSS properties; many other fantastic references are already available that will do just that.
    [Show full text]
  • CSS Hacks Para Firefox, Internet Explorer, Chrome, Opera, Safari… » Print
    19/03/13 Racó tècnic » CSS hacks para Firefox, Internet Explorer, Chrome, Opera, Safari… » Print - Racó tècnic - http://www.racotecnic.com - CSS hacks para Firefox, Internet Explorer, Chrome, Opera, Safari… Posted By Booletaire On 8 febrer 2010 @ 23:38 In Programació,Web | 43 Comments Todos sabemos lo divertido y emocionante que es hacer la compatibilidad crossbrowser de nuestras páginas web. Por suerte para nosotros, existen un gran número de hacks CSS que podemos utilizar en cada una de las versiones de cada navegador para ayudarnos a poder mostrar por igual los contenidos de una web en todos los navegadores. Partiré de este estilo: .selector { color: #CCCCCC; } Empezaré por Internet Explorer, dado que es para el que usualmente se necesitan más hacks: Internet Explorer 6 .selector { _color: #CCCCCC; } Recordad que IE6 no interpreta la propiedad (o palabra clave..) de CSS “!important” por lo que podéis jugar con ello (aunque no es lo más recomendable): Internet Explorer 6 (!important) .selector { color: #CCCCCC !important; color: #000000; /* Éste estilo sólo se aplicará a Internet Explorer 6 */ } Internet Explorer 7 y anteriores: .selector { *color: #CCCCCC; } Internet Explorer 8 Este es un poco putilla, ya que el mismo hack de IE8 a veces lo interpreta IE7… así que, si nos interesa, primero habrá que poner algo que interprete únicamente IE7 y después hay que poner el hack de IE8: /* Interpretado únicamente por IE7 (actúa como un !important) */ *:first-child+html .selector { color: #CCCCCC; } .selector { color /*\**/: #CCCCCC\9 /* Sin
    [Show full text]