login | register
04 Jul 2008 [22:57 UTC]

bitweaver - Web Application Framework and CMS

Web Application Framework and CMS

Refresh cacheHistoryPrint

tip: «paragraphs» style

Created by: dspt,Last modification on 07 Nov 2006 [21:07 UTC]
wiki engine of bw parses text without encapsulating blocks of text into <p>...</p>, it adds <br/> instead. so it's quite difficult to style your paragraphs in content, as there's none of them according to the markup. There're nor indents for the first line, neither any padding or margins. In long pages it creates "wall of text" effect, which is not nice at all. usually it makes people to add double breaks, like <br/><br/>. more readable, but not very stylish.
What can be done in this case?
As a bit more versatile solution I can offer you to style the <br/> itself with CSS.
The first method I came up with is .content br {display:block; margin-bottom:VALUE;) rule. This works in FF2, but I'm not sure about other browsers. It doesn't work in IE6, as far as I tested it.
the better results MIGHT be achieved with selectors like :before or :after, but I have no time to test this ATM

P.S. I keep forgotting that there are no " allowed in the names of the wikipages, even after I stumbled over it so many times on my site. Unfortunetely, the engine doesn't test this on submitting

Comments

Related Items

Documentation » Theming and Styling

any documentation that helps or explains themeing and styling bitweaver

CascaderPackage  •  FeatureThemeControl  •  Icon Research  •  IconThemes  •  StyleLayouts  •  Style Uploads  •  StyleVariations  •  theme compilance with MSIE  •  ThemeCSS  •  ThemesPackage  •  ThemeStructureIdea  •  ThemeStructureIdea2  •  ThemeTutorial  •  tip: «paragraphs» style   •  Tutorial - Native Theme  •  Style Layouts  •  Icon styles  •  Styles  •  antiquity  •  autumn 05  •  biticonification  •  Blue Smileys  •  dark shine

Search bitweaver


Wiki

Last Modified Pages

Login box