ACF css: Difference between revisions

From Alpine Linux
(typo)
Line 19: Line 19:
*** [http://www.w3.org/TR/html4/struct/global.html#h-7.5.2 w3.org]
*** [http://www.w3.org/TR/html4/struct/global.html#h-7.5.2 w3.org]


=== header (id) ===
=== Using leader/tailer class in every ID ===
Just a thought... Would it be a good idea to have a leader/tailer class inside every (DIV ID)?
* leader(class)
* Main content
* tailer(class)
The leader/tailer(class) could be used ether to display information or could be used for graphical changes (with the CSS)?!?!
 
=== DIV(s) inside the BODY ===
==== header (id) ====
* leader (class)<BR>
* leader (class)<BR>
  [Skip to main content]<BR>
  [Skip to main content]<BR>
Line 27: Line 35:
** ''(empty for now)''<BR>
** ''(empty for now)''<BR>


=== main (id) ===
==== main (id) ====
main.id doesn't have a 'mid(class)' because it holds multiple divs.<BR>
main.id doesn't have a 'mid(class)' because it holds multiple divs.<BR>
* leader (class)<BR>
* leader (class)<BR>
** ''(empty for now)''<BR>
** ''(empty for now)''<BR>


==== nav (id) ====
===== nav (id) =====
* leader (class)<BR>
* leader (class)<BR>
** ''(empty for now)''<BR>
** ''(empty for now)''<BR>
Line 41: Line 49:
  Where we have been<BR>
  Where we have been<BR>


==== subnav (id) ====
===== subnav (id) =====
* leader (class)<BR>
* leader (class)<BR>
** ''(empty for now)''<BR>
** ''(empty for now)''<BR>
Line 49: Line 57:
** ''(empty for now)''<BR>
** ''(empty for now)''<BR>


==== content (id) ====
===== content (id) =====
* leader (class)<BR>
* leader (class)<BR>
** ''(empty for now)''<BR>
** ''(empty for now)''<BR>
Line 62: Line 70:
** ''(empty for now)''<BR>
** ''(empty for now)''<BR>


=== footer (id) ===
==== footer (id) ====
Might be that the footer could go inside the 'content.id'<BR>
Might be that the footer could go inside the 'content.id'<BR>
* leader (class)<BR>
* leader (class)<BR>
Line 73: Line 81:
**  This could be used for graphics
**  This could be used for graphics


=== Graphic summary of the DIV(s) ===
  ---------------------
/ page
|  -------------------
| / header
| |  -----------------
| | / leader (class)
| | \                  [Skip to main content]
| |  -----------------
| |  -----------------
| | / mid (class)
| | \                  AlpineLinux ''(or maybe hostname)''
| |  -----------------
| |  -----------------
| | / trailer (class)
| | \
| |  -----------------
| \
|  -------------------
|
|  -------------------
| / main
| |  -----------------
| | / leader (class)
| | \
| |  -----------------
| |  -----------------
| | / nav
| | |  ---------------
| | | / leader (class)
| | | \
| | |  ---------------
| | |  ---------------
| | | / mid (class)
| | | \                Navigation (main) (and its items)
| | |  ---------------
| | |  ---------------
| | | / trailer (class)
| | | \                Where we have been
| | |  ---------------
| | \
| |  -----------------
| |  -----------------
| | / subnav
| | |  ---------------
| | | / leader (class)
| | | \
| | |  ---------------
| | |  ---------------
| | | / mid (class)
| | | \                Navigation (subnav) (and its items)
| | |  ---------------
| | |  ---------------
| | | / trailer (class)
| | | \
| | |  ---------------
| | \
| |  -----------------
| |  -----------------
| | / content
| | |  ---------------
| | | / leader (class)
| | | \
| | |  ---------------
| | |  ---------------
| | | / mid (class)
| | | \                Main content of the page.
| | |  ---------------
| | |  ---------------
| | | / trailer (class)
| | | \
| | |  ---------------
| | \
| |  -----------------
| |  -----------------
| | / footer
| | |  ---------------
| | | / leader (class)
| | | \
| | |  ---------------
| | |  ---------------
| | | / mid (class)
| | | \                Made with care by webconf
| | |  ---------------
| | |  ---------------
| | | / trailer (class)
| | | \
| | |  ---------------
| | \
| |  -----------------
| |  -----------------
| | / tailer (class)
| | \
| |  -----------------
| \
\  -------------------
  ---------------------
=== Graphic without mid(class) ===
  ---------------------
/ page
|  -------------------
| / header
| |  -----------------
| | / leader (class)
| | \                  [Skip to main content]
| |  -----------------
| |                    AlpineLinux ''(or maybe hostname)''
| |
| |  -----------------
| | / trailer (class)
| | \
| |  -----------------
| \
|  -------------------
|
|  -------------------
| / main
| |  -----------------
| | / leader (class)
| | \
| |  -----------------
| |  -----------------
| | / nav
| | |  ---------------
| | | / leader (class)
| | | \
| | |  ---------------
| | |                  Navigation (main) (and its items)
| | |
| | |  ---------------
| | | / trailer (class)
| | | \                Where we have been
| | |  ---------------
| | \
| |  -----------------
| |  -----------------
| | / subnav
| | |  ---------------
| | | / leader (class)
| | | \
| | |  ---------------
| | |                  Navigation (subnav) (and its items)
| | |
| | |  ---------------
| | | / trailer (class)
| | | \
| | |  ---------------
| | \
| |  -----------------
| |  -----------------
| | / content
| | |  ---------------
| | | / leader (class)
| | | \
| | |  ---------------
| | |                  Main content of the page.
| | |
| | |  ---------------
| | | / trailer (class)
| | | \
| | |  ---------------
| | \
| |  -----------------
| |  -----------------
| | / footer
| | |  ---------------
| | | / leader (class)
| | | \
| | |  ---------------
| | |                  Made with care by webconf
| | |
| | |  ---------------
| | | / trailer (class)
| | | \
| | |  ---------------
| | \
| |  -----------------
| |  -----------------
| | / tailer (class)
| | \
| |  -----------------
| \
\  -------------------
  ---------------------


=== Graphic without page(id) ===
=== Graphical presentation ===
   -------------------
   -------------------
  / header
  / header
Line 266: Line 89:
  | \                  [Skip to main content]  
  | \                  [Skip to main content]  
  |  -----------------
  |  -----------------
  |                    AlpineLinux ''(or maybe hostname)''
  |                    (H1)AlpineLinux(/H1) ''(or maybe hostname)''
  |
  |
  |  -----------------
  |  -----------------

Revision as of 15:10, 1 January 2008

Draft

This is just a place where I want to write down some notes on css issues for Alpine.
Don't consider this as a Alpine documentation until/if this heading saids otherwise.

CSS

H1,H2,H3

DL,DT,DD

DIV

  • ID
    • This attribute assigns a name to an element.
    • This name must be unique in a document
  • CLASS
    • This attribute assigns a class name or set of class names to an element.
    • Any number of elements may be assigned the same class name or names.
    • Multiple class names must be separated by white space characters.

Using leader/tailer class in every ID

Just a thought... Would it be a good idea to have a leader/tailer class inside every (DIV ID)?

  • leader(class)
  • Main content
  • tailer(class)

The leader/tailer(class) could be used ether to display information or could be used for graphical changes (with the CSS)?!?!

DIV(s) inside the BODY

header (id)

  • leader (class)
[Skip to main content]
  • mid (class)
AlpineLinux (or maybe hostname)
  • trailer (class)
    • (empty for now)

main (id)

main.id doesn't have a 'mid(class)' because it holds multiple divs.

  • leader (class)
    • (empty for now)
nav (id)
  • leader (class)
    • (empty for now)
    • (could be heading for the navigation)
  • mid (class)
Navigation (main)
  • trailer (class)
Where we have been
subnav (id)
  • leader (class)
    • (empty for now)
  • mid (class)
Navigation (subnav)
  • trailer (class)
    • (empty for now)
content (id)
  • leader (class)
    • (empty for now)
    • (This could be a heading for the content section)
  • mid (class)
Main content of the page.
This is where the interesting information is shown.
  • trailer (class)
    • (empty for now)
  • trailer (class) (trailer for main.id)
    • (empty for now)

footer (id)

Might be that the footer could go inside the 'content.id'

  • leader (class)
    • (empty for now)
    • This could be used for graphics
  • mid (class)
Made with care by webconf
  • trailer (class)
    • (empty for now)
    • This could be used for graphics


Graphical presentation

 -------------------
/ header
|  -----------------
| / leader (class)
| \                  [Skip to main content] 
|  -----------------
|                    (H1)AlpineLinux(/H1) (or maybe hostname)
|
|  -----------------
| / trailer (class)
| \
|  -----------------
\
 -------------------
 -------------------
/ main
|  -----------------
| / leader (class)
| \
|  -----------------
|  -----------------
| / nav
| |  ---------------
| | / leader (class)
| | \
| |  ---------------
| |                  Navigation (main) (and its items)
| |
| |  ---------------
| | / trailer (class)
| | \                Where we have been
| |  ---------------
| \
|  -----------------
|  -----------------
| / subnav
| |  ---------------
| | / leader (class)
| | \
| |  ---------------
| |                  Navigation (subnav) (and its items)
| |
| |  ---------------
| | / trailer (class)
| | \
| |  ---------------
| \
|  -----------------
|  -----------------
| / content
| |  ---------------
| | / leader (class)
| | \
| |  ---------------
| |                  Main content of the page.
| |
| |  ---------------
| | / trailer (class)
| | \
| |  ---------------
| \
|  -----------------
|  -----------------
| / footer
| |  ---------------
| | / leader (class)
| | \
| |  ---------------
| |                  Made with care by webconf
| |
| |  ---------------
| | / trailer (class)
| | \
| |  ---------------
| \
|  -----------------
|  -----------------
| / tailer (class)
| \
|  -----------------
\ 
 -------------------