0

index.html

<div id="side">
<div id="boxcontainer">			
       <h3>Get In Touch With Us</h3>
	<div id="image"><img src="images/pic2.png" ALIGN=LEFT></div><div id="text">Request more <br />information from <br />OCK&Associates</div>
          <br></div><br>
                                   
<div id="boxcontainer">                                      
       <h3>Get In Touch With Us</h3>    
         <div id="image"><img src="images/pic2.png" ALIGN=LEFT /></div><div id="text">Request more <br />information from <br />OCK&Associates</div>					
</div></div>

style.css

#content #boxcontainer image{ 
	margin: 5px 0 0 5px;
	padding: 0 10px 0 0;
	}				
		
#content #boxcontainer text{
	margin: 50px 0 0 0;						
	}

Hi, the text just a little bit too high. How to place it lower? I have tried to change the text margin but it doesn't change anything.

2
Contributors
2
Replies
3
Views
5 Years
Discussion Span
Last Post by davy_yg
0

How about using position:relative and adjust the position by using top:30px, for example.

Edited by lps: n/a

0

still nothing happens.

----


Nevermind, I find the solution.

#content #boxcontainer #text{
	margin: 10px 0 0 0;							
	}

Forgot to place the "#" sign.

Edited by davy_yg: n/a

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.