You are here: Re: Why doesnt width and max-width work? « HTML « IT news, forums, messages
Re: Why doesnt width and max-width work?

Posted by Ben C on 01/11/08 10:32

On 2008-01-11, palun <flume2001@gmail.com> wrote:
> Terribly sorry. My mistake. (I wrote the code in the message. Should
> have copied.)
>
> Anyway, the code is correct in the CSS-file (and it still doesn't work).
[...]
>>> But the content ("Some stuff") still gets spread out over the whole page...
>>
>> It's always a good idea to validate the HTML and CSS before asking for
>> help:
>>
>> #anId {
>> width: 400px;
>> }

I assure you width does work. There must be something else going on:
perhaps another more specific style sets width back to auto, perhaps you
mis-typed the selector, perhaps the contents overflow.

This is why you have to post a url.

 

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

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