[prev in list] [next in list] [prev in thread] [next in thread]
List: kfm-devel
Subject: Bug#23296: css oddities: <p id=...> works, <a id=...> not
From: Marc Mutz <Marc.Mutz () uni-bielefeld ! de>
Date: 2001-03-29 18:59:20
[Download RAW message or body]
Package: khtml
Version: 3.0 (using KDE 2.1.0 )
Severity: normal
Installed from: Mandrake RPMs
Compiler: gcc version 2.96 20000731
OS: Linux 2.4.1-20mdksmp i686
OS/Compiler notes: Mandrake 8.0 beta2
Compare the rendering of the following file:
=======
<html>
<head>
<style type="text/css">
<!--
#free1 { font-size:36pt; color:#E0E0E0; margin-left:3cm;
margin-bottom:0.5cm; }
#free2 { font-size:18pt; font-weight:bold; color:#00CCCC;
margin-left:2cm;
margin-top:-1.2cm; margin-bottom:1cm;}
#free3 { font-size:48pt; color:#EEDDBB; margin-left:0cm;
margin-top:-1.6cm; margin-bottom:0cm;}
#free4 { font-size:96pt; color:#FFAAFF; margin-left:2cm;
margin-top:-2.8cm; margin-bottom:1cm;}
// -->
</style>
</head>
<body>
<a id="free1" href="linux.html">linux</a>
<a id="free2" href="LinuX.html">LinuX</a>
<a id="free3" href="stories.html">Stories</a>
<a id="free4" href="pub.html">Publications</a>
</body>
</html>
======
with that of the same file, but with <a>...</a> replaced by <p>...</p>.
With <a>, the text is juxtaposed, with <p> it is (correctly) on top of
each other.
Marc
BTW: The mis-rendering that occurs with this file, when you move the
style sheet definitions into a separate .css file, is still there (just
hit reload if you don't see it).
--
Marc Mutz <Marc@Mutz.com> http://EncryptionHOWTO.sourceforge.net/
University of Bielefeld, Dep. of Mathematics / Dep. of Physics
PGP-keyID's: 0xd46ce9ab (RSA), 0x7ae55b9e (DSS/DH)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic