On my last app I just started modifying the iui.css. It turned into a
big pain, there is a lot of unused css in there now.
Next time, I'm going to start from scratch and just pull in the
elements I want to reuse.
On Mar 26, 2008, at 5:11 AM, opet wrote:
>
> Thanks a lot! I`ll give it a try when I get off work.
>
> Just a small follow up though. Do you guys normally leave uiu.css as
> is, and add your own custom classes within a second css file?
>
> Cheers,
>
> Ø-)
>
> On 25 Mar, 17:06, Randy Walker <[EMAIL PROTECTED]> wrote:
>> You can play around with different alignment settings for the img
>> (absolute
>> middle, baseline, top etc.,), or simply wrap them both in a single
>> table row
>> with two cells side by side. Then you can use the <td
>> valign="middle">.
>> You could also try playing around with the text's line-height CSS
>> property
>> to force it to align with the image better.
>> -=R
>>
>> On 3/25/08 2:22 AM, "opet" <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>>> Hello peeps,
>>
>>> I'm quite new to iUI and I can't get around this little problem. I'm
>>> trying to display a little icon in front of my label on a row. While
>>> this _works_, it doesn't look any good. Both items (image and text)
>>> gets aligned to baseline. Is it possible to do this another way or
>>> aligning it in a vertical middle?
>>
>>> Sample code is:
>>
>>> <div class="row">
>>> <label><img src="<?php echo( $src['icon'] ); ?>" />
>>> <?
>>> php echo( $src['title'] ); ?></label>
>>> <a class="button" href="javascript:void();"
>>> onclick=HttpRequest('xxx?id=<?php echo($id);?>'); return
>>> false">Toggle</a>
>>> </div>
>>
>>> And a second question; Is it possible to add several buttons on a
>>> row?
>>> Three, four +++?
>>
>>> Thanks in advance,
>>
>>> Oyvind
>
> >
Kenny Saunders
Owner / Website Designer / Application Developer
FortyEight Designs, LLC
http://www.fortyeightdesigns.com
816.820.4806
P.O. Box 1041
Smithville, MO 64089
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"iPhoneWebDev" 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/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---