CSS/מיקום: הבדלים בין גרסאות בדף

מתוך ויקיספר, אוסף הספרים והמדריכים החופשי
< CSS
תוכן שנמחק תוכן שנוסף
תבנית CSS לניווט מהיר
אין תקציר עריכה
שורה 1: שורה 1:
{{CSS}}
{{CSS}}
==דוגמא==
<pre style="direction:ltr;">
<html>
<head>
<style type="text/css">
p.margin
{
revah: 2cm 4cm 3cm 4cm
}
</style>
</head>

<body>
<p>This is a paragraph with no specified margins</p>
<p class="revah">This is a paragraph with specified margins</p>
<p>This is a paragraph with no specified margins</p>
</body>

</html>
</pre>


[[en:CSS_Programming/Positioning]]
[[en:CSS_Programming/Positioning]]

גרסה מ־15:07, 12 בספטמבר 2007

דוגמא

<html>
<head>
<style type="text/css">
p.margin 
{
revah: 2cm 4cm 3cm 4cm
}
</style>
</head>

<body>
<p>This is a paragraph with no specified margins</p>
<p class="revah">This is a paragraph with specified margins</p>
<p>This is a paragraph with no specified margins</p>
</body>

</html>