Reply to Re: HTML on Firefox 2

Your name:

Reply:


Posted by Ben C on 10/29/07 19:27

On 2007-10-29, Nick <maxout2001-nospam@yahoo.co.uk> wrote:
> With the term of Layers I was referring to CSS Layers. There are many
> sites out there talking of DIV Layers, such as in
>
> http://www.dashdev.net/xhtml_css_tutorial_5.html for example.
>
> I know the W3C guidelines change constantly, especially about
> accessibility and cross browser standardisation, so I don't know if
> layers is the up to date term or not. Perhaps is it CSS or HTML
> Elements more correct?

I think "layers" is rather odd. That site seems to be using the term
just to mean "block box".

> Basically I'm talking about
>
> <div id="menu" class="menu" align="left">
> bla bla bla
> </div>

Use float: left, not align="left". IIRC align="left" on a div turns
into "float: left" but only in quirks mode.

[...]
> has the identical errors as the www.alternativeherbal.co.uk, can show
[...]
> Is it a problem using &nbsp; to space the different hyperlinks? I
> don't really expect this site to be viewed from other than European/
> Western languages browsers.
>
> If it's the &nbsp; that you think are a problem, what would you
> suggest excluding tables?

Use a series of left floats if you need to set height on them. Otherwise
just a series of inline elements (span for example, or <li> but set li {
display: inline; }). You can then set left and right padding on the
inlines to achieve spacing.

[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

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