Previous Message
Next Message

New article on PIE - "In Search of the One True Layout"

Sent by Ingo Chao on 26 October 2005 19:07

Alex Robinson wrote:
> What would be most useful is if someone with access to a Windows box and 
> a bunch of Gecko-derived browsers could work on a simplified test case 
> that shows what combination of nestedness, overflow: hiddens etc cause 
> things to happen. Does the negative margins cause the problem? 

Small testcase:

Confirmed with Firefox 1.0.5 [Mozilla/5.0 (Windows; U; Windows NT 5.1; 
en-US; rv:1.7.9) Gecko/20050711]

Not scrolling/bug fixed in Firefox 1.5beta2 [Mozilla/5.0 (Windows; U; 
Windows NT 5.1; en-US; rv:1.8b5) Gecko/20051006]

Suggestion for a fix: remove the position: relative in .wrapper h2

Seems to fix it in your test file too here 


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
<html xmlns="">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<style type="text/css">
/* code snippet without sense, just to reproduce the upscrolling 
drag-select bug */

	float: left;
	width: 150px;

	padding-bottom: 32767px;
	margin-bottom: -32767px;

	overflow: hidden;

..wrapper h2
	position: relative; /* remove to fix  */

<div class="wrapper">
	<div id="block_1">
		<h2>Drag-select Block 1</h2>

css-discuss [EMAIL-REMOVED]]
List wiki/FAQ --
Supported by --
Previous Message
Next Message

Message thread:

Possibly related: