Posted by Ben C on 06/03/07 14:59
On 2007-06-03, chrisdude911 <chriswillis10@gmail.com> wrote:
><html>
> <head>
> </head>
> <body>
><p>
> <img src="background.jpg" width="1000" height="118" border="0">
></p>
> </body>
></html>
>
> is that right
> because that still didnt fix it
<p> is a block-level element, but so is <body>. The <p> is not
necessary; as far as I can see there's nothing wrong with putting <img>
directly inside body.
The gap is just the default margin on body. If you don't want the gap,
add body { margin: 0; } to the styles or write <body style="margin: 0">.
Navigation:
[Reply to this message]
|