Log In · Register

 
div layers, can anyone please help?
chu3guo2
post Oct 5 2004, 11:56 PM
Post #1


untouchable sakaba
****

Group: Member
Posts: 149
Joined: Oct 2004
Member No: 53,830



i was just wondering if there was anyone out there who could help me with putting 2 div layers next to each other, i have one that is the entire xanga on the left and i would like to place a different div on the right with them being on the same margin from the top.
 
 
Start new topic
Replies
anonymous_killer
post Oct 6 2004, 02:12 PM
Post #2


Senior Member
***

Group: Member
Posts: 44
Joined: Sep 2004
Member No: 52,448



all you have to do is set the margin-top the same... like this:
CODE
<!-- begin code provided by createblog.com -->

<style type="text/css">

.div_1 {
 margin-top: 100px;
 margin-left: 0px;
 width: 300px;}

.div_2 {
 margin-top: 100px;
 margin-left: 200px;
 width: 300px;}
</style>

<div class="div_1">
crap in here
</div>

<div class="div_2">
other crap here
</div>





<!-- end code provided by createblog.com -->


just change the margins width and crap.
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: