James Jeffery wrote:
I have never had to use img within the body tag. I was playing about
with a test case for a client and happened to put img directly within
the body (was for an image on screen with next and prev. links ... a
gallery).
In HTML 4.x Strict and related specs, the content
A very silly question that I cannot believe I am asking.
I have never had to use img within the body tag. I was playing about with
a test case for a client and happened to put img directly within the body
(was for an image on screen with next and prev. links ... a gallery).
I validated, and it
If you're using XHTML, inline elements (like imgs) need to be contained
within a block level element (like a div).
On Thu, Nov 6, 2008 at 3:04 PM, James Jeffery
[EMAIL PROTECTED] wrote:
A very silly question that I cannot believe I am asking.
I have never had to use img within the body tag.
On Thu, Nov 6, 2008 at 3:04 PM, James Jeffery
[EMAIL PROTECTED] wrote:
A very silly question that I cannot believe I am asking.
I have never had to use img within the body tag. I was playing about with
a test case for a client and happened to put img directly within the body
(was for an image
Ah, see. One little assumption threw me off.
I know inlines can't contain blocks. I assumed the body element was block
level by default. You see, it goes to show, after developing websites for
many companies and government agencies over the years you can still be threw
off by something silly.