On 12/06/2011 10:21 PM, John Franks wrote:

I am building a website here http://www.thesussexbookkeeper.co.uk

I have successfully achieved the website content scrolling up behind
the fixed position header in all desired browsers except for IE7 (not
supporting IE6 so not worried about that). In IE7, with
position:fixed applied the header_div flies off to the right. Here is
the CSS (HTML can off course be viewed through the browser) - any
help would be much appreciated, thanks. John.


It caused by having text-align on the parent of an absolutely positioned with auto offset. Normally auto offset is fine.

http://css-class.com/test/bugs/ie/5~7/auto-offset-text-align-bug.htm

FYI, IE7- has a bug with text-align that centers block-level elements.


--
Alan Gresley
http://css-3d.org/
http://css-class.com/
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to