By jsimonis on
I've got some odd borders showing up in some of my themes, and I can't figure out why.
They show up in Firefox, but not IE.
The table specifically says no borders, and there are no borders attached to the css items.
However, they're there and I can't figure out why.
I was hoping a fresh pair of eyes would help:
TIA!
Comments
You might try validating your HTML
There are a number of errors, serveral with the HTML for the banner image, any of which might be the source of the problem. For example, for the banner you have
The img tag should end with /> and the closing tags are reversed (close for 'a' should come before close for 'div').
There are a host of other errors, any which may be causing you problems.
No, I just validated it.
No, I just validated it. Almost all the errors were things like missing alt tags or the use of width and height in tables.
It's now showing no errors when I validate the html. But there's still that border above the banner.
--
Jenni S.
The only place it's showing
The only place it's showing up is right above the banner. Which is weird, since I can't locate any css or html validation problem that would be causing it.
The only "errors" left are further down the page. I've removed them, but the border at the top remains and the layout of the page gets mixed up.
--
Jenni S.
there is a border set for
there is a border set for
tbodyon line 17 ofmodules/system/system.css.override it to
border: none;in your theme, and your troubles should be over.- Corey
Thank you! I couldn't figure
Thank you! I couldn't figure out where the default css file was (used to be drupal.css in the misc folder). I just started using 5.x, so I hadn't found that change yet.
Thank you very, very much!
--
Jenni S.
Oh my! Good!
I have been looking for this answer for quite a some time dudes! Thanks! I could not figure out how come there is that grey line on top of each table no matter how hard I tried. Yes. The "tbody" - something I never even use. Cool thanks!
Yes, I've found a few little
Yes, I've found a few little things like this in the .css files inside the system folder.
Now whenever something css is driving me crazy, I go and look inside those css files to see if they're the problem. More often than not they are.
--
Jenni S.
http://www.nu-look.net
Portland, OR metro area
Contact Me
Try using Firefox with the
Try using Firefox with the Firebug plugin. It lets you browse pages by their html elements and view the relevant CSS. It even shows you what CSS is overridden, and what code is responsible for overriding it. It is invaluable for graphic developers.
- Corey
Thanks. I had some other
Thanks. I had some other add-ons that helped some. I just installed this one and I'll check it out.
--
Jenni S.
http://www.nu-look.net
Portland, OR metro area
Contact Me
Thanks
I've been trying to figure this out for a long time now. Thanks.
how to override this
can someone write out the css to override this in the theme?
css
assuming you are referring to http://drupal.org/node/123368#comment-205594
somewhere in your theme's css file (usually style.css, but not always),
i think; it is what is in mine.
works
thanks tm, i had actually tried this already in the style.css, but the lines were still showing up in the preview of my node, so i thought i probably got the syntax wrong. but once i clicked submit it came out ok, so i guess it was just still in the cache or something.