BlackBoard (http://www.black-board.net/index.php)
- Design, Programmierung & Entwicklung (http://www.black-board.net/board.php?boardid=55)
-- Webdesign (http://www.black-board.net/board.php?boardid=19)
--- CSS div position bottom right bzw left (http://www.black-board.net/thread.php?threadid=22525)


Geschrieben von AC!D am 25.09.2006 um 17:43:

  div position bottom right bzw left

Hi,

ich hatte schonmal ein script von von lx, ich finde es allerdings nicht, ich möchte auf einer seite eine grafik links unten und rechts unten einfügen

und zwar mache ich gerade das design für cv.rootwar.org

kann mir jemand die sagen wie ich den div richtig definieren muss?



Geschrieben von Easy am 29.09.2006 um 11:49:

 

Hier ein Beispiel für absoltue Positionierung:
Zitat:
<html>
<head><title>position</title>
<style type="text/css">
#box1 { position:absolute; top:50px; left:10px; width:150px; height:150px; z-index:1; }
#box2 { position:absolute; top:80px; left:40px; width:100px; height:100px; z-index:2; }
#box3 { position:absolute; top:120px; left:50px; width:150px; height:150px; z-index:3; }
</style>
</head>

<body>
<div id="box1" style="background:red; border:solid 2px blue;">box1</div>
<div id="box2" style="background:blue; border:solid 2px white;">box2</div>
<div id="box3" style="background:yellow; border:solid 2px red;">box3</div>

</body>
</html>


Natürlich kannst du die Head Angaben auch in einer erxternen Datei deponiern (dadurch kann man schnell und mit wenig Umstend ein komplette Projekt verändern)

Hier der Tag zur einbindung einer externen CSS Datei:
Zitat:
<link rel="stylesheet" type="text/css" href="whatever.css">


Für mehr Informationen Siehe SelfCSS

Ich hoffe Ich konnte helfen.


Forensoftware: Burning Board 2.3.6, entwickelt von WoltLab GmbH