[Pro] Web Yep Gallery tr and td

Trying to add a margin at the bottom of every row in a Web Yep Gallery.

I have inserted the WebYepGalleryContainer tr and td styles and under extended, I am trying to add a 20 px margin at the bottom to separate all of the rows.

It doesn’t matter what I put in the extended (margin-bottom, value ‘N’ nothing will add any margin to a row.

Does anyone have any experience in this direction?

Thanks,

Rich


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

I know that the style is working, as I can add a background color and it changes just fine as I change and test.

It’s just the margin and padding in the extended that I can’t get it to recognize.

Rich


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

Try adding your style to the TD rather than the TR, and try using
padding-bottom instead of margin-bottom. I just tried this with a
regular Freeway style and it worked fine. Remember to add the style to
each td in the tr, or simply create a style that looks like this

tr.someclass td { padding-bottom: 10px; }

and then apply the someclass class to your TR.

Walter

On Apr 5, 2011, at 3:13 PM, sampolfonz wrote:

Trying to add a margin at the bottom of every row in a Web Yep
Gallery.


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

Walter,

With the web yep action, there are already existing names:

WebYepGalleryContainer tr
WebYepGalleryContainer td

that must already be inside the web yep gallery element (pardon my lack on knowledge here).

I tried adding extended to both of these in the style editor and it did nothing.

I can change background color, add padding to the text…all that is working. But, I need to be able to add a margin of space to the bottom of each row so that it looks uniform for the the start of the next row.

I tried to add (name) padding-bottom (value) 10px

to an extended element of both of the fields above and nothing is happening.

Thanks for the help.

Rich


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

Hi Richard I have to guess because I cant see what you are aiming for but as a guess have you tried adding a border to the bottom of the cells so that would be:

  .WebYepGalleryContainer td 
  border-bottom: solid 10px #?????   

change the ??? colour to whatever your background colour is that should separate the table rows apart.

all the best max


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

So i can’t add margin to the bottom of each row?

I thought white space could be added under the rows. With the tr and not the td. I can’t get anything to change with the tr tag. Anything that is with the td tag ends up covering up what I try to put in via the tr tag.

Thanks,

Rich.


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

I have had very little luck styling the TR in many different browsers.
I stick to styling the TD, using padding to move the content away from
the borders or edges. If you want the illusion of margin below the TR,
then just add your margin to the TD. What I usually do is to add
padding to the TD top and bottom, and that brings the content away
from the edges, which I then style with a border on either the top or
the bottom.

Walter

On Apr 5, 2011, at 7:04 PM, sampolfonz wrote:

So i can’t add margin to the bottom of each row?

I thought white space could be added under the rows. With the tr and
not the td. I can’t get anything to change with the tr tag.
Anything that is with the td tag ends up covering up what I try to
put in via the tr tag.

Thanks,

Rich.


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

Will try when I get back to the computer.

Thanks,

Rich


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

if you wanted to add spacing between each WebYep gallery table row using css you would need something like this

   .WebYepGalleryContainer { border-spacing: 20px; }

this would add spacing of 20px left and right top and bottom

    .WebYepGalleryContainer { border-spacing: 5px 20px; }

this would add spacing of 5px left and right top and 20px top and bottom

    .WebYepGalleryContainer { border-spacing: 0px 20px; }

this would add spacing of 0px left and right top and 20px top and bottom

    .WebYepGalleryContainer { border-spacing: 0 0 20px 0; }

please note if you are using: border-collapse: collapse; within .WebYepGalleryContainer then you need to remove that attribute.

all the best max


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

Having just done this on a site I’m working on.

Try creating…

.WebYepGalleryImage { margin-top: 10px; margin-bottom: 10px }

…in the styles palette. Adding .WebYepGalleryImage in the Tag box, nothing in the style box, and margin-top: 10px; margin-bottom: 10px in the extended button/section

WebYepGalleryImage being the div that holds the webyep image. This should vertically space the image rows.

Note: Freeway can be stubborn updating styles making it look as though nothing is happening, deleting the CSS file in the site folder can kick the CSS into life in the browser.

kind regards

David

On 6 Apr 2011, at 00:04, sampolfonz wrote:

So i can’t add margin to the bottom of each row?


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

Thank you,

I will try this when I get back to my computer.

Rich.


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