I have 2 div nd i want to put them one next to the other like 2 table cells.
1st div has the id img and contains an image.
2nd div has the id plot and contains text.
With this code it's looking like this
[slide]http://i.imgur.com/Q6KkyTu.jpg[/slide]
if I remove the "margin-left: 200px;" i get this
[slide]http://i.imgur.com/DVdbJq6.jpg[/slide]
The screenshot is from a category page, on the post page the picture is bigger so the "margin-left: 200px;" is not working.
[slide]http://i.imgur.com/QoeLvAN.jpg[/slide]
What I what is that the background for the second div to be completely visible for both the category and post page.
Can anyone help me?
1st div has the id img and contains an image.
2nd div has the id plot and contains text.
Code:
#img {
position: relative;
float: left;
margin: 5px;
padding: 5px;
}
#plot {
padding: 15px;
margin-top: 15px;
[B]margin-left: 200px;[/B]
background-color: #FAFAFA;
border: 1px solid #D6D6D6;
-webkit-border-radius: 21px;
-moz-border-radius: 21px;
border-radius: 21px;
}
With this code it's looking like this
[slide]http://i.imgur.com/Q6KkyTu.jpg[/slide]
if I remove the "margin-left: 200px;" i get this
[slide]http://i.imgur.com/DVdbJq6.jpg[/slide]
The screenshot is from a category page, on the post page the picture is bigger so the "margin-left: 200px;" is not working.
[slide]http://i.imgur.com/QoeLvAN.jpg[/slide]
What I what is that the background for the second div to be completely visible for both the category and post page.
Can anyone help me?