Chameleon content width CSS in Safari
gav - September 6, 2005 - 21:00
| Project: | Chameleon |
| Version: | 7.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
Safari won't render the main content area at a proper width. A change was made which fixed the width issue on Safari while creating no noticeable change on IE or Firefox.
themes/chameleon/common.css
Original:
#content {
clear: both;
}
Changed:
#content {
width: 100%;
clear: both;
}

#1
Patch attached. Untested (not a Mac man).
#2
That patch didn't fix the issue. Now instead of the middle content shrinking, the left column expands when you expand the browser window in both Safari and Firefox.
#3
Ok, for me this is what fixed it (YMMV):
In common.css:
DELETED
#header {
margin-bottom: 2em;
}
MODIFIED
#header img {
float: left;
padding: 0em 2em .5em 0em;
}
TO
#header img {
padding: 0em 2em .5em 0em;
}
#4
Solution offered in post #3 does indeed work. Thanks!
#5
Because the common.css did not have big changes, I'm putting this in HEAD to call for a much wider attention for reviews from Safari users.
#6
needs new patch as per comments #2, #3 and #4.
I don't have Safari, so I will only be able to test that the patch doesn't adversely affect my browser:
Safari users will be needed to review the new patch when it comes.
#7
see this if needed: http://drupal.org/patch
#8
This bug is it still valid ?
#9
Since Chameleon has been removed from D7, no. :-)
And I haven't seen any Safari issues for Chameleon, but feel free to re-open if I'm wrong.