Closed (outdated)
Project:
Drupal core
Version:
7.x-dev
Component:
toolbar.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 May 2010 at 03:47 UTC
Updated:
19 May 2010 at 22:18 UTC
Jump to comment: Most recent
Comments
Comment #1
SteveK commentedchanging to dev release.
Comment #2
aspilicious commentedComment #4
casey commentedInteresting. Margin-top on the HTML element doesn't work in IE6 however. But adding the padding to HTML instead to the BODY seems to be a good idea as body's background-image will move along. I am going to include this in #787940: Generic approach for position:fixed elements like Toolbar, tableHeader.
Comment #5
sunBefore even remotely considering this approach, you need to provide evidence that this trick works flawlessly in all browsers, platforms, and versions (including IE6).
To my knowledge, it does not.
Comment #6
casey commentedYike, I found out the padding-top on HTML only works when it also has an background. But when you give HTML a background color, BODY no longer stretches its height to window's height.
margin-top on the HTML doesn't work in IE6. In IE7 the margin-top works, but the background-image is not moved along.
Edit
Relevant links
Ah, that's why padding-top on HTML only works when it also has an background.
margin-top on HTML
margin-bottom on HTML