I’ve just uploaded my files and to my dismay, the include file is working, but the div (or HTML item) I’ve applied the inclusion to has disappeared from the HTML and CSS. There should be a div called SideColumn with a .SideText style applied to it, but I can’t find it in the code.
In FW, does turning a HTML item into a URL make the HTML item (div) disappear? Do I have to put the URL/include into a container - and then style up the container?
I’ve put a div inside a div and applied the URL include to the child div. This seems to have worked, but now the layout has gone mad. Arghhhhhhhhhhhhhhhhhhhhh
Hi Mark,
You’ve missed out the closing part of the div tag which is causing the rest of the page layout to go out of whack;
<div class="editable" </div>
It should be;
<div class="editable"></div>
Regards,
Tim.
On 7 Oct 2013, at 16:20, Mark wrote:
I’ve put a div inside a div and applied the URL include to the child div. This seems to have worked, but now the layout has gone mad. Arghhhhhhhhhhhhhhhhhhhhh
Thanks for spotting that. Going back to my original post, I originally did everything that the Softpress knowledgebase specified. But when I published the site, my div (that the include was suppose to go into) disappeared from the html and css. I’ve now inserted a html item into my side column and applied the include URL to the child item.
Is this what you have to do? I thought earlier today we got this working without having to insert a html item into a html item.
I’ve retried the instructions from Softpress and they don’t work. The item/div the include is applied to isn’t generated in the code - so there is no way to use CSS to position the include or style it.
The only way to do it is to insert and item into an item and style up the parent item.