by dorayme <doraymeRidThis@[EMAIL PROTECTED]
>
May 6, 2008 at 02:58 PM
In article
<ea3df78a-e473-4faf-ae23-41a952f4db95@[EMAIL PROTECTED]
>,
Butch61 <ContactUs@[EMAIL PROTECTED]
> wrote:
> Hello all.
>
> Just a quick question.
>
> I've got a <p> inside a <div>.
> I've got margins set and absolute placement for the <div>.
>
> I was under the impression that the <p> content would have to inherit
> the format of the <div> in which it resides.
> It does not.
>
> The <p> text flows outside the margins I set for the <div>.
> When I remove the <p> tags from the text, the text stays inside the
> <div> parameters.
> When I put the <p> back in, with no specific style to the <p>, the
> text again flows outside the <div> margins.
>
> What is it that I don't understand?
>
That what is inherited and what is not, is not a simple matter like
this.
> Is html and making this all work in all common browsers as much of a
> pain in the ass as I think it is?
Yes. But there is nothing easier on it.
--
dorayme