[Pro] Master pages and inline div heights

I have had some troubles with master pages and inline div heights today on my site. No real idea what’s happened but if anyone can shed light it would be helpful.

Firstly, I was looking to use master pages and had created a template. I designed the site and began to alter items on the pages, and decided to turn off using both master checkboxes in the inspector. Then I must have clicked it back on, and my pages now had 2 copies of the page elements. Imaging a site created in a wrapper, with all its content, and a second wrapper directly on top! I deleted it as it was the master content pushing the template in again. ( I had force republished due to other issues described below). Basically it took me a while to work out what was wrong and my site has gone a bit haywire. I’m having to trawl through it again. Anyone had these issues? It may just be my misunderstanding of masters, never used them before really.

Next problem - I have an inline div with flexible height, and nested div inside with flexible height that contains text content. All was working fine, but for whatever reason the parent div is now 0px high and doesn’t expand to the inner divs content. (Inner div content shows) I can fix it to a height and its fine, but it needs to be flexible. It contains a background colour too, which obviously is non existent as its 0px. I can’t find the issue at all. Tried force republish, removal of master content etc.

So, question is, why/how can I get this div display correctly.


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

some investigation - my parent inline div has 0px height, yet shows the content from its child div. What it doesnt do is expand it’s height, so to show it’s background colour.


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

Counter-intuitively, set the Overflow on the parent to “hidden” and it will work the way you expect.

Walter

On Feb 14, 2013, at 12:16 PM, Mark wrote:

some investigation - my parent inline div has 0px height, yet shows the content from its child div. What it doesnt do is expand it’s height, so to show it’s background colour.


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

Thanks Walter, that worked, except, the parent div had a background image too, that didnt re-show.

I have found out what broke the layout and I think this is a bug in Freeway not rebuilding the pages.

I recreated the pages from an older doc that was working. Then I added a bit of Extended CSS to the child div item to use a negative pixel measurement for it’s background image postion (as a test really!). This removed the parent divs background flexible height (to 0px). Ok, so I removed the extended CSS, and republished - but the layout was still broken and Freeway didn’t rebuild the pages.

Think I’ll stay away from Extended CSS for a while. That’s been half a day I’m not getting back.


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

On Thu, Feb 14, 2013 at 1:12 PM, Mark email@hidden wrote:

Think I’ll stay away from Extended CSS for a while. That’s been half a day
I’m not getting back.

What you’ve done is plant a seed. Let it take root. Every time you go back,
you’ll find a little more has filled in.


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