2 backgrounds

I guess this is a FW question…

Is it possible to have 2 backgrounds to a page?

I’m thinking of a page which is 900pixels wide - there is a background to the 900 pixel wide (Freeway) page, but there is also a background for the larger (browser) page.

My design is centred and I want there to be an overall wallpaper effect behind the page itself (obviously varying amounts of this will show depending on screen size, window size etc). But I also want a specific page background (it fades to grey towards the right of the page)

I’m sure this can be done…but not sure how to code up for two backgrounds?

Hugh


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

On 20 Nov 2008, at 12:06, hugh wrote:

I’m sure this can be done…but not sure how to code up for two
backgrounds?

Hugh, you can specify one background for the whole browser window in
the Inspector, where it allows you to choose an image (make sure you
have nothing selected on the page when you do this) and you can, using
exactly the same method, choose a background image for the page
itself, making sure this time that you have the page selected.

To avoid confusion that occured when I answered this exact question
three days ago: when I talk about the page, I mean an actual DIV that
you’ve made, and which contains your content.

best wishes,

Paul Bradforth

http://www.paulbradforth.com


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hello Paul!

Many thanks for that idea. I’m probably going to trip over the log of not having FW4 or FW5 here…being still on FW3.5!

But you only get one option on FW3.5 and that seems to affect the whole (browser) background. You can select a colour for the page itself (equivalent your DIV I imagine), but not an image for the page itself.

Now, I reckon that it’s only a bit of hand-coding in markup somewhere, but ain’t sure how to describe it/apply it?

regards
Hugh


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

On 20 Nov 2008, at 12:31, hugh wrote:

Many thanks for that idea. I’m probably going to trip over the log
of not having FW4 or FW5 here…being still on FW3.5!

But you only get one option on FW3.5 and that seems to affect the
whole (browser) background. You can select a colour for the page
itself (equivalent your DIV I imagine), but not an image for the
page itself.

Now, I reckon that it’s only a bit of hand-coding in markup
somewhere, but ain’t sure how to describe it/apply it?

Hugh; sorry, I forgot that it wasn’t broke and you didn’t fix it :slight_smile:

I’m sure it could be done, and I could tell you how to code it (or
write a style for it) in CSS, but for the life of me I can hardly
remember what 3.5 was like. I’d best leave it to someone else, I’m
afraid. I’m sure it can be done, though …

best wishes,

Paul Bradforth

http://www.paulbradforth.com


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hugh, you should be able to do as Paul says on FW3.5. What you do is
set the background to the colour or image you want. Then draw a
“background” layer (DIV) to the full size of your centred web page.

You can then choose a colour for the Layer or import an image.
Everything else on the site goes on top. You can even create a soft
shadowed background this way using a .png file set to millions of
colours.

And if you’re already half way through your design, just make the new
layer over everything and “Send to back”.

Colin

On 20 Nov 2008, at 12:31, hugh wrote:

Hello Paul!

Many thanks for that idea. I’m probably going to trip over the log
of not having FW4 or FW5 here…being still on FW3.5!


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Forgot to note that Paul’s and my comments do not apply to Freeway
Express, but from memory FW3.5 Pro does support layers. (Someone
please correct me if I’m wrong).

Colin


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

thanks Paul and Colin!

Paul…it ain’t broke, it’s just older :wink:

I see what you say about the layer, Colin, and I have indeed done this. But there are two issues:

  1. anything drawn on top of that background layer has to be a layer itself…and has to have the layer positioning action affixed for centreing purposes. You end up with sixteen items, each with a layer positioning action which have to be tinkered with every time you move something the slightest!
  2. the page size might alter depending on how much content there is or on leading of text styles etc. So you can’t really import an image that easily if you want a flexible page length. One of Freeway’s problems (in 3.5 at least!) is that if you style text with a leading of say 150%, you often get an html output which is quite different from what it looks like in Freeway - what you get is not always what you saw!

But I’m sure I’ve seen a simple CSS declaration I could use…racking my feeble brains!


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

On 20 Nov 2008, at 16:08, hugh wrote:

thanks Paul and Colin!

Paul…it ain’t broke, it’s just older :wink:

See later in the post …

I see what you say about the layer, Colin, and I have indeed done
this. But there are two issues:

  1. anything drawn on top of that background layer has to be a layer
    itself…and has to have the layer positioning action affixed for
    centreing purposes. You end up with sixteen items, each with a layer
    positioning action which have to be tinkered with every time you
    move something the slightest!
  2. the page size might alter depending on how much content there is
    or on leading of text styles etc. So you can’t really import an
    image that easily if you want a flexible page length. One of
    Freeway’s problems (in 3.5 at least!) is that if you style text with
    a leading of say 150%, you often get an html output which is quite
    different from what it looks like in Freeway - what you get is not
    always what you saw!

