On 19 Mar. 2008, 12:43 pm, John-Paul Kernot wrote:
Ok guys thanks for all that advice. I understand now how to use the Styles menu to import css, but that presumably only imports a style?
What I am really after is importing positioning css. My main concern is with the extreme difficulty I am having in actually having a consistent footer on my pages.
I stumbled up this code that looks promising but can’t see how to add it:
* {
margin: 0;
}
html, body {
height: 100%;
}
.wrapper {
min-height: 100%;
height: auto !important;
height: 100%;
margin: 0 auto -142px; /* the bottom margin is the negative value of the footer's height */
}
.footer, .push {
height: 142px;
}
/*
Sticky Footer by Ryan Fait
http://ryanfait.com/
*/
As I mentioned in another thread, I have a number of pages set up with varying lengths of html text. Now it would be nice to set up a master page and simply apply a footer that will show up on each page. But, I would really like a footer on a master page that sticks to the bottom regardless of the varying height of the page.
Still scratching my head and would be grateful if somebody could give me a definitive yes it will or no it’s not possible with FWY answer.
Thanks in advance!
If you want to add this sort of code (the “star” selector means grab everything), then you want to get this code into the HEAD of the page so it applies to everything on the page.
In Freeway, open Page > HTML Markup and choose either After HEAD or Before /HEAD from the picker in the lower-left corner of the dialog box. Add a style block:
<style type="text/css">
//paste your code here
</style>
Okay the dialog, and preview in a browser.
By the way, I have experimented with this particular technique, and while it does work – and with a blessed minimum of extraneous HTML markup in the page – it is incredibly fussy to use in a real-world layout, particularly a Freeway layout.
In order to use it without tears, it is pretty much necessary to remove all hint of margin from all elements. Something like this:
html * { margin:0 !important; }
Many many default styles in Freeway will have to be edited using the Extended dialog to move whatever margin they rely on into padding attributes. This is non-trivial!
Walter
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options