|
|
10.4: Improve the layout of RSS feeds in Safari
You ought to also contact the sites of interest and ask that they use semantic HTML where is actually used for a blocked-off quotation.
In this day and age of modern browsers with CSS support, there is no reason that any other tag be used to surround such text on a web page! Of course, the semantic web is still a pipe dream because so many sites (and companies that run them) are still throwbacks to the 90s. Ugh...
Efficient CSS with grouping and shorthand
If all of the declarations are identical, you can group the selectors using the comma operator. Also, you could try shorthand declarations, remembering the clockwise spatial order: top right bottom left (or TRBL, "terrible" mnemonic). Note the even lazier padding declaration, which takes advantage of the "repetition" effect; that is, if opposite sides are the same (top and bottom, left and right), you can omit the second width. Cleaner, more efficient code results. One of the hallmarks of web standards, even. For example:
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.05 seconds |
|