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
removing padding at top of floatbox window
Page: 1
Author | Post |
---|---|
JTC
|
#1 Wed May 13, 2009 3:37 pm
|
Guest | |
#2 Wed May 13, 2009 3:45 pm
|
|
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
|
#3 Wed May 13, 2009 7:12 pm
|
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
|
#4 Wed May 13, 2009 7:48 pm
|
|
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
|
#5 Wed May 13, 2009 9:50 pm
|
Guest |
Thanks. Where do I put that code?
|
#6 Wed May 13, 2009 10:18 pm
|
|
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
|
#7 Thu May 14, 2009 10:22 am
|
Guest |
Big Thanks Mr Admin
|
Page: 1