I only posted what I considered might be the confusing part, as I would assume that most here don't know or see general HTML code that has been written for all web browsers, instead of just iOS. If you use the example and eliminate what I did, it will work fine, but thanks for the lesson anyway.

I only posted what I considered might be the confusing part, as I would assume that most here don't know or see general HTML code that has been written for all web browsers, instead of just iOS. If you use the example and eliminate what I did, it will work fine, but thanks for the lesson anyway.

I understand what you were driving at. But just to be clear - no, it wouldn't have worked to scale my widget- using exactly the exact code you pasted there. Several other lines would have to be added to define the .css nature of the div#div2 code line.

But you are right to point out that style sheet code (css) can INDEED be used in the .html file. In fact an entire widget can be written, JavaScript, StyleSheet (.css) and 'div id's' all in the .html. It's just that those exact lines you posted wouldn't have created a 'working scaling'. That's why I needed to go a different route. Durben taught me a long time ago the 'create a box' method for moving an SB widget higher or lower on the SB. The same method of defining a box around the whole widget in the .html and then doing something to the "whole box" in the Main.css - is very logical approach to scaling a widget's size -- and more iOS'ish in design IMHO.

Chill out, I was only asking the question I did not want a full on debate about it LOL

But some of the reference sites that have been posted make interesting reads, and gives some of us a bit more insight of how these things work.

Thanks

No.. It's ALL good. No debating really. Drifter is a programmer by profession.. Durben's a veteran and King's got lots of experience too - more than me. But once I learn something - I have it. And as a newer learner here and a trainer by profession I can offer input on what will work to help others understand and learn a process. And the example Drifter posted, from that (otherwise helpful) website which I've consulted often personally, was not showing how to add the scale code using a separate .html and .css document scenario. So the code "div#div2" would have been ignored in the the iWidget we were working on. That's all I was trying to point out.

Durben explained it perfectly for our context in modding 95% of these iWidgets. The website example raised more questions than it answered.

I so appreciate all the help here. And have learned so much from so many of you!