Changes for page ERDivaLook
Last modified by Ravi Mendis on 2010/09/10 01:14
From version 192.1
edited by Ravi Mendis
on 2009/04/24 02:32
on 2009/04/24 02:32
Change comment:
There is no comment for this version
To version 195.1
edited by Ravi Mendis
on 2009/04/24 02:03
on 2009/04/24 02:03
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -42,7 +42,7 @@ 42 42 43 43 The graphics designer Eduardo Cesario wrote up his experience of developing his //Organica// design for an early prototype of ERDivaLook on his [[blog>>http://www.organicacreativa.com/organica-creativa.php?area=directtoweb&lang=en]]. 44 44 45 -= How to useERDivaLook =45 += Using ERDivaLook = 46 46 47 47 === Setting the D2W Page CSS === 48 48 ... ... @@ -71,13 +71,13 @@ 71 71 72 72 {{/code}} 73 73 74 -The CSS file //NeutralEditPage.css// imports a global CSS for the theme, //Neutral.css//, a generic one for the edit page //ERDIVEditPage.css// and CSS files for D2W components used on an edit page.74 +The CSS imports a global CSS for the theme, //Neutral.css//, a generic one for the edit page //ERDIVEditPage.css// and CSS files for D2W components used on an edit page. 75 75 76 76 ===== 2. Image Replacement ===== 77 77 78 78 {{code}} 79 79 80 -div#a h1.edit { 80 +div#a form h1.edit { 81 81 background: url(/WebObjects/Frameworks/JavaDirectToWeb.framework/WebServerResources/EditMetalBan.gif) no-repeat; 82 82 text-indent: -5000px; 83 83 } ... ... @@ -86,10 +86,10 @@ 86 86 87 87 Standard CSS image replacement applies. 88 88 89 -Here, the edit page banner is being set. {{color value="red"}}{{div#a h1.edit}}{{/color}} is an example of a **CSS selector**. Diva D2W page content is nested inside a ##<div id="a">..</div>##. It's CSS selector is {{color value="red"}}{{div#a}}{{/color}}.The page title ismarkedup as ##<h1 class="edit">..</h1>##, so the resulting CSS selector for that element would be {{color value="red"}}{{h1.edit}}{{/color}} ormore specifically{{color value="red"}}{{div#a h1.edit}}{{/color}}.89 +Here, the edit page banner is being set. {{color value="red"}}{{div#a form h1.edit}}{{/color}} is an example of a **CSS selector**. The page title is a <h1> with a class //edit//, so the resulting CSS selector for that element would be {{color value="red"}}{{h1.edit}}{{/color}} or {{color value="red"}}{{div#a form h1.edit}}{{/color}} more specifically. 90 90 91 91 {{tip title="Tip"}} 92 92 93 -All CSS selectors in a Diva D2W page begin with *{{div#a}}*.93 +All elements in a Diva look D2W page will begin with *{{div#a}}*. 94 94 95 95 {{/tip}}