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.

Recommended Answers

All 2 Replies

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

still nothing happens.

----


Nevermind, I find the solution.

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

Forgot to place the "#" sign.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.