You are here: Re: CSS Newbie « HTML « IT news, forums, messages
Re: CSS Newbie

Posted by Martin Jay on 04/16/06 17:52

In message <4442468b$0$27450$882e0bbb@news.ThunderNews.com>, Bastard
<newaroundhere@hotmail.com> writes
>I LOVE YOU!!! x x x x

Gosh! :)

>Ok one final thing!

>If page width is 700
>And left column is 100 and main column is 600 why does it not work?! Is it
>something to do with my padding? I thought this ocurred INSIDE an
>'element?'.

Yes, it probably is the padding. Padding and border width will increase
the element's size when it's displayed. So,

..left
{
width: 100px;
padding: 10px;
}

Would have a total width of 120px on-screen. 100px, plus 10px left and
right.

Just to confuse things, it's the opposite way around in versions of
Internet Explorer for Windows prior to Internet Explorer 6 (and IE6 in
"quirks mode.") :(

>It would be nice if the left column was equal to the height of the main
>column - which will obviously grow and shrink according to content - it's
>not as simple as setting left column's height to 100% is it?

Try adding "background-color: #506066;" to #pagewidth in the css.
--
Martin Jay

 

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

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