Topic: floating divs (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Berlin, Germany |
posted 12-15-2002 11:20
http://thinkdrastic.de/asylum/think2/journal/ |
Bipolar (III) Inmate From: Berlin, Germany |
posted 12-19-2002 13:05
Hello? |
Paranoid (IV) Inmate From: Milwaukee |
posted 12-27-2002 21:35
The trouble with this kind of problem is that there are so many interacting factors that it's nearly impossible to give a straight answer. The only real solution is "screw with it until it works, and if you can't get it to work, scrap it and use a different method." I just spent a half-hour trying to get your page to render correctly in Opera, and I couldn't. In your position, I would cut my losses and either accept the Opera bug, or redo it using absolute positioning; or redo it using a different system of floats. I'm certain there's one particular rendering problem, and I'm certain there's a workaround, but I don't know it. |
Bipolar (III) Inmate From: Berlin, Germany |
posted 12-27-2002 22:04
I fixed it using img-tags instead of divs with background attribute. |
Paranoid (IV) Inmate From: Milwaukee |
posted 12-27-2002 23:17
I would have suggested using actual <img /> tags, also... I just assumed you had some special reason to do it like you had. |
Bipolar (III) Inmate From: Berlin, Germany |
posted 12-28-2002 00:53 |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 12-28-2002 02:34
Definitely, still use <img> for images. XHTML 2 is still in draft form, and browsers haven't even begun to follow it yet. It'll be at least a year before this starts changing. |
Paranoid (IV) Inmate From: Milwaukee |
posted 12-28-2002 06:23
I don't know why <img> is being deprecated at all. If an image is central to the content of a page, it SHOULD be an element of its own, so that text-mode browsers will at least display its alt text and offer the option of downloading it. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 12-28-2002 08:16
They're being eliminated because the <object> tag serves the same purpose. In addition, the <object> tag can display *any* type of media that the browser can support (flash, java, etc), and has a much more useful method of displaying alternate content than the <img> tag's alt attribute. The deprecation of <img> (along with <applet> ), I believe, will be a very good thing because of this. |
Paranoid (IV) Inmate From: Milwaukee |
posted 12-28-2002 09:00
Ah, I should have studied up before opening my mouth. I somehow assumed that they were just taking the "style vs. content" thing a little too far. |