You are here: Re: Spacing on pictures on framed part of page?????? « HTML « IT news, forums, messages
Re: Spacing on pictures on framed part of page??????

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация