[thelist] image in <p> (was "random image...")

rudy limeback r937 at interlog.com
Mon Jul 3 13:14:09 CDT 2000


>> Why is it bad to use <div></div>?
>
> it's not, it just offers no contextual indicator whatsoever...
> a <p> at least says, "hey, i'm a paragraph, treat me like one,"
> while a <div> says "hey, i'ma  block-level element of a generic
> nature, i have no idea what purpose i serve, but the CSS will
> at least make me look pretty..."

i think i'm with erika on this one

a paragraph is a text container, n'est-ce pas?  what if there's no text?
is it still a paragraph?  if a man says something in a forest, and there's
no woman around to hear him, is he still wrong?

(i'm going to assume aardvark just had a momentary lapse, for which he
should be forgiven, considering the emotional meltdown he must've undergone
yesterday about three and a half minutes into extra time...  good thing i
never bet money, because i would've lost my shirt too, adrian... it just
goes to show you that it ain't over till it's over...)

contextually, sticking an image into a <p> when there's no text is like
saying "hey, i'm not really a paragraph, i'm just passing myself off as one
because of all the convenient attributes that a <p> has, like the default
line-height of spacing before and after it..."

i mean, just because a certain editor that shall remain nameless sticks
anything and everything into a <p> (except sometimes) doesn't make it the
right thing to do

for example, i code

  <body><a name=top></a>

and the next time somebody updates the page with said editor, it comes out
like this

  <body>

  <p><a name=top></a></p>

now, as far as i know, an anchor is not text, so why stick it into a <p>?
and where exactly is the anchor now, huh?  in some browsers it's no longer
at the top of the page...

and while we're on the topic of said editor, what the heck is this --

  <blockquote>
    <blockquote>
      <blockquote>
        <blockquote>
          <blockquote>
            <blockquote>
             &nbsp;
            </blockquote>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
  </blockquote>

i mean, where's the <p> that the space is supposed to be inside of, eh?
huh?

it's not wysiwyg, it's wygiwyd -- what you get is what you deserve...


rudy.limeback
r937.com
evolt.org






More information about the thelist mailing list