I know this has been discussed before, but my search comes up with examples in older versions of FW.
Following the instructions in the manual, it seems the only way to have different styles on a page is if I use a CSS text box. I’m using a regular html box and don’t seem to get the same options.
I know this has been discussed before, but my search comes up with
examples in older versions of FW.
Following the instructions in the manual, it seems the only way to
have different styles on a page is if I use a CSS text box. I’m
using a regular html box and don’t seem to get the same options.
Is there an easy way of doing this?
Thanks.
David Owen
Freeway Friendly Web hosting and Domains ::
I have tried many times to set up a simple box model layout using CSS boxes, even following tutorials and have yet to put something together that doesn’t fall apart.
I find them very difficult to deal with and make changes to.
I’ll have to give it more time in the future, but right now it just takes me too long to get even the simplest way to work out.
So…any other way to get different link styles on a page?
I don’t see a Links setting when I do this.
I can only see that option for the page, not individual items.
That is only for the page. If you want to make link styles for text
links in different boxes you’ll need to set them up as ‘div-targeted’
styles. This just means noting the name of the object that you want
to work with - for example, a layered HTML box for your navigation.
Start by naming it something logical in the Inspector, for example
“navigation”. Then make a new style and put “#navigation a” into the
Tag field and remove whatever’s in the Name field - then set up the
style as you want it to be. How’s this working so far?
(Don’t include quotes where I’ve used them above, ok?
I don’t believe that Freeway adds IDs to table cells in a non-CSS
layout. You could try using my AddSelector Action (from ActionsForge)
to the cell, and force it to have an ID that way. Then your
instructions would work perfectly.
Walter
On Dec 8, 2008, at 2:08 PM, Keith Martin wrote:
I don’t see a Links setting when I do this.
I can only see that option for the page, not individual items.
That is only for the page. If you want to make link styles for text
links in different boxes you’ll need to set them up as ‘div-
targeted’ styles. This just means noting the name of the object that
you want to work with - for example, a layered HTML box for your
navigation.
Start by naming it something logical in the Inspector, for example
“navigation”. Then make a new style and put “#navigation a” into the
Tag field and remove whatever’s in the Name field - then set up the
style as you want it to be. How’s this working so far?
(Don’t include quotes where I’ve used them above, ok?
Sometime around 8/12/08 (at 13:27 -0500) Robert Bovasso said:
I have tried many times to set up a simple box model layout using CSS boxes
The ‘box model’ approach to building layouts is not the vanilla way
of making CSS layouts in Freeway. Well, that’s a bit of a
simplification, but you don’t have to use full-on box model methods
(which quite frankly annoy me too) in order to build a CSS-based
layout.
SIMPLY make sure the CSS button is blue (‘on’) before you make
objects, or click the Layer checkbox in the Inspector for each item.
That means it will be generates using CSS positioning code - AND that
you will be able to set up styles that apply only to the text within
a specific box.
Well it can be a vanilla way if you plan on creating flexible layouts. I find that if I just drag and drop items onto a page then anytime I have to add or subtract something I then have to read adjust everything. You could credit that to poor site planning in those instances, but it’s easier (at least for me) to build a box model style so when you make changes to the site it changes with you.
Duh! Well, I guess that action would work. I forgot about that one.
Actually, that solves one problem, but I also wanted one or two links in the nav bar to have a different color, but the actin works on an item, so it would affect the entire nav bar.
Bu, thanks. That’s useful for other areas of the site.