Page 2 of 2
Re: Image spacing is not working...
Posted: Mon 10. Mar 2008, 11:03
by update
This is for you to be able to survive the entry lessions - I'll give you something to play with
Code: Select all
.My_Images_Here img {padding: 20px;}
.imagelisttd {padding:20px;}
.imagelistimg {padding:20px;}
If you wrap all this with .My_Images_Here you could easily taget it with something like
or something similar

Re: Image spacing is not working...
Posted: Mon 10. Mar 2008, 12:44
by Jensensen
I think it's working very well for your CP images div on this page:
add/change to:
Code: Select all
td img {padding-bottom: 20px; padding-right: 20px;}
reload and you'll see....
Jensensen wrote:TIP:
DO NOT RELY ON BUILT IN SPACER, but think about your template and read TOP DOWN your source code/CSS --> from <body..ID...class> to the item located on your page, you want to apply you styles....
Add your own classes to --> your own templates...
TIp#2
to have this styles applied ONLY to --> images within a -->table --> within your --> template div class="My_Images_Here"
Code: Select all
td .My_Images_Here img {padding: 0 20px 20px 0;}
Re: Image spacing is not working...
Posted: Mon 10. Mar 2008, 14:39
by baklavoni
claus wrote:This is for you to be able to survive the entry lessions - I'll give you something to play with
Code: Select all
.My_Images_Here img {padding: 20px;}
.imagelisttd {padding:20px;}
.imagelistimg {padding:20px;}
This works for
IMAGES CP (still not working for IMAGES <DIV>, but I need only one of them working)

! Thanks!
Jensensen wrote:
add/change to:
Code: Select all
td img {padding-bottom: 20px; padding-right: 20px;}
reload and you'll see....
After few tries I manage to get this code work! Only one thing wasn't OK - my template. It was all messed up
Jensensen wrote:TIP:
DO NOT RELY ON BUILT IN SPACER, but think about your template and
read TOP DOWN your source code/CSS --> from <body..ID...class> to the item located on your page, you want to apply you styles....
Add your own classes to --> your own templates...
TIp#2
to have this styles applied ONLY to --> images within a -->table --> within your --> template div class="My_Images_Here"
Code: Select all
td .My_Images_Here img {padding: 0 20px 20px 0;}
Thanks, You make me realize that the best way is to make my own template.
In older versions of phpwcms, built in spacer was working, so I used to use it. Unfortunately, I didn't know how to make my template.
Now, with Your big help, I know (hopefully)
Again THANKS a lot BOTH JENSENSEN and CLAUS!!!
Both of you and Flip-Flop are the ones who always know how to get things working. You are trully gurus

Thanks!
Re: Image spacing is not working...
Posted: Mon 10. Mar 2008, 14:43
by update
Re: Image spacing is not working...
Posted: Mon 10. Mar 2008, 16:00
by baklavoni
in a while, crocodile...
Hehe,... I remember that cartoon

Willy the gator
