|
Posted by Barbara de Zoete on 11/03/82 11:41
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.
> 2. I find that I just end up having to add divs to get the layout right
> which means that my document now contains formatting instructions mixed
> with its content - exactly what CSS was meant to avoid.
That might be because you don't use what is there. The page has many
elements, all off which you can style with CSS. But it is hard to know, if
you don't show us a page on-line. URL please?
--
______PretLetters:
| weblog | http://www.pretletters.net/weblog/weblog.html |
| webontwerp | http://www.pretletters.net/html/webontwerp.html |
|zweefvliegen | http://www.pretletters.net/html/vliegen.html |
Navigation:
[Reply to this message]
|