6268Re: [NH] Tidy config file
- Nov 25, 2007Interviewed by CNN on 25/11/2007 10:17, WV-Mike told the world:
> At 07:13 PM 11/24/2007 , you wrote:Weird... I have blank lines between paragraphs when I do that.
>> Personally, I prefer having the <IMG> inside a paragraph, especially if
>> the pic is supposed to be related to the paragraph content. Something
>> like this:
>> <p class="comments"><img src="d21_tuesday_w4/ert07CA_D21_wk4_tues01.jpg"><br>
>> ert07CA_D21_wk4_tues02.jpg </p>
> Hi Marcelo,
> I tried the above with multiple paras and images and ran Tidy.
> Tidy removed all the lines separating the paras and I had a solid block of
> mark-up when Tidy finished.
> Off the subject, but - for some reason I thought the <p> tag was for textNo, the <p> tag is intended for delimiting paragraphs in body text. BUT
> only. Not sure where I got this idea.
paragraphs CAN contain images. For instance, lots of chat & blog sites,
and IM/e-mail clients, nowadays will replace the traditional
character-based smileys with pictures embedded in the text. That's
perfectly valid HTML.
Actually, the most peculiar thing about this tag and its siblings, the
<h1>...<h6> tags, is that they are block elements, but they cannot
contain other body elements. That is, they are not "full-fledged" block
> Also, is the <br> needed in your example above?Well, I assumed that you wanted the text _below_ the images (as opposed
> I did/did not included it and saw no difference in formatting.
to beginning on the right of the image). If you take out the <br> and
the image is not wide enough to fill up the provided area, the text will
begin to the right of the image instead of below it.
If NASA is so smart, why do they count backwards?
* TagZilla 0.066 on Seamonkey 1.1.6
- << Previous post in topic Next post in topic >>