But I’m sure I’ve seen a simple CSS declaration I could
use…racking my feeble brains!

See earlier in the post …

best wishes,

Paul Bradforth

http://www.paulbradforth.com


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Sometime around 20/11/08 (at 12:18 +0000) Paul Bradforth said:

when I talk about the page, I mean an actual DIV that you’ve made,
and which contains your content.

Technically, this is NOT the page, it is the page div. Subtle, I
know, but one is applied via the body tag and the other to the
page-wide div tag.

I think it’d be good to keep this distinction clear! But good call,
this is a nifty way to achieve this particular effect.

k


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Sometime around 20/11/08 (at 11:08 -0500) hugh said:

One of Freeway’s problems (in 3.5 at least!)

Perhaps signs of breakage? (ahem :slight_smile:

One way to achieve this in Freeway Pro 3.5 is to use HTML page
markup. Put the first part of page div code in after the body tag and
the final closing part before the /body tag. And don’t forget to
upload whatever image this code reers too.

k


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

errr…I’ve lost you, Paul!

(what is the little A symbol in a box?)


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

On 20 Nov 2008, at 17:01, hugh wrote:

errr…I’ve lost you, Paul!

I just meant that you were saying it wasn’t broke, then went on to
describe a whole raft of finagling that’s only necessary because
you’re using an outdated version. What’s all that ‘layer positioning
action’ about, for instance?

what is the little A symbol in a box?)

No idea. Are you accessing the forum via the Web site, or email? Could
it be an ellipsis? Here’s one: …

best wishes,

Paul Bradforth

http://www.paulbradforth.com


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

all the faffing around doesn’t mean it’s broken. It might not do some of the latest all singing and dancing - but it ain’t broke!

Accessing via forum…viewing in Firefox.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Sometime around 20/11/08 (at 12:15 -0500) hugh said:

all the faffing around doesn’t mean it’s broken. It might not do
some of the latest all singing and dancing - but it ain’t broke!

It ain’t broke, but… you are trying to fill up your 1990s roadster with LPG.

What you want to do is not entirely compatible with how that older
version of Freeway generates code. Therefore, to achieve what you
want to do you will have to jump through a challenging series of
hoops. As long as you’re cool with that, then good on yer mate. :slight_smile:

k


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

On 20 Nov 2008, at 17:15, hugh wrote:

all the faffing around doesn’t mean it’s broken. It might not do
some of the latest all singing and dancing - but it ain’t broke!

I don’t really know how to put this any better, but: actually, it DOES
mean it’s broken. You obviously don’t put too much of a value on your
time, Hugh. But I don’t want an argument, and if you insist it ain’t
broke, then it isn’t.

Accessing via forum…viewing in Firefox.

And did you get a square box or whatever for my example? Here’s
another one: …

best wishes,

Paul Bradforth

http://www.paulbradforth.com


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

On 20 Nov 2008, 4:25 pm, thatkeith wrote:

What you want to do is not entirely compatible with how that older
version of Freeway generates code. Therefore, to achieve what you
want to do you will have to jump through a challenging series of
hoops. As long as you’re cool with that, then good on yer mate. :slight_smile:

Well, that’s fair enough, then, and thanks for pointing out. I did expect to have to shoehorn in some html markup, or even edit the FW output outside of FW - which I’m quite happy to do. Just need to know ‘what’ it is I need to do!


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Just a thought, Hugh, how much do you charge for a web site? I don’t
actually want to know the figure, but if you upgrade to the latest FW,
it will probably pay for itself on the first new job or two and be a
boon thereafter. One caveat, though, there are some niggling style
issues upgrading old FW3.5 sites, so you might want to keep that, too,
in reserve.

Colin

On 20 Nov 2008, at 18:09, hugh wrote:

On 20 Nov 2008, 4:25 pm, thatkeith wrote:

What you want to do is not entirely compatible with how that older
version of Freeway generates code. Therefore, to achieve what you
want to do you will have to jump through a challenging series of
hoops. As long as you’re cool with that, then good on yer mate. :slight_smile:

Well, that’s fair enough, then, and thanks for pointing out. I did
expect to have to shoehorn in some html markup, or even edit the FW
output outside of FW - which I’m quite happy to do. Just need to
know ‘what’ it is I need to do!


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options