Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Borders and fonts



I ran into an issue with my web app where I am a bit stumped.

http://steffan.hldns.com:85/card_engine/admin_buildcard.lasso?card=1161

1. Add a Text Area 
2. Drag it where you want it.
3. Type a title in the field on the right for your text area.
4. Select font size 36 and see how it does not resize the div accordingly.

Is this because I did not use createTextNode rather than innerHTML?

Problem is of course that I need to make sure that the text remains inside
the div as it should. Also I ran into an issue where if you type in too much
the div wraps ignoring the line newDiv.style.whiteSpace="nowrap"; Anyway
around this? 

I will also be looking into resizing the div to some formula using the font
size in pixels against the max size you set to draw a box bigger than the
text and then use css to align the text inside the div using the alignment
selected in the popup.

Any advice is much appreciated!

Thanks

Steffan

---------------------------------------------------------------
T E L  6 0 2 . 5 7 9 . 4 2 3 0 | F A X  6 0 2 . 9 7 1 . 1 6 9 4
Steffan A. Cline
email@hidden                             Phoenix, Az
http://www.ExecuChoice.net                                  USA
AIM : SteffanC          ICQ : 57234309
The Executive's Choice in Lasso driven Internet Applications
                                  Lasso Partner Alliance Member
---------------------------------------------------------------


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Web-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/web-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.