removing padding at top of floatbox window

Page: 1

Author Post
JTC
Guest
Hi there - Even though I have the Padding option set to 0, I still get about a 10-20 pixel gap between the floatbox content and the outer floatbox top edge.

See here

Any ideas on how to get rid of it?
Cheers
J
Administrator
Registered: Aug 2008
Posts: 3382
You have padding set to 24 (pixels) in the anchor's rev attribute.
rev="theme:white outerBorder=0 innerBorder=0 padding:24 panelPadding:10 cornerRadius:8 width:400 height:400 scrolling:no"
JTC
Guest
Yes, it is now. That is because i changed it back but there is still an extra 10+ pixels padding on the top compared to the sides
Administrator
Registered: Aug 2008
Posts: 3382
16px to be precise. That spacing is in the content you're loading into floatbox. If you turn innerBorder back on, you can see that. The 16px is the margin-top that is on the <p> element that wraps the image at the top of your content. You could style that out by using <p style="margin:0">
JTC
Guest
Thanks. Where do I put that code?
Administrator
Registered: Aug 2008
Posts: 3382
It's your content html that you are showing in floatbox. The styling for that content is not floatbox code and is your responsibility to create the way you want it. The href you're loading is "#logikaluk", so the content to be styled will be in that div.

Cheers...
JTC
Guest
Big Thanks Mr Admin :D

Page: 1