You are here: Re: CSS Not What I Thought It Would Be « HTML « IT news, forums, messages
Re: CSS Not What I Thought It Would Be

Posted by dorayme on 11/23/59 11:41

In article <op.s5t16ku6l8uz2z@zoete_b>,
"Barbara de Zoete" <trashbin@pretletters.net> wrote:

> On Fri, 03 Mar 2006 11:04:39 +0100, Tim Milstead
> <tim_milstead@yahoo.co.uk> wrote:
>
> > Here are two things I find difficult in CSS.
> >
> > 1. The width of an object being width+margin+border+padding as opposed
> > to being just the width property! Suppose I want two columns one 25%
> > wide the other 75% wide.
>
> Just set width on the narrow column (25%). Leave width:auto; for the other
> one. It then should just take up the remaining width. Unless something
> else is wrong.

Yes, this seems sound advice.

A further thing, perhaps someone can talk about the best and
simplest technique they personally favour to get the two divs to
line up height-wise, (align at top being easy of course).

Personally I have given up bothering to design with such a
requirement, it seeming to be rather bothersome. But it can come
in handy when insistently asked to keep a tables layout effect
for some established page - minus the tables! I would not boast
any devices I use, but am all ears on good suggestions and
perhaps others would like to know this too...

--
dorayme

 

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

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