Jump to content

Include function


sonyaseth

Recommended Posts

how to include 2 file side by side

 

You'd play with it.

 

You also said "not one behind another" something else must be in play here in your css, they should be one on top of the other if there are no styles

 

Just for argument lets's say you want to put then in a wrapper 1000px s wide. The first one could be 495pxs wide with a margin-right of say 500px and the second could be 495pxs wide floated right. Or you could float one left and one right.

 

The best thing to do is play with it, testing in firefox, ie 7 8 & 9. I worked on something like this a half a day yesterday using somoene else code and trying to figure out what was going on. Also remember that ie6 adds something like 3pxs to a float so I always have 5-10 unused pxs when the width of all my divs is added up.(remember width is really margin+padding+border+width)

 

There are smarter people on here that say they should all be floated the same way but I haven't seen them on here in a while.

 

Also if you can used firefox's firebug it's a God send

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.