Reply to Re: IE 6.0 / Firefox 1.07 and CSS positioning differences

Your name:

Reply:


Posted by Len Philpot on 11/06/85 11:35

In article <414d1pF1d2ceiU1@uni-berlin.de>, newsblahgroup@gtalbot.org
says...
> You are not posting an url which is always better for this kind of post.

It's not published anywhere - Just on a PC. It was just a page I had
created while reading some stuff online, trying various things. In fact,
I don't even have access to it right now, but I'll save your reply for
when I can sit down with it (thanks!).


> No doctype declaration. I recommend

Partially (and misguidely) intentional on my part - I was trying to
strip it down to the bare essentials, but I guess removing influential
code is going a bit too far, eh? ISTR I was using 4.01 transitional.


> so that you make sure you trigger all modern/web standards compliant
> browsers (including MSIE 6) into standards compliant rendering mode.
> When triggered in standards compliant rendering mode, MSIE 6 implements
> correctly the CSS1 box model.

That's good to know, although other things I wrote don't seem to work as
expected once quirks mode is gone (obviously). The last time I wrote any
HTML was using Netscape 2 era code, so it's been a while and obviously I
have a lot to (re)learn.


> The height is supposed to be for the whole paragraph which has 10 links
> with forced wrapping. What's wrong with not setting the height at all?
> ... thus letting the content set the box height?

Well, I had other content below below it that I wanted to remain
onscreen, IIRC.


> > <a href="dummy" class="menu_item">Menu choice seven</a><br>
> > <a href="dummy" class="menu_item">Menu choice eight</a><br>
> > <a href="dummy" class="menu_item">Menu choice nine</a><br>
> > <a href="dummy" class="menu_item">Menu choice ten</a><br>
> > </p>
>
> I disagree with your semantic markup. Better is to use a real list for
> your navigation menu.

See the answer before last - Obviously I need to rethink things. :-)
Thanks for the tip.


> You can style the list item for that <ul> like this:
>
> ul#MenuNav li {...}
>
> Here, it's better to use id and not class for the list because such list
> is likely to be only once used in your page. Class is used for elements
> which can be grouped logically in style declarations.
>
> Note that <ul> and <li> have different margin and padding values from
> browser (version) to browser (version).
>
> Consistent List Indentation:
> http://developer.mozilla.org/en/docs/Consistent_List_Indentation

Bookmarked for future reference.

Thanks again and Merry Christmas.

--

-- Len Philpot -> len@philpot.org <--
------ ><> -----> http://philpot.org/ <--

[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

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