ACF css: Difference between revisions
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
Some notes on DIV(s) folows.<BR> | Some notes on DIV(s) folows.<BR> | ||
Document difference between id/class. | Document difference between id/class. | ||
* ID | |||
** This attribute assigns a name to an element. | |||
** This name must be unique in a document | |||
*** [http://www.w3.org/TR/html4/struct/global.html#h-7.5.2 w3.org] | |||
* 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. | |||
*** [http://www.w3.org/TR/html4/struct/global.html#h-7.5.2 w3.org] | |||
=== | === header (id) === | ||
* leader (class)<BR> | |||
[Skip to main content]<BR> | |||
* mid (class)<BR> | |||
AlpineLinux ''(or maybe hostname)''<BR> | |||
* trailer (class)<BR> | |||
''(empty for now)''<BR> | |||
=== main (id) === | |||
main.id doesn't have a 'mid(class)' because it holds multiple divs.<BR> | |||
* leader (class)<BR> | |||
''(empty for now)''<BR> | |||
=== | ==== nav (id) ==== | ||
* leader (class)<BR> | |||
''(empty for now)''<BR> | |||
''(could be heading for the navigation)''<BR> | |||
Where we been | * mid (class)<BR> | ||
Navigation (main) | |||
* trailer (class)<BR> | |||
Where we have been<BR> | |||
==== subnav (id) ==== | |||
* leader (class)<BR> | |||
''(empty for now)''<BR> | |||
* mid (class)<BR> | |||
Navigation (subnav)<BR> | |||
* trailer (class)<BR> | |||
''(empty for now)''<BR> | |||
=== | ==== content (id) ==== | ||
* leader (class)<BR> | |||
''(empty for now)''<BR> | |||
''(This could be a heading for the content section)''<BR> | |||
* mid (class)<BR> | |||
Main content of the page.<BR> | |||
This is where the interesting information is shown.<BR> | |||
* trailer (class)<BR> | |||
''(empty for now)''<BR> | |||
* trailer (class)<BR> | |||
Trailer for main.id<BR> | |||
''(empty for now)''<BR> | |||
=== | === footer (id) === | ||
''Might be that the footer could go inside the 'content.id' ''<BR> | |||
* leader (class)<BR> | |||
* mid (class)<BR> | |||
* trailer (class)<BR> | |||
== Graphic summary of the DIV(s) == | |||
-------------------- | |||
/ page | |||
| ----------------- | |||
| / header | |||
| | ----------------- | |||
| | / leader | |||
| | \ | |||
| \ ------------------ | |||
| ------------------ | |||
| | |||
| | |||
| |
Revision as of 19:59, 31 December 2007
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
DIV(s)
Some notes on DIV(s) folows.
Document difference between id/class.
- 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.
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)
- leader (class)
(empty for now)
(could be heading for the navigation)
- mid (class)
Navigation (main)
- trailer (class)
Where we have been
- 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)
Might be that the footer could go inside the 'content.id'
- leader (class)
- mid (class)
- trailer (class)
Graphic summary of the DIV(s)
-------------------- / page | ----------------- | / header | | ----------------- | | / leader | | \ | \ ------------------ | ------------------ | | |