sonyaseth Posted October 29, 2011 Share Posted October 29, 2011 how to include 2 file side by side (not one behind another using include ()) or by using any other function so that i can include files like like 2 cells of table Quote Link to comment https://forums.phpfreaks.com/topic/250044-include-function/ Share on other sites More sharing options...
floridaflatlander Posted October 29, 2011 Share Posted October 29, 2011 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 Quote Link to comment https://forums.phpfreaks.com/topic/250044-include-function/#findComment-1283249 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.