History: SimpleStyleDev
Preview of version: 45
- Where are we?
Current TikiWiki style templates and CSS files are overcomplicated. Mostly they do use tables for layout and so many unnecessary different classes and IDs. It isn't very easy to maintain, modify or understand, sometimes a theme displays wrong, disallows an user to change font size in his/her browser or the page structure is designed against usability and accessibility. - Where do we want to be?
We want to create simple, easy understandable style with minimum of required IDs and classes in XHTML Strict compliant template layout with simple CSS file. Still we would like to produce pleasant look and feel, which will be compatible with most available modern browsers (Mozilla 1+/Netscape7+, MSIE 5+, Opera 7+, Konqueror 3+, Safari, ...) and still browseable with CSS switched off using some CLI or "stone age" browsers. - Who is working on what? (Priorities/goals/majors issues/roles)
- luci
- Priorities:
- one simple CSS file
- perfect code
- Goals:
- pure CSS and valid XHTML 1.0 Strict based layout which can be used as a model for other themes and maybe even replace the default *.tpl files for future TikiWiki releases
- Role: developer - project coordinator
- Priorities:
- luci
- CSS for tables and fancy tables
- CSS for calendar
- CSS for forums
- CSS to fix appearance of input fields
- Identify problematic code in style.css & Simple Style templates
- Full XHTML compliance
- and more ...
- Define width of center column (for lack of a better word)
- CSS for modules
- CSS for titlebars in wiki pages
Who is working here generally? (Link your UserPage)
link yourself here
- Bugs
- some input fields and textareas overflows into right column
- add more
- RFEs
- tech support
- patches
We (well, actually me, luci ๐) decided to use the technique of "source ordered floats" by Big John for the best flexibility of Simple style!
Similar purpose and/or pretty well structured and coded styles in Tiki:
- StylesMatrix and 'Notheme' style series (read more about it)
All other styles than Simple have got their own bugs:
- Styles not working on MSIE6 - tiki1.7 : StylesAkwa, StylesGeo, StylesMatrix, StylesMatrixlight, StylesMose, StylesNotheme, StylesNotheme.II, StylesNotheme.III
- tiki 1.7.1.1: All styles except moreneat, neat, olive, and Subsilver ( StylesMoreneat , StylesNeat , StylesOlive , StylesSubsilver ) have obvious display problems on IE 5.2 and Safari (OS X.2). The most prevalent problem is that boxes that should be below text overlap the bottom of lines. This bug shows in screenshots from other OSs as well.
Before you think it's a "mystery bug", read this! luci
Where are the Simple style files located:
- Templates: templates/styles/simple/*
- CSS file: styles/simple.css
For MSIE5/win (MSIE6?), there is the broken box model - known problem about the Microsoft box interpretation: they consider the width of a box is the width of the content. The standard considers that the width is the entire box except margin (=content+padding+border).
A method to correct it is the Tantek method: do not use padding and size at the same time (see for example box model hack and another one).
In any case, we have to correct the tiki templates and take away the width in the css to apply these hacks. (it's false to take away the width in every css file. it depends on the style (fixed/floating layout) and needs to be cared specifically. luci)
Pure CSS layout techniques:
- http://glish.com/css/ : 3 columns example manages 3 columns with no table.
- http://www.alistapart.com/stories/practicalcss/ proposes to use the float attribute.
- The Layout Reservoir : Flanking Menus - 3 columns layout
- Another great resource: Position Is Everything
- Ultimate list of pure CSS layouts: http://css-discuss.incutio.com/?page=ThreeColumnLayouts
- CSS Positioning (particularly floating): http://www.brainjar.com/css/positioning/default3.asp