You are here: Re: positioning images « HTML « IT news, forums, messages
Re: positioning images

Posted by David Graham on 05/18/06 22:09

> Try:
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
> "http://www.w3.org/TR/html4/strict.dtd">
> <html>
> <head>
> <title>More Flexible Layout</title>
> <style type="text/css">
> #banner { margin: 30px 0 0 5px; border: 0; padding: 0; color: #fff;
> background-color: #00a000; height: 100px; }
> #banner IMG { border: 0; display: block; }
> #banner #logoRight { float: right; }
> #banner #logoLeft { float: left; }
> </style>


Why the display block? - what does that do?, can't you just float left and
right without the display block?
bye
David

 

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

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