Active TopicsActive Topics  Display List of Forum MembersMemberlist  CalendarCalendar  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin


 One Stop Testing ForumTesting Tools @ OneStopTestingWinRunner @ OneStopTesting

Message Icon Topic: tool to validate css file as a tester

Post Reply Post New Topic
Author Message
vidhya
Senior Member
Senior Member


Joined: 24Mar2007
Online Status: Offline
Posts: 114
Quote vidhya Replybullet Topic: tool to validate css file as a tester
    Posted: 28Mar2007 at 3:39am
Do not override the default layout properties with an element selector rule, as this creates maintenance difficulties when the expected behavior for most uses of the element is changed. The example:
P { margin:0; }
will no longer provide paragraph breaks. If this is the desired behavior in one scenario, create an id or class selector instead. Note: this does not apply to colors or fonts, or any element that is guaranteed to adhere to the new layout consistently across the site (<body>).
• Ensure classes and ids identify what an element represents, not how it should look, e.g. "page-title" = good, "column-1" or "white-border" = bad
• Only create common classes and ids across pages where the elements themselves are common, e.g. "page-title" is used on almost all pages and is identical when it is; "vehicle-image" might also appear on many pages as well, but be a different size, have different margins and border on the inventory list view vs the model showroom screen.
• Class selectors should be used for items that occur multiple times in one page, id selectors should be used for unique items
• CSS rules embedded within FTL files should be removed and distributed to the template css files to insulate the individual templates from global rule changes.
• Rules should be created within the stylesheets for inline CSS styles.
MBA Examination papers



Post Resume: Click here to Upload your Resume & Apply for Jobs

IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.281 seconds.
Vyom is an ISO 9001:2000 Certified Organization

© Vyom Technosoft Pvt. Ltd. All Rights Reserved.

Privacy Policy | Terms and Conditions
Job Interview Questions | Placement Papers | Free SMS | Freshers Jobs | MBA Forum | Learn SAP | Web Hosting