<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>WordPress DK Forum Topic: Hvordan placeres 2 div oven på hinanden?</title>
		<link>http://wp-danmark.dk/forum/topic/hvordan-placeres-2-div-oven-pa-hinanden</link>
		<description>WordPress DK Forum Topic: Hvordan placeres 2 div oven på hinanden?</description>
		<language>da-DK</language>
		<pubDate>Wed, 05 Aug 2026 11:53:20 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Søg]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://wp-danmark.dk/forum/search.php</link>
		</textInput>
		<atom:link href="http://wp-danmark.dk/forum/rss/topic/hvordan-placeres-2-div-oven-pa-hinanden" rel="self" type="application/rss+xml" />

		<item>
			<title>exido om "Hvordan placeres 2 div oven på hinanden?"</title>
			<link>http://wp-danmark.dk/forum/topic/hvordan-placeres-2-div-oven-pa-hinanden#post-25395</link>
			<pubDate>tirs, 22 mar 2011 17:05:57 +0000</pubDate>
			<dc:creator>exido</dc:creator>
			<guid isPermaLink="false">25395@http://wp-danmark.dk/forum/</guid>
			<description>&#60;p&#62;Hmm... Det ser ud til at de begge skal sættes til position:relative;&#60;br /&#62;
Lidt mystisk men JUBII ;)&#60;/p&#62;
&#60;p&#62;btw.. Smider lige et link ind når siden er færdig.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>John om "Hvordan placeres 2 div oven på hinanden?"</title>
			<link>http://wp-danmark.dk/forum/topic/hvordan-placeres-2-div-oven-pa-hinanden#post-25394</link>
			<pubDate>tirs, 22 mar 2011 17:04:05 +0000</pubDate>
			<dc:creator>John</dc:creator>
			<guid isPermaLink="false">25394@http://wp-danmark.dk/forum/</guid>
			<description>&#60;p&#62;Som Steffen siger skal de positioneres  med absolute begge, og z-index hvor den der har det laveste tal ligger øverst.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>stffn om "Hvordan placeres 2 div oven på hinanden?"</title>
			<link>http://wp-danmark.dk/forum/topic/hvordan-placeres-2-div-oven-pa-hinanden#post-25393</link>
			<pubDate>tirs, 22 mar 2011 16:56:28 +0000</pubDate>
			<dc:creator>stffn</dc:creator>
			<guid isPermaLink="false">25393@http://wp-danmark.dk/forum/</guid>
			<description>&#60;p&#62;Skal de ikke bare have &#60;code&#62;position:absolute;&#60;/code&#62; begge to?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>exido om "Hvordan placeres 2 div oven på hinanden?"</title>
			<link>http://wp-danmark.dk/forum/topic/hvordan-placeres-2-div-oven-pa-hinanden#post-25392</link>
			<pubDate>tirs, 22 mar 2011 16:50:53 +0000</pubDate>
			<dc:creator>exido</dc:creator>
			<guid isPermaLink="false">25392@http://wp-danmark.dk/forum/</guid>
			<description>&#60;p&#62;Tak for svaret John. &#60;/p&#62;
&#60;p&#62;Beklager at I skal til at copy/paste koden, men den befinder sig på en lokal test server (wamp).&#60;br /&#62;
Problemet er opstået i forbindelse med et wordpress tamplate jeg er ved at lave til kæresten. Er godt klar over hvordan jeg skal skrue resten sammen, men kan ikke komme videre inden jeg har fået styr på placeringen.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>John om "Hvordan placeres 2 div oven på hinanden?"</title>
			<link>http://wp-danmark.dk/forum/topic/hvordan-placeres-2-div-oven-pa-hinanden#post-25391</link>
			<pubDate>tirs, 22 mar 2011 16:44:37 +0000</pubDate>
			<dc:creator>John</dc:creator>
			<guid isPermaLink="false">25391@http://wp-danmark.dk/forum/</guid>
			<description>&#60;p&#62;Bortset fra at spørgsmålet ikke har så meget med Wordpress at gøre vil det altid være smartest at vise et link til problemet fremfor at man skal sidde og copy paste din kode.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>exido om "Hvordan placeres 2 div oven på hinanden?"</title>
			<link>http://wp-danmark.dk/forum/topic/hvordan-placeres-2-div-oven-pa-hinanden#post-25390</link>
			<pubDate>tirs, 22 mar 2011 16:10:21 +0000</pubDate>
			<dc:creator>exido</dc:creator>
			<guid isPermaLink="false">25390@http://wp-danmark.dk/forum/</guid>
			<description>&#60;p&#62;Hej Alle &#60;/p&#62;
&#60;p&#62;Jeg har igennem nogen dage kæmpet med et problem, men må give op og bede om hjælp.&#60;/p&#62;
&#60;p&#62;Problemet er at jeg ikke kan placere container (div's).&#60;/p&#62;
&#60;p&#62;De Begge container skal placeres på midten af siden og div2 skal ligge over div1 med an afstand på 210px fra top.&#60;/p&#62;
&#60;p&#62;Koden jeg har rodet med kan ses her:&#60;br /&#62;
&#60;strong&#62;HTML&#60;/strong&#62;:&#60;code&#62;&#60;br /&#62;
&#38;lt;!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Transitional//EN&#34; &#34;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#34;&#38;gt;&#60;br /&#62;
&#38;lt;html xmlns=&#34;http://www.w3.org/1999/xhtml&#34;&#38;gt;&#60;br /&#62;
&#38;lt;head&#38;gt;&#60;br /&#62;
&#38;lt;meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=utf-8&#34; /&#38;gt;&#60;br /&#62;
&#38;lt;title&#38;gt;Untitled Document&#38;lt;/title&#38;gt;&#60;br /&#62;
&#38;lt;link rel=&#34;stylesheet&#34; type=&#34;text/css&#34; href=&#34;style.css&#34; /&#38;gt;&#60;br /&#62;
&#38;lt;/head&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;body id=&#34;BG&#34;&#38;gt;&#60;/p&#62;
&#60;p&#62;    	&#38;lt;div id=&#34;div1&#34;&#38;gt;&#60;br /&#62;
        	&#38;lt;div id=&#34;div2&#34;&#38;gt;&#60;/p&#62;
&#60;p&#62;        	&#38;lt;/div&#38;gt;&#60;br /&#62;
        &#38;lt;/div&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;/body&#38;gt;&#60;br /&#62;
&#38;lt;/html&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;CSS:&#60;/strong&#62; &#60;code&#62;body				{&#60;br /&#62;
	background-color:#333;&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;#div1				{&#60;br /&#62;
	width: 600px; position:relative; margin:0px auto;  background-color:#F00;&#60;br /&#62;
	height:500px;&#60;br /&#62;
	z-index:1;&#60;br /&#62;
	}&#60;br /&#62;
#div2			{&#60;br /&#62;
	width:400px; position:absolute; margin:0px auto; background-color:#999;&#60;br /&#62;
	height:300px;&#60;br /&#62;
	z-index: 10;&#60;br /&#62;
	}&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Er der nogen af jer der kan se hvad jeg gør galt? &#60;/p&#62;
&#60;p&#62;På forhånd tak for hjælpen ;)
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
