Sent by Dwain on 23 June 2005 08:08
Virginia Murdoch wrote:
> Really, what I'm trying to solve is the overlapping-text thing. If I
> place img tag AFTER any text, but then give it a negative top margin,
> the text that comes before the tag overlaps the image - at least in
> Safari and Firefox - rather than flowing around it. That happens
> whether it's a span or an img, in fact.
when i used the following css, the text did not overlap the image. the
text stayed to the right or left of the image depending on the float.
>>> border: 1px solid #949283;
>>> margin: 10px; /* or whatever suits your intent */
>>> float: left; /* or right */
>>> height: 140px;
>>> width: 100px;
>>> }
it should not matter where you insert the tag in the text, with the
above css the text should wrap. and if all of the book covers are the
same size, your class will work throughout, as you well know.
hth,dwain
--
Dwain Alford
[EMAIL-REMOVED]
http://www.alforddesigngroup.com
"The artist may use any form which his expression demands;
for his inner impulse must find suitable expression."
Wassily Kandinsky, "Concerning The Spiritual In Art"
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/