PHP block & CSS

I have a PHP block action with CSS DIV items in them. When I run the php script on my server all the div items are printed on top of each other. Is there a work around for this? The X and Y settings for the div’s should calculated somehow…


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

Hi Julian – without an example, I have to guess at some of the details.

Divs are HTML structures. Freeway 4 Pro puts their dimension and placement information inline with the div structure. It sounds as if whatever you’re doing, that information is stripped away.

You can manually place that information into the CSS stylesheet via the Edit Style menu, the Page Markup, or by attaching a hand-written stylesheet.

Anyone who still visits my fansite (http://www.thebigerns.com/freeway/) will notice the div styles have been moved to another stylesheet. This was accomplished completely within Freeway 4 Pro. (Does Freeway 5 still put div styles inline?)

On Wed, Mar 12, 2008 at 2:34 PM, Julian wrote:

I have a PHP block action with CSS DIV items in them. When I run the php script on my server all the div items are printed on top of each other. Is there a work around for this? The X and Y settings for the div’s should calculated somehow…


Ernie Simpson – Freeway 4 Pro User – http://www.thebigerns.com/freeway/

Thanks for the reply!

What I am trying to do is this:

I have a inserted a PHP block to my site, and using this action added a ‘for’ loop which encapsulates the entire div item. Inside this div item I have placed a number of other items just as one would normally do using freeway.

The thing is that when I run the php script on my server all the items inside the block are drawn on the same place, over each other.

What I want to accomplish is basically what they are doing in this example:
http://www.softpress.com/kb/article.php?id=532

I guess that the shop items in this example are table’s instead of div’s and css…


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

Hmmm. I have no experience with such an action as you describe… I have always inserted PHP code via Markup Items.

Freeway has traditionally put style information inline with the div tag – As a guess, I’d say if your action is using the selected div as a template to populate with data, then all the resulting divs will inherit the same position and size information. I wonder if applying it to an inline div (div created inline inside of another div) if you might get better results.

Remember, I’m only speculating. People familiar with whatever action he’s using would know tons more.

On Sat, Mar 15, 2008 at 5:43 AM, Julian wrote:

Thanks for the reply!

What I am trying to do is this:

I have a inserted a PHP block to my site, and using this action added a ‘for’ loop which encapsulates the entire div item. Inside this div item I have placed a number of other items just as one would normally do using freeway.

The thing is that when I run the php script on my server all the items inside the block are drawn on the same place, over each other.

What I want to accomplish is basically what they are doing in this example:
http://www.softpress.com/kb/article.php?id=532

I guess that the shop items in this example are table’s instead of div’s and css…


Ernie Simpson – Freeway 4 Pro User – http://www.thebigerns.com/freeway/