Closed (fixed)
Project:
Drupal core
Version:
x.y.z
Component:
theme system
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Dec 2005 at 17:34 UTC
Updated:
18 Sep 2006 at 20:45 UTC
Jump to comment: Most recent file
Comments
Comment #1
netbjarne commentedDunno if this is the way to submit fixes, But I'll give it a try anyway.
I've been studying the styles.css file of the pushbutton theme, in order to find a fix for the unaligned search field and button. I'm no css expert, so this fix is based purely on experimentation, but it works.
Here's what I came up with :
Find this:
and replace with this
The result looks fine in opera, firefox and ie, and w3c validates - see attached screenshot.
You may check the result out yourself here: http://drupaldanmark.dk/
Best regards
Bjarne
Comment #2
netbjarne commentedActually, the same fix works for the blumemarine theme (see attached screenshot).
In /themes/bluemarine/style.css
Find:
Replace with:
Again, I have tested in latest versions of Opera, Firefox and IE6.
//Bjarne
Comment #3
dries commentedCan you make a real patch? See this page for more information.
Comment #4
Steven commentedIt is a bad idea to hardcode pixel heights. You should find where that margin is coming from and undo it properly.
Comment #5
netbjarne commented#3 - well, heres a try. Testing several windows cvs frontends, I found that only TortoiseCVS fitted my needs and was easy to use (http://drupal.org/node/22293)
Here's a patch for the pushbutton theme (also attached)
#4, hmm. fixed pixelheight for margins are used in several other places in the stylesheet, but, now i've chose a 0.3em margin instead of a 4px margin - is that what you meant?- results are fine in firefox, opera and ie, and w3c validates.
Comment #6
netbjarne commentedAnd here is a patch for the bluemarine theme:
I hope that this can help.
//Bjarne
Comment #7
netbjarne commentedHi folks
This cosmetic glitch still applies to beta 3.
Regards
Bjarne
Comment #8
netbjarne commentedSame issue applies to beta 4 ;-)
Comment #9
Tobias Maier commentedHello,
first of all thank you that you try to fix this.
but as Steven wrote:
therefore you should take a look at misc/drupal.css and look if you could simplify a little bit what you see there and if you could fix this issue there (because it could be an issue which comes from drupal.css)
beside this I saw the following change in your patch:
why not removing this entirely?
Thanks again
Tobias
Comment #10
dries commentedFeel free to roll a new patch with that removed, so we can test it. :)
Comment #11
netbjarne commentedAaaaaah, you guys. Not only do you want us drupal fans to help fixing the bugs, you also want us to do it right! - now what kind of attitude is that ;-)
I'm a totally css ignorant, all my html knowledge dates back to 1998 where css's were "future technology" (at least to me) - so the patch I came up with, was merely the fortunate results of trial and error. So, the hint "find out where the margin comes from", does not mean much to me. Still, I would be happy to dig more into this and see if I can come up with a patch that satisfies - but don't hold your breath :-)
Kind regards
Bjarne
Comment #12
pcwick commentedOn 2006-09-04 I could not reproduce this error in both Bluemarine and Push Button themes, on either Firefox or Opera browsers. It appears to have been fixed.
Comment #13
(not verified) commented