Take a look at Yahoo yui font-reset css. It sets everything to zero so
you never have padding or sizing issues.

  http://developer.yahoo.com/yui/reset/

  "The foundational YUI Reset CSS file creates a level playing field
across A-grade browsers and provides a sound foundation upon which you
can explicitly declare your intentions. It normalizes the default
rendering of all HTML elements, for example it sets margin, padding,
and border to 0, font sizes to YUI Font's default, italic and bold
styles to normal, and list-style to none."


On 4/5/07, David Dashifen Kees <[EMAIL PROTECTED]> wrote:
>
>  Yeah, I'm aware of that.  I can't figure out quite what's doing that.  IE
> appears to be adding some padding for some reason.  It was worse when I had
> borders around the list items because a small, three pixel gap appeared
> between each list item.  As long as it works, I'm not going to worry about
> it for the moment.
>
>  Thanks for taking a look ;)
>   -- Dash --
>
>
>  John wrote:
>  BTW, I love your menu. One other thing worth noting is in IE the icons
> shift down slightly when shrinking the menu. Firefox doesn't have this
> problem.
>
> David Dashifen Kees <[EMAIL PROTECTED]> wrote:
>
> Good to know and, yeah, you do ;)
>
> -- Dash --
>
> John wrote:
>
>
>  FWIW, your demo is also fully functional in Firefox 1.0.6 for Linux. (Yeah,
> I need to upgrade!)
>
> David Dashifen Kees wrote:
> Demo Site: http://www.dashifen.com/temp/drag_test/index.htm
>
> Check out the site above. You'll see a very small menu with a lot of
> behaviors attached. In Firefox, IE 6/7, and Opera things go as
> planned. You can click the arrow in the menu's header and it shrinks
> the menu to a column of icons, and you can reverse this by re-clicking
> the arrow. Plus, you can click either icons or labels within the menu
> and get little alert boxes which replace stub functions for the moment.
>
> But, in Safari, there's all sorts of problems. Chiefly, it the menu
> shrinking and expansion doesn't work and it seems like clicking on a
> label wasn't working for me either. Admittedly, though, I'm testing on
> an out-of-date Macintosh, as far as I know, and I don't have access to a
> different one.
>
> So, if there's anyone out there who can test the above site in safari
> try this:
>
> 1. Drag the menu to a different location on screen.
> 2. Try clicking the green arrow to the left of the words "Builder Menu"
> and see if the menu shrinks. If so, try to click the arrow again to
> make it grow.
> 3. Try to click on any of the other labels to get an alert box and do
> the same with the icons.
>
> I suspect #1 will work (it works for me at least) but #2 will fail and
> #3 will work when clicking on icons but not the labels.
>
> Feel free to dissect my code and see if you can find anything going on.
> I'd love to move on and not worry about Safari until later, but
> unfortunately our the department head where I work is a Mac user and
> he'll be sure to want to test it on his machine. Figures, right ;)
>
> Thanks, you guys all rock.
>
> -- Dash --
>
>
>
>
>
>
>
>
>
>
>
>
>
>  >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to