| Author |
Post |
|
|
#1 Thu Mar 08, 2007 4:26 am
|
|
Member
Registered: Mar 2007
Posts: 8
|
I am using a modified version of the standard template, and recently tried to add a banner to the top of my forum. The problem I have is that a small gap appears underneath the banner (with the background visible) in Firefox. I'm guessing that I need to add something like margin-top:0 somewhere in styles.css, but haven't managed to find a solution.
I'd be grateful for any advice offered.
Scott
|
|
|
#2 Fri Mar 09, 2007 12:55 pm
|
|
Developer
Registered: Apr 2004
Posts: 2216
Location: Belgium
|
Could you post a link where this problem can be seen?
|
|
|
#3 Sun Mar 11, 2007 5:20 am
|
|
Member
Registered: Mar 2007
Posts: 8
|
Thanks for your response Dietrich. The problem can be seen at: http://www.spectrumxenon.info/The gap doesn't appear in IE, only Gecko-based browsers.
|
|
|
#4 Sun Mar 11, 2007 5:48 am
|
|
Member
Registered: May 2005
Posts: 296
Location: 98671
|
Looked with IE7 and FF 2.0.0.2, I see what you mean, but after thinking about it, not sure myself. May be add... <div align="center"></div> or <div align="center" style="margin-bottom: 0px;"></div> instead of... <p align="center"></p>
|
|
|
#5 Sun Mar 11, 2007 8:11 am
|
|
Member
Registered: Mar 2007
Posts: 8
|
Have just tried both suggestions but unfortunately am still getting the same result.
|
|
|
#6 Sun Mar 11, 2007 8:15 am
|
|
Member
Registered: May 2005
Posts: 296
Location: 98671
|
Same here, went ahead and trying it myself on my for now testing forum. http://www.wmcintosh.com/usebb/No resolution yet, not sure I can.
|
|
|
#7 Sun Mar 11, 2007 9:12 am
|
|
Member
Registered: May 2005
Posts: 296
Location: 98671
|
Well, I have no idea, image I had in place for testing is gone.
|
|
|
#8 Sun Mar 11, 2007 5:29 pm
|
|
Member
Registered: Mar 2007
Posts: 8
|
Thanks for efforts. Does anyone else have any ideas what might be wrong?
|
|
|
#9 Sun Mar 11, 2007 11:25 pm
|
|
Developer
Registered: Apr 2004
Posts: 2216
Location: Belgium
|
Setting the font-size of the div to 0pt and adding a margin-bottom of -1px works. Though, I have not tested this in any other browser than Firefox and there is probably a better solution.
|
|
|
#10 Mon Mar 12, 2007 5:36 am
|
|
Member
Registered: Mar 2007
Posts: 8
|
Following your advice, I've found two solutions that seem to work. Simply setting the font-size to 0 and removing the margin-bottom looks OK. Alternatively just having a margin-bottom on its own set to -2px also solves the problem.
Thanks for your help.
|