Block Elements

Is <p> a Block Element?

Is it correct that Block Elements extends the entire horizontal width of the viewport?

For instance, if I had this…


<p>This is a test...</p>

How far left and right would the containing block extend?

Debbie

Yes p is block. It will go 100% of the width of it’s container.

Do this. Set up a test page. With just the basic code nothing else. Anytime you you need to see how something works put it in there and load it up in Forefox. Give it a background so you can see it. This is the best way to learn. Heck I still have a test page if I need a reminder or two.

Do you have firebug yet? That is the second best way to learn.

I re-installed it. Let’s hope it doesn’t crash like last time.

It still doesn’t answer basic questions like my problem figure out how to clear my H1 in this thread.

Debbie