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