Bug 86684 - button inside centered div isn't centered
Summary: button inside centered div isn't centered
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: 3.2.2
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-06 06:17 UTC by Forrest Cahoon
Modified: 2004-09-07 14:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.