Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 5    Views: 53

sxywebgirl
Aspiring developer
Profile
Posts: 158
Reg: Apr 12, 2013
Altadena, CA
7,530
04/13/13 03:11 PM (12 years ago)

custom html/text plugin-text size issues

I'm sorry if this question sounds silly but I need to ask... I am using the custom html/text plugin. On one screen I've used an html table code and on another screen I'm adding the code from Yelp bling which is using divs to bring in yelp reviews. When viewed in the ios simulator both are microscopic small and not readable. Plus the Yelp screen is divided in two...the top & bottom border is on the left with the content body on the right. I've used this same Yelp bling code to embed into a website and it worked perfect! The size is 200x350px How could I fix this? Thanks
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
04/13/13 05:11 PM (12 years ago)
You can always set the font size in either a linked css document, or within the html document. <font size="14">blah blah blah</font> check out www.tizag.com Cheers! -- Smug
 
sxywebgirl
Aspiring developer
Profile
Posts: 158
Reg: Apr 12, 2013
Altadena, CA
7,530
like
04/13/13 06:32 PM (12 years ago)
I guess I should have said I'd put style="font-size: 12pt" within the table tag. I'll change it to what you suggest around the specific text. Thanks!
 
sxywebgirl
Aspiring developer
Profile
Posts: 158
Reg: Apr 12, 2013
Altadena, CA
7,530
like
04/13/13 06:56 PM (12 years ago)
What I think is weird is that I set the table width="350".... isn't that usually the width for mobile phones?? I now have the table set to width="900" and it's almost fills the screen when viewed in the simulator! What the heck!!??
 
Fingers Crossed
Veteran developer
Profile
Posts: 234
Reg: Jan 16, 2012
Simcoe, ON
6,390
like
04/13/13 07:03 PM (12 years ago)
Here's what you need I expect. Go into HTML mode, and paste this at the top. Then the sizes will show as expected. <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" /> <meta content="width=device-width; initial-scale=1.0; maximum-scale=2.0; user-scalable=1;" name="viewport" />
 
sxywebgirl
Aspiring developer
Profile
Posts: 158
Reg: Apr 12, 2013
Altadena, CA
7,530
like
04/13/13 07:46 PM (12 years ago)
Geezz! I've been so overwhelmed by figuring out this whole project that I'm forgetting to think of some of the obvious basics! Thank you for your patients and help @Fingers Crossed and @SmugWimp!
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.