|
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]
|