Closed (fixed)
Project:
SpreadFirefox
Version:
4.6.x-1.x-dev
Component:
Stylesheets
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Sep 2005 at 20:58 UTC
Updated:
26 Jun 2006 at 09:30 UTC
I've only just begun looking into PHP theming but found a minor glitch where the first filter tips table is superimposed over blocks on the right hand side.
Browser is FF 1.0.2
www.example.com/?q=filter/tips
I've only had time for a quick look through the CSS but I've a inkling that the 'clearfix' method at http://www.positioniseverything.net/easyclearing.html might help?
I'll post here if I get anywhere with it!
Comments
Comment #1
dasalvagg commentedI have this problem when using the gallery module. It looks like Drupal and Gallery both use the same name of "content" Gallery inserts this css into the page...
Because of this all of my blocks, and my menu had a width of 700px. I changed a few theme files to use a different name, and it looks like everything is working so far. I'll have to test to make sure.
Comment #2
Mad Maks commentedis this a spreadfirefox bug or a drupal bug?
Comment #3
paddy_deburca commentedThis is caused by the minimum width of the table is greater than the mimimum width of the column.
A few reasons for this could be that either
Good old drupal.css contains a CSS directive to _NOT_ wrap white spaces in table headers. The following CSS could be added to the style.css to wrap white spaces - and so saving space (no pun intended ;-)
A question that begs to be asked - and the answer is very site specific -- what do you do when tables over-run the content DIV?
Choices include
All solutions can be found using CSS to set z-index values and backgrounds.
Paddy.
Comment #4
luis_peralta commentedMy English isn't good, sorry.
I have the same bug. You can see it at http://www.esperpento.net/filter/tips.
I write my post because JohnG's links don't run.
Thanks for your help.
Comment #5
paddy_deburca commentedI think that this particular problem is caused by CSS.
The HTML code is wrapped in
...entities.By having the following CSS, the HTML would wrap in the table
Try and see it it works.
Comment #6
luis_peralta commentedThanks you, paddy_deburca.
Adding your solution, my page works.
Also if I replace the next code (without adding your solution)
by
the page runs well :)
What solution is better?
Comment #7
paddy_deburca commentedThe general solution with code {} will cause wrapping for all code blocks. By using .type code {} only code elements within a .type class will wrap white text. The first is general, the second is more specific.
You can choose which everone you wish, just remember where/what you have changed so that oneday you can further customise.
Paddy.
Comment #8
Mad Maks commentedfixed in the cvs version
Comment #9
(not verified) commented