Reply to Re: HTML on Firefox 2

Your name:

Reply:


Posted by Nick on 10/29/07 17:43

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?

Basically I'm talking about

<div id="menu" class="menu" align="left">
bla bla bla
</div>

I thank you for taking the time looking at the errors, I knew there
were many concerning deprecated tags and similar, but as up to now it
wasn't affecting the look of the site, and I was in a rush to finish
the site, I had left for sorting out later. I know it's bad
practice. Anyway, what I don't understand is why altherb.eu, which
has the identical errors as the www.alternativeherbal.co.uk, can show
perfectly.

Anyway,

<div id="menu" class="menu" align="left">

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a
href="index.php" class="menu">HOME</
a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a
href="faq.php" class="menu">F.A.Q.</
a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a
href="forums/index.php" class="menu" target="_blank">CUSTOMER
FEEDBACK / FORUMS</
a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a
href="links.php" class="menu">LINKS</
a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a
href="contact.php" class="menu">CONTACT US</
a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a
href="https://alternativeherbal.co.uk/showbasket.php"
class="menu">VIEW BASKET</a>&nbsp;<a href="showbasket.php"
class="menu"><img src="images/cart.gif" valign="bottom" border="0"></
a>
</div>

is the element containing the horizontal menu.

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?

About
td.list { font-family:Verdana, Arial, Helvetica, sans-serif; font-
size:0.58em; width:180px; height:15px; text-align:left; padding-top:
7px; padding-bottom:7px; padding-left:.8em; border-bottom:.5px solid
#00CC00}

I suppose that what is wrong there is using em for font sizing. As
before IE7 using px reesulted in a page with unalterable fonts, I
wanted to overocme his problem. At the time I studied Web Desing, 3
years ago, all they thought was pixel sizing, so I had to look for
solutions researching the internet; I was aware of the problem that
sizing up, or down gave extreme results, but I didn't know how to fix
it yet. I will follow you suggestion to use % sizing instead.

About Andy comment, yes, even though this project was born from my
first attempt not to use tables, and use HTML/CSS Elements instead, I
still ended up using some tables. Do you suggest doing away of them
totally? Should I substitute them all with <div></div> elements + CSS
positioning?

I'll also start working on making the page a coherent HTML 4.01
Strict.

I am looking forward to your answers, and I will post back when I've
fixed some errors.



On Oct 29, 2:21 pm, Andy Dingley <ding...@codesmiths.com> wrote:
> On 29 Oct, 12:04, Nick <maxout2001-nos...@yahoo.co.uk> wrote:
>
> > I have designed a new website. www.alternativeherbal.co.uk, which
> > uses layers instead of tables.
>
> What on earth are "layers" ?
>
> Also this site is built out of 10 year old HTML, uses the Transitional
> doctype and is based around using <table> for layout. All of these are
> bad practices and should be fixed before proceeding any further.
>
> Read this newsgroup's archives for advice on what to do next, but
> reading "Head First HTML" wouldn't be a bad start.
>
> > I have a nearly identical version of this site onwww.altherb.eu,
>
> Broken doctype declaration on that site, which will switch FF into IE-
> compatible quirks mode.

[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

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