Posted by Jukka K. Korpela on 04/25/07 12:41
Scripsit Jukka K. Korpela:
> div#content p {
> width: 74%;
> float: left;
> margin-bottom: 1em;
> text-align: justify; }
>
> .sidenote {
> float: right;
> clear:right;
> width: 22%; }
Yet another approach is to set right padding for the paragraphs (and other
containers inside "content"). This approach can be used both with % settings
and with em settings, e.g.
div#content p {
padding-right: 10em;
text-align: justify; }
..sidenote {
float: right;
clear:right;
width: 8em; }
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
Navigation:
[Reply to this message]
|