table borders

I have created a table that includes cells with graphics and css menus and want to put a border on the left and right sides. When I set the border-right, border-left styles in the Item–Extend option, I end up with a border on only the left side of the table when rendered in preview or in a browser. Is this a bug with Pro 5 or am I doing something wrong? Thanks for any advice.


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

first have a look at the output code in a browser to see whether the border-right attribute is actually getting through into your html code.

then check that it is in the right place in the code scheme - compare to a working example, for instance, on some other page.

with fiddling it should work - then tell us all how! :slight_smile:

c


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

Hi Tokyo –

I’m not having any problems using FP5 to get the result you describe. The behavior of FP5 in respect to layered tables is no different from Freeway 4 Pro… when you draw your table, you must keep in mind that Freeway encloses your table in a div structure (layered html box). Unfortunately Freeway still is unable to manage the dual nature of this type of item without resorting to advanced techniques.

There are two different CSS methods I can recommend to get the left-right border.

The first involves applying the border attributes to the div enclosing your table. Give your enclosing div an id name by typing it into the Title field of the Inspector menu. This will cause Freeway to write that title name into the page code as the id value for that div. (You can use the Extended option and the Table pane to give the table an id, but this is easier). Next, open the Edit Styles window and create a new style “div#title” where title is the name you put in the inspector window. Enter this name into Tag field leaving the Name field blank. Open the Extended dialog and create the border attributes (there are a few different ways to declare border attributes, so I will leave it to you to choose one). Exit back to the working window, force republish, then preview.

The second method targets the table itself which can have CSS attributes applied apart from the old table declaration. Either give the table an id tag (as previously suggested) or create the style as “div#title table” and apply the border attributes there.

On Sat, Apr 12, 2008 at 7:50 PM, tokyo wrote:

I have created a table that includes cells with graphics and css menus and want to put a border on the left and right sides. When I set the border-right, border-left styles in the Item–Extend option, I end up with a border on only the left side of the table when rendered in preview or in a browser. Is this a bug with Pro 5 or am I doing something wrong? Thanks for any advice.


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

Thanks for the advice Chris and Big Erns. I’ll have a look at the code and also try the “div” method.

I did manage to get borders on both sides to work, but in a convoluted way. For the left border I applied the left-border style to the table and for the right border, I applied the right-border style to each cell. No idea why this would work. As a side note, when I applied the left-border and right-border styles to each cell, rather than to the table as a whole, again only the right border showed up to the party. The “great” thing about Freeway is it forces you to learn some of the coding tricks if you are going for a desired look.


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

If you had a published sample, it would be possible to look it over. Sometimes a minor error can have large consequences.

On Mon, Apr 14, 2008 at 10:09 PM, tokyo wrote:

Thanks for the advice Chris and Big Erns. I’ll have a look at the code and also try the “div” method.

I did manage to get borders on both sides to work, but in a convoluted way. For the left border I applied the left-border style to the table and for the right border, I applied the right-border style to each cell. No idea why this would work. As a side note, when I applied the left-border and right-border styles to each cell, rather than to the table as a whole, again only the right border showed up to the party. The “great” thing about Freeway is it forces you to learn some of the coding tricks if you are going for a desired look.


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