By bobo on
Hey guys, I've got weird lines appearing at:
and
http://www.endyouthratesnow.com/
I can't figure out where they are coming from!
The themes are at
http://www.ndu.org.nz/themes/NDU/
and
http://www.endyouthratesnow.com/themes/endyouthrates/
Your help would be appreciated!
Yours,
SImon
Comments
tables...
i attempted to use a table in a non-tabular way (purely for positioning), and got a gray line at the top. is that what you are talking about? i ended up replacing one "no-no" with another, doing an align="right" on my image, but the "align" attribute is supposed to be deprecated, isn't it? might be a "wrath of the css godlings" thing or something.
i am interested in the reason, too, for my own info. tried to firebug it, but got lost. again (damn, pretty hopeless). hope you find a solution!
If you are going to use a
If you are going to use a table-based layout ...
Get the developer toolbar to track down the css.
You'll find
system.css (line 17)
... which is a truly annoying and inappropriate thing to have in core, I know.
Over-ride it in your own theme with just
.dan.
How to troubleshoot Drupal | http://www.coders.co.nz/
.dan. is the New Zealand Drupal Developer working on Government Web Standards
hmm...
...think i would have missed that anyway, hiding in front of my face as it is. thank you!
guess this is good a time as any to get into theme overrides (i had mentioned elsewhere that i am not a themer), as this is something that i will have to do anyway. i mean fix the tables thing.
It works Thanks
I have been trying to get rid of that line for two days. I just stumbled onto your post and thank god it works.
Could I remove this from the system file is it going to screw things up if I do?
Thank You
It won't screw anything up
It won't screw anything up, but unless you want it to re-appear on the next upgrade, just put that fix into your own theme. It'll set it back the way you want it.
Slightly redundant CSS cascade, but totally proper way to do it.
.dan.
How to troubleshoot Drupal | http://www.coders.co.nz/
.dan. is the New Zealand Drupal Developer working on Government Web Standards
Thank you!
Thanks man this gray line has been driving me nuts you won't believe!
On some browsers it can also cause more top margin (for example between a div header followed by table content).
Pretty evil CSS for anyone using tables in the layout.