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

Posted by palun on 01/11/08 10:22

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).

/ulf

Michael Fesser skrev:
> .oO(palun)
>
>> 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...
>
> It's always a good idea to validate the HTML and CSS before asking for
> help:
>
> #anId {
> width: 400px;
> }
>
> Micha

 

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

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