Hi,  I guess what you're actually after is the use of the
'float:[left|right|none]' css thingy.

Very rought guide.... (and I mean Very!)

Basically have a block container element (div not span) and your list of
'buttons' each using a 'toolbutton' (or whatever css class).  That class
should have a 'float: left' (or right), this will force all the buttons to
squash up to the left.  The class should not have a position:absolute, but
would be best with a width and height in pixels (not %).
And the special bit - a blank container (div or span) after the tools, with
a style of 'clear:both' - this will stop the float.

eg.
<div id='toolbar'>



<span style='clear:both'> </span>
</div>

If you dynamically resize the toolbar div the elements should reorder
themselves to suit.

That might achieve what you're after.

Cheers,
Dave


Beren wrote:
> 
> I'm sorry to post a non jQuery related question in the board, but I spent
> the whole day of yesterday on this and I need it to work for my jQuery
> plugin (So, somehow, it IS jQuery related).
> The thing is I have a list of buttons and I can't make the color selectors
> (foreground and hilite color) look like the ones
> here<http://tinymce.moxiecode.com/example_full.php?example=true>.
> I was wondering if anyone here would be so kind so that if I send him the
> HTML and the images they could fix it. I know it must be something really
> simple like adjusting position, float, display or something like that, but
> I'm stuck and don't know what to do.
> Again, it's only css related: no jQuery or programming of any kind. If
> someone would be so nice, please answer and I will send him the files
> (HTML
> and images, i repeat you don't have to worry about the code). That or
> maybe
> someone can address me to a cs board.
> Thanks
> 
> Abel.
> 
> _______________________________________________
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Is-there-a-CSS-doctor-in-the-house--tf3374420.html#a9428229
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to