"Peter J Ross" <> wrote in message
news:...
> In alt.html on Sat, 9 Aug 2008 19:10:12 -0400, Phonedude
> <> wrote:
>
>> http://larryludwick.com/menu1.php
>>
>> with larryludwick.com/menu1.css and menu.js
>>
>> Three questions please.
>> 1. I have specified box widths in px
>
> This is a bad idea.
>
>> and I am happy with how it works in
>> FF, but IE6 seems to throw in 2 phantom pixels which makes the float
>> right
>> box wrap.
>
> This is one of the reasons why specifying dimensions in pixels is a bad
> idea.
>
>> Adding two pixels to the width of the wrapper box makes it look
>> correct in IE6, but it causes FF to leave a little gutter between the
>> float
>> left and float right boxes. Why is that.
>
> It's because you're using pixels instead of non-deprecated units.
>
>> 2. The javascript for the clock works ok in IE6, but not in FF.
>> Howcome???
>> (I copied from a website -- I am learning JS, but slowly. PHP is much
>> easier.)
>
> Dunno. What clock? In Konqueror 3.5.9 I see no clock.
>
>> 3. The Dilbert flash app is in a <div> and it works ok.
>
> Yes it does, even in Konqueror.
>
>> I added another
>> <div> inside the Dilbertbox to put a link to my email. It works just
>> fine
>> in IE6, but the email div shows up outside the dilbertbox div when viewed
>> in
>> Firefox. What gives here?
>
> On my screen, the email link overlaps the W3C images.
>
>> Thanks for any help you are willing to provide.
>
> I think you should aim to simplify. E.g., do you really need Javascript to
> display a clock? Some of your visitors may own clocks of their own.
>
>
> --
> PJR 
>
> ,http://slrn-doc.sourceforge.net/>
> <http://pjr.lasnobberia.net/>
Thanks for the input. I was suprised to see that length is pixels is
deprecated, as this will require me to readdress my entire philosophy for my
website. You see this particular website is simply my personal links page,
which other people use as a matter of convenience. It's primary target
audience is me. When I started my page many years ago it was a simple table
that I created in notepad. Then I got lazy and started using MS Word to
edit it which produced HTML so complex and convoluted that I stopped looking
at it and just used the page. Wanting to become more proficient I decided
to redo my page using CSS and not tables for layout purposes. But: I want
my page to look the way I want it. I want it to be a set width on my screen
and I want the boxs to blend together nicely with no wrapping. Having said
that, I do want to learn how to make it work with different browsers.
Especially Firefox which seems to, along with IE, make up most of the
market. I don't think anyone using Konquerer would be interested in using
my page, but it would be nice if it were at least usable, if not perfect in
presentation.
But, back to pixels. I am an anal type and if I specify my wrapper <div> to
have, say, 880 pixels, then I want to be able to put in 880 pixels of stuff.
Not 798. Make sense? Firefox works perfectly when I do this, but IE seems
to have a bug. At least IE6. I guess I will have to learn how to
distinguish between browsers and use separate style sheets.
The clock seems only to work in IE. It doesn't work in FF and now you tell
me it doesn't work in Konquerer. More study required, I guess. As to the
necessity of a clock on my page, I am rethinking that as well. I use
Windows so it's easy to simply look at the Windows clock at bottom right.
What I really need is a simple calendar on my page so I can see what date
and day it is (I often lose track) because Windows does not always show this
without actually opening the clock app. A calendar I could do in php
because it would only need to work each time the page is opened or
refreshed. Like the quotes do.
Again, thanks for the input.
Larry