Warnung: file_put_contents(/home/www/web1/html/php_dev/test.txt) [function.file-put-contents]: failed to open stream: Permission denied in /home/www/web1/html/php_dev/sys/lib.activity.php (Zeile 58)
[CSS] Aus einfach wird doppelt [Archiv] - PHP-Scripte PHP-Tutorials PHP-Jobs und vieles mehr
ebiz-webhosting
- Ad -
php-resource




Archiv verlassen und diese Seite im Standarddesign anzeigen :
[CSS] Aus einfach wird doppelt


 
Luke
03-02-2004, 14:28 
 
Hm, folgender Code sollte mir doch eine Tabelle ausgeben die links und rechts einen 1px dicken Rahmen hat, oder?
<html>
<head>
<style type="text/css">
<!--

.LayoutMainPage{
border-width: 1pt;
border-color: #52626E;
border-style: none solid none solid;
}

-->
</style>
</head>
<body>

<table border="0" cellpadding="0" cellspacing="0" width="100%" class="LayoutMainPage"><tr>
<td>Test<br><br></td>
</tr></table>

</body>
</html>
Warum ist die rechte Seite dann 2px dick?

 
Happy Nihilist
03-02-2004, 14:33 
 
.LayoutMainPage{
border-width: 0px 1px 0px 1px;
border-color: #52626E;
border-style: solid;
}

Ist dauberer. Zwischn pt und px besteht auch ein Unterschied.

 
Luke
03-02-2004, 14:36 
 
Da will ich einhacken: Wie ist denn ein Punkt (pt) definiert?

Ach ja; Geht natürlich, danke.

 
Happy Nihilist
03-02-2004, 14:37 
 
http://selfhtml.teamone.de/css/formate/wertzuweisung.htm

- -

Alle Zeitangaben in WEZ +2. Es ist jetzt 14:57 Uhr.