You're missing ui.tabs.css
- Richard
2009/11/12 AdyLim
> Hi there,
>
> I'm just starting to learn jquery and trying to implement tabs onto my
> aspx page...The problem is that the tabs are showing up one on top of
> anotherhow do i get the tabs to line up in a row? I'm using
> jquery 1.2.6
You have a lot of you "facts" wrong.
> Floats are a pain as soon as you try to use proper positionning (relative /
> absolute) along with proper overflow.
Nope, they are not. Floats do not have any effect on positioning.
Positioning works the way it should around and inside floats.
(Except for a
Floats are a pain as soon as you try to use proper positionning (relative /
absolute) along with proper overflow.
Floats should be used to place content alongside inline content to make said
content flow around the floating element, adapting to its shape. It's
perfect for, say, inserting a visual
Sorry for thread-hijacking, but why would you say that floats are complicated?
Right now (as in current browser implementations) floats work really reliably.
(with 1 small IE bug with an easy fix)
inline-block needs to be hacked in multiple browsers
2009/11/12 Michel Belleville :
> Also, you'd b
Also, you'd better not use floating positioning (easier on the very short
term, a lot more complicated in mid-long term).
Michel Belleville
2009/11/12 Andrei Eftimie
> This is a CSS issue, not really related to jQuery.
>
> Do something like this in your CSS file:
>
> /* Forcing the ul to take
This is a css question rather than jQuery, though the answer goes as follow
:
1. you're using an ul with li inside
2. ul work as block elements containing li which are block elements too
3. block elements pile up on top of one another unless told otherwise
What you need is made them act
This is a CSS issue, not really related to jQuery.
Do something like this in your CSS file:
/* Forcing the ul to take not of its floated children. */
#tabs ul { display: inline-block; overflow: hidden; }
#tabs ul { display: block; }
/* Floating the children */
#tabs li { float: left; }
2009/11
Hi there,
I'm just starting to learn jquery and trying to implement tabs onto my
aspx page...The problem is that the tabs are showing up one on top of
anotherhow do i get the tabs to line up in a row? I'm using
jquery 1.2.6...all the js's (ui.core.js, ui.tabs.js) are included in
my masterpage
8 matches
Mail list logo