Close. That will give you a class-based style all right, but it won’t publish it unless you apply it to something. I would recommend that you put the style name in the Tag field, preceded by a dot. That will be a “tag-only” style, which gets published whether you apply it to something or not. So the long directions are as follows:
In the New Style dialog from the Styles palette, enter .notice in the Tag field.
Tab into the Name field, delete whatever is there, and press tab again.
In the Extended interface, press New.
In the Name field, enter margin-top
In the Value field, enter -20px
Okay out of the stack of dialogs.
You now have a class-based style named notice, this style does not need to be applied to anything manually, and it can be relied on to “shake” the page inside the iframe when it is rapidly applied and removed by the script.
On Aug 8, 2014, at 5:58 AM, DeltaDave wrote:
Look at the style inspector
Click the cog at the top and choose new style
Put ‘notice’ (no quotes) in the name field and set your other parameters
Adding to iWeb is something of a bodge, however, whilst thinking about this, I’m leaning towards re-creating my site in FW7 as a responsive site. The ‘why’ for my current design was precisely to cater to different browser/screen sizes with a single site. A sort of early responsive. The point being, that by placing all of the buttons/links at the top-left corner, where they remain fixed and having the content in a re-sizable iFrame … any size of browser window works.
With responsive, it seems to me that this ‘top-left’ solution is no longer necessary and I can rethink using a more conventional site where it’s no longer necessary to keep everything in an iFrame.