Jump to content

DIVS Help Please


TGWSE_GY

Recommended Posts

I should imagine you're using float, as opposed to fixed or relative positioning *lowers eyebrows* :P

 

you'd start by mapping out your html so...

 

<div class="boxContainer">

   <div class="usrImgBox"></div>
   <div class="updStatBox"></div>
   <div class="mailReqBox"></div>
   <div class="recPhActBox"></div>
   <div class="frndActBox"></div>

</div>

 

then you'd use CSS (provided you understand what CSS is) to position the boxes:

 

div.usrImgBox
{
width: 150px;
height: 200px;
float: left;
padding: 20px;
}

 

I've gotta go now but If nobody/you does anything between now and say a few hours

 

mess around with floats, make sure they are in a container, right works as well just so ya know, the css

clear: left, clear: right and clear: both

will fix any kind of problem to do with staggering and stuff, work it out, i may help if as i say you can't sort it. bye.

Link to comment
Share on other sites

Can you tell us the more specific application of this?

If you're using it for a profile for myspace, etc then it's slightly different then if you're making a brand new template for something else.

 

Using float: right and float: left you can make them float against each other.

 

ie:

 

float: left and then float: left again would place two divs floating to the left, side by side if you don't put a break between them

 

float: left and then float: right would push each to opposite sides and leave space for whatever inbetween them.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.