| tricks | Aktuell | Seminare | Reports | Homepage | Software | ||||||
|
| |||||||||||
|
@informatik.hu-berlin.de Reports - postindustr.CC - XML/Ti Report - pTA StudienArbeit . - sch_llf study - Geschichte des PC TechDocs - Perl Objects - Installing Oracle - shell cmds in python - Using css for xml defs tricks - Unsafe mono [x] ! - Docbook Manpages - Java Bean Code rpm-suse - schema-mappingen ig cv hg re dv ev zz mk pr - java problemsen lang swing ext gtk jjtree xul boot -grub-netboot -grub-gtk -partclone freshmeat -partimage links -releaseuploader -guidod-pygtk
2005-01-24
|
Howto use CSS defs/values for interesting tricks (techdoc)Some css style defs will only work in combination with other defs and/or an enclosing markups with different css defs. dropcapA dropcop is a large letter at the start of a paragraph that spans over multiple lines. The rest of the paragraph does flow around to the left and below the dropcap. It is not correct to use complicated table layout - instead use a div-float enclosed in another div (a "p"aragraph isa "div" with some extra padding).
dropnoteA dropnote is usually a small image without a caption that should be shown somewhere near a specific point in text. Using a table cell will often create additional whitespace either below the note or below the main text. Instead use a div-float enclosed in another div. Most of the time you want to set some extra padding for the enclosed image as it would otherwise look more like a misplaced dropcap.
listseparatorEspecially during formatting of xml via css you might come across a list of items where you do not want to present each on its own line - but on one line being seperated by a comma. You do not need to run that through an xsl stylesheet to add some comma to the text content, instead use a clever list of pseudo-tags and addup css defs - i.e. "content: ','".
You can try this: Links
| ||||||||||