On Jun 11, 2005, at 10:55 PM, Roger Roelofs wrote:
I've messed with absolutely positioning the images within their
columns, but that makes wrapping text around them a problem. Is
there a way to accomplish this, or should I just settle for their
being a little off, depending on the length of the preceding text
in their individual columns?
I vote for settling. You need to float them to get the text to
warp around them. You could tweak the margin-top on one of the
images to get them closer, but that means changing the stylesheet
every time the content changes. Also, differing text sizes will
affect where the images float to, so what looks good to you may not
to someone who has different font-size defaults than you.
I am not sure if this would do the trick, but have you tried:
img.calendar {
float: right;
margin: 5px;
position: relative;
top: 6.25em; /* 100 pixels from top of column, adjust to your
needs */
}
This would require a new style for each set of images that your want
to line up, but the first two images in each column should line up.
Not tested, but I'm curious if works or not.
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/