Topic: Approximating table layouts w/ CSS techniques |
|
---|---|
Author | Thread |
Paranoid (IV) Inmate From: Minneapolis, MN, USA |
posted 06-11-2002 20:22
Check this out: http://www.coffman.umn.edu/sample.html |
Bipolar (III) Inmate From: Berlin, Germany |
posted 06-11-2002 20:26
<div class="flow" style="float:right;"> |
Paranoid (IV) Inmate From: Minneapolis, MN, USA |
posted 06-11-2002 20:45
hm, doesn't seem to be doing the trick. I got it to float it outside the encapsulating div all the way on the right side of the document, or it seems to ignore the float property entirely. |
Bipolar (III) Inmate From: Berlin (almost) |
posted 06-11-2002 21:05
Yes, there is a property that <div>s have (and <img>s don't have): Every <div> is an own 'block' or 'paragraph' and starts in a new line unless you use float properties to prevent it from doing so. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 06-11-2002 21:24
Yeah, images are inline, but using <spans> will be just like using display:inline, and won't quite work as you want. |
Paranoid (IV) Inmate From: Minneapolis, MN, USA |
posted 06-11-2002 21:42
Thanks guys, back to the drawing board. |
Paranoid (IV) Inmate From: Minneapolis, MN, USA |
posted 06-12-2002 19:19
Okay guys, I got this working REASONABLY well at http://www.coffman.umn.edu/sample2.html . |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 06-12-2002 21:02
Hmm, that's behaving strangely. |
Paranoid (IV) Inmate From: Minneapolis, MN, USA |
posted 06-12-2002 21:26
Oops, I've been editing and I left it in a really weird state. I actually have it working fine, check it out again. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 06-12-2002 22:19
The problem occurs when your "renovation" image and the dome image overlap. Make the "renovation" image shorter - there's a lot of space on the right of it that's nothing more than the background image, and can be cut off. |
Paranoid (IV) Inmate From: Minneapolis, MN, USA |
posted 06-12-2002 22:37
Yes, shortening the image is the easiest thing to do, although this template will be used on many many pages with different titles, so the length could vary. It looks like I'll just have to shorten it up however. |