Bug 86684

Summary: button inside centered div isn't centered
Product: [Applications] konqueror Reporter: Forrest Cahoon <fc_kdebugs>
Component: khtmlAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 3.2.2   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

Description Forrest Cahoon 2004-08-06 06:17:11 UTC
Version:           3.2.2 (using KDE KDE 3.2.3)
Installed from:    Debian testing/unstable Packages
OS:                Linux

The buttons in the following HTML should be centered: the first is in a div which is centered with the align="center" attribute, and the second is in a div which is centered using CSS.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
 "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Button not centered</title>
</head>
<body>

<div align="center">
<button>This button should be centered</button>
</div>

<div style="width:100%; text-align:center;">
<button>This button should also be centered</button>
</div>

</body>
</html>
Comment 1 Tommi Tervo 2004-09-07 14:31:45 UTC
Confirmed with konqueror 3.2.2 but fortunately konqueror 3.3 renders correctly.