[prev in list] [next in list] [prev in thread] [next in thread]
List: konq-bugs
Subject: [Bug 113527] New: Wrong position when using "position:absolute"
From: ibc <ibc2 () euskalnet ! net>
Date: 2005-09-28 18:54:35
Message-ID: 20050928205433.113527.ibc2 () euskalnet ! net
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=113527
Summary: Wrong position when using "position:absolute"
Product: konqueror
Version: 3.4.1
Platform: unspecified
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: khtml
AssignedTo: konq-bugs kde org
ReportedBy: ibc2 euskalnet net
Version: 3.4.1 (using KDE 3.4.1, Debian Package 4:3.4.1-1 (3.1))
Compiler: gcc version 3.3.6 (Debian 1:3.3.6-5)
OS: Linux (i686) release 2.6.10
Elements with "position:absolute" are shown in wrong position. An example:
CSS:
*****
div#box
{
width: 200px;
height: 40px;
border: 1px solid blue;
text-align: center;
font-size: 16px;
color: grey; /*It's the shadow of text*/
font-weight: bold;
}
b
{
position: absolute;
font-size: 16px;
margin-left: -1px;
margin-top: -1px;
color: yellow;
font-weight: bold;
}
HTML:
********
<body>
<div id="box">
<b>This Is The Text</b>
This Is The Text
</div>
</body>
As you can see in Firefox or Internet Explorer, there should appear a box with the \
yellow text "This Is The Text" centered with a gray shadow.
But in Konqueror the shadow ("position:absolute" element) doesn's appear in the \
center of the box as it should appear (the containing box has the propirety \
"text-align:center"). It appear in the left instead. \
_______________________________________________ Konq-bugs mailing list
Konq-bugs@mail.kde.org
https://mail.kde.org/mailman/listinfo/konq-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic