954,604 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

text too high

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 information from OCK&Associates</div>
          </div>
                                   
<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 information from 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.

davy_yg
Posting Whiz
377 posts since May 2011
Reputation Points: 10
Solved Threads: 0
 

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

lps
Junior Poster
117 posts since Jul 2011
Reputation Points: 13
Solved Threads: 22
 

still nothing happens.

----


Nevermind, I find the solution.

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


Forgot to place the "#" sign.

davy_yg
Posting Whiz
377 posts since May 2011
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You