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


Удаленная работа для программистов  •  Как заработать на 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

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