[Pro] style table

Hi - is there a way to style the borders on a table? I would like just a light grey border?

http://www.easthalldesign.com/work2/3dayagenda.html

Cheers!

http://www.easthalldesign.com/work2/3dayagenda.html


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

Justin, I’ve used this in the past and it works very well, although I don’t know if it’s FWP 6 compatible.

http://actionsforge.com/actions/view/247-table-styler


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

Dam looks like it doesn’t work for 6…

http://www.easthalldesign.com/work2/3dayagenda.html


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

Not directly in Freeway, but you can either create a Tag-only Style or use external or head CSS to do this. If you want to affect all tables on the page (or site) then you would simply write your style like this:

td {
	border-bottom: 1px solid #ccc;
}

…if you wanted to only apply a bottom rule to each cell. If you have given your table cells some cellpadding (in the Table Inspector) then you would probably want to move that property to the tr instead of the td, although I have had mixed results when trying to style the tr. The reason is that the cellpadding attribute will open up gaps in the border if you are only adding a border to one side or another.

My usual technique for clean borders looks like this (with no cellpadding added at all):

table {
	border-collapse: collapse;
	width: 100%;
}

td {
	padding: 3px 8px;
	border-bottom: 1px solid #ccc;
}

Now if you want to “scope” this style to just one particular table on the page (leaving others default, or giving each one a separate style profile) then you just need to make note of the Name/ID assigned to the table (which will become the ID of the enclosing DIV on that table) and adjust your styles as so:

#theNameId table ...
#theNameId td ...

Walter

On Apr 26, 2013, at 8:57 AM, Justin Easthall wrote:

Hi - is there a way to style the borders on a table? I would like just a light grey border?

http://www.easthalldesign.com/work2/3dayagenda.html

Cheers!

http://www.easthalldesign.com/work2/3dayagenda.html


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 - How do I add the first option? I tried a couple of ways but didnt work

http://www.easthalldesign.com/work2/3dayagenda.html

Thanks!


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

It should work in 6 - we use it on the Softpress site. I’ve just updated the compatibility section on Actionsforge.

Joe

On 26 Apr 2013, at 14:24, Justin Easthall email@hidden wrote:

Dam looks like it doesn’t work for 6…

http://www.easthalldesign.com/work2/3dayagenda.html


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

Sorry, my mistake. I’ve just put an updated version up there (0.3) that will work.

Joe

On 26 Apr 2013, at 14:43, Joe Billings email@hidden wrote:

It should work in 6 - we use it on the Softpress site. I’ve just updated the compatibility section on Actionsforge.

Joe

On 26 Apr 2013, at 14:24, Justin Easthall email@hidden wrote:

Dam looks like it doesn’t work for 6…

http://www.easthalldesign.com/work2/3dayagenda.html


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

Can you see it have I applied it wrong?

http://www.easthalldesign.com/work2/3dayagenda.html

I removed the code from Walters suggestions


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

AWSOME thanks guys that worked!!

Cheers


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

Now that’s what I call fast. Thanks Joe!


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

@ JE

Does the Drop down use BAM menus or standard CSS menus action out of interest j?

Cheers Worm


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

Just about to leave the studio be back in a couple of hours but quickly - it uses both and the reposition css sub menu action…

Its not working on the master page at the mo though will need help there I think


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