> Just wondering if you get better results if you remove the SPAN.

I tried replacing the SPAN with a DIV - it made no difference to this
issue. IE doesn't shrink-to-fit an inline-block DIV the same as it
does an inline-block SPAN, which is why I'm using the SPAN instead of
a DIV. This part of markup works well in all the major browsers.

> It's much easier to track down the problem if the markup is valid.

A SPAN with display: inline-block *should* be valid when formatted as
a 'block element', but as noted, it doesn't change anything anyway.

> Do you have a URL we can look at?  Your description is helpful, but
> without the CSS it's hard to recreate efficiently.  A fully working
> test page would be very nice.

My page and CSS is too complex to be useful for debugging. I will have
to make a new page that is stripped-down to just this issue. At the
same time, I'll do some testing to try to isolate what markup or CSS
is the primary cause. However I'm completely swamped this week, so it
may be a few days before I can create the test page. I was hoping that
someone had seen this before and save me the trouble. ;)

/Kevin


On Oct 5, 1:36 pm, Scott Sauyet <[email protected]> wrote:
> On Mon, Oct 5, 2009 at 3:55 PM, Kevin Dalman <[email protected]> wrote:
> > I have a navbar UL element nested a few levels deep within DIVs that
> > provide page structure. The UL is also nested within a SPAN (inline-
> > block) so the UL element can be centered within DIV#Nav1. A stripped-
> > down version of the HTML is shown at bottom.
>
> Just wondering if you get better results if you remove the SPAN.  It's
> much easier to track down the problem if the markup is valid.
>
> Do you have a URL we can look at?  Your description is helpful, but
> without the CSS it's hard to recreate efficiently.  A fully working
> test page would be very nice.
>
>   -- Scott
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" 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/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to