Jump to content
Sign in to follow this  
frygurl

Box Position Is Relative

Recommended Posts

frygurl    0
frygurl

I can't seem to figure this problem out. I am creating the layout for a website I've designed using boxes. I am using CSS margins to position the boxes on the page. The problem is, the positions seem relative to each other. If one moves, it moves another as well.

 

Here's an example of the CSS I'm using:

 

#fbox_96{
margin-top:-15px;
margin-left:30px;
width: 220px;
height: 50px;

}

 

#fbox_103{
margin-top:-35px;
margin-left: -10px;
width: 720px;
height: 50px;

 

So, let's say I change the margin-top for fbox_96. The margin also changes for fbox_103. Any suggestions for a better way to do this? The website is here: http://www.msbeautyphile.com/wp.php/home/

 

Thanks!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×