Reply to Re: 'clear' help needed

Your name:

Reply:


Posted by dorayme on 01/08/07 00:04

In article <pan.2007.01.07.15.36.13.330266@xmbstevensx.com>,
mbstevens <NOXwebmasterx@xmbstevensx.com> wrote:

> Browser support for clear is not universal. I try to avoid it when
> possible.

I am usually comfortable using it. There is an issue with
inheritance on Mac IE 5 which I bump up against now and then and
could recall if I have to... something to do with clear being
inherited in spite of child elements not being cleared or being
specifically not cleared. Easy enough to fix for this browser
with css that talks to it.

Came across a little case of my own yesterday that puzzled me -
excuse me OP - for a while and I dropped using clear: (though it
seemed so right!), instead I used margins to solve the little
problem. I am now thinking I have to think through the concepts
of floats more!

In case anyone is interested, I was supposing that when you have
a box and float stuff in it, subsequent clears in that box would
apply only to the floats in that box. But yesterday I had a clear
that took account of another float outside the box. Or sure
seemed to!

Simple enough really though: page had a left floated nav col and
a right content div box (margined to give the left nav float a
formal space to sit in). Inside the div content box, at the very
start I had a little float (to accommodate one drop-cap letter -
it is all Farmer Joe's fault), for a little one line sentence.
The point is that when I cleared the float for the next heading,
the heading jumped down to clear the nav floated box. It is no
good me knowing this is "correct" behaviour. I need to think
about it more not to be puzzled! Perhaps I have missed something
quite simple and if fixed, can go back to using clear properly!

URL? OK (click on the link "Blue" and "Maroon" - there only
temporarily to show some people possible backgrounds - to see the
difference re clear):

<http://members.optushome.com.au/droovies/khs/>

--
dorayme

[Back to original 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

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