110 likes | 234 Views
From Spreadsheets to Web Pages. 27 February 2014. Follow Ups. CSS Inheritence. If you have 2 entries in your CSS: d iv {} d iv.class {} BOTH are applied to <div class=“class”> Taking advantage: “all my divs will have a border” Problems: widths can conflict and rules aren’t obvious.
E N D
From Spreadsheets to Web Pages 27 February 2014
CSS Inheritence • If you have 2 entries in your CSS: div {} div.class {} • BOTH are applied to <div class=“class”> • Taking advantage: “all my divs will have a border” • Problems: widths can conflict and rules aren’t obvious
Looking at Formulas On PC On Mac
Crossing Worksheets • Can reference a cell on another worksheet by going there or typing worksheet_name!A7 • Computation Worksheets • Build as many columns as you want • Do it in small steps
Getting Tables to the Web • Numerous tools to convert tables • Addition table • Mr. Data Converter • Sets up classes • Formatted • Caveat: it requires that there be a value in the upper left cell • Tableizer • No classes • Not formatted • We have had Mac problems
Using Komodo Tools • Find/Replace is your friend • Resources page on website • Regular Expressions • Komodo Primer • Notes
Regular Expressions • allow you to match other than an exact string • Key capabilities • /w any alphanumeric • /s any space • [] any of the enclosed • + 1 or more • * 0 or more
Table cleanup • From Mr Data Converter • class=“[\w\s-]+” • Will match all of the classes generated • From Tableizer • Need multi-line as well as Regex • Use enter and tabs in Komodo • Copy and paste into “Replace with” OR • Use HTML Formatter