Help - Search - Members - Calendar
Full Version: Text wrap around image
HTMLHelp Forums > Web Authoring > Cascading Style Sheets
tharpdevenport
If you go down to the episode "See No Evil", here:

http://rejectedfilmscores.150m.com/BATMAN/S1.html

You will see the entry below that is affected. I stopped from adding anymore images because I don't want to repeat the same problem again and again.
Darin McGrew
I recommend that you start by fixing the markup errors reported by our online validator.
tharpdevenport
The code is fine, all those errors are 95% the code from ads placed on my free site, as I say everytime I start a thread and one of yout posts a link to the validator, rather than help me.

And no, it's not the code cause "quirks", as the coding placed is always different, and not always there, and the page displays the same everytime, so...
Darin McGrew
Even ignoring the ad-related errors before <body> tag, your structure is just broken. For starters, dd elements must be inside dl elements. And inline elements must be inside block-level elements if you're going to use a Strict DTD.
Darin McGrew
Also, don't use BMP images. Use GIF or PNG for line art, and JPEG for photos.
tharpdevenport
It's not a finished page; it's not spell checked, fully done and what not. I am just saving hte images as BMPs for higher qaulity and will convert them to JPG later.

Any help on what I asked about?
Darin McGrew
QUOTE
Any help on what I asked about?
Fix your broken structure, and stop misusing dd elements to indent.
tharpdevenport
I wasn't aware DD was being misused; is there an easy way to indent, because I don't know it.

Structure is fine.
Darin McGrew
QUOTE(tharpdevenport @ Jan 24 2008, 02:24 PM) *
I wasn't aware DD was being misused; is there an easy way to indent, because I don't know it.
Please see the FAQ entry Where can I learn about CSS?

QUOTE(tharpdevenport @ Jan 24 2008, 02:24 PM) *
Structure is fine.
No, the structure of your HTML document is broken. The display effect you're seeing is based on browsers recovering from the broken markup.
Frederiek
QUOTE(tharpdevenport @ Jan 24 2008, 11:24 PM) *

I wasn't aware DD was being misused; is there an easy way to indent, because I don't know it.

Read this article on the misuse of Definition Lists at 24 Ways.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.