Reply to Re: Why doesn´t width and max-width work?

Your name:

Reply:


Posted by palun on 01/11/08 09:11

Sorry, it's not deployed. But the code is really simple:

In html:

<div id="anId">
Some stuff...
</div>

and in css:

#anId {
width=400px;
}

But the content ("Some stuff") still gets spread out over the whole page...


I just realized: Could any of the stuff inside the div affect its width?
I.e. can the content affect the width of the of container? (Not very
logical...)

/ulf

rf skrev:
> "palun" <flume2001@gmail.com> wrote in message
> news:64Ghj.2626$R_4.2127@newsb.telia.net...
>> Ok, here´s a really elementary question:
>>
>> -- Why doesn't "width" and/or "max-width" in CSS have any effect on, for
>> instance <div> or <td>? (I'm using Firefox.)
>
> They do. URL to what you have tried?
>

[Back to original 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

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