View Full Version : <div> and Positioning
Jul 27, 2007, 05:35 AM
I it possible for me to select some elements in my HTML usng the div tag and then using CSS or HTML itself, position the div selector and the elements in it, across the page for example on the riht side.
I got this idea from:
If you look on the right side, I want to make a box like the one around "All Categories"
Here is a screenshot:
Jul 27, 2007, 06:51 AM
yes, but I wouldn't use padding, I would use floats. float:right;
Jul 27, 2007, 06:57 AM
So in CSS I select div id whatever and put float right?
Jul 27, 2007, 07:14 AM
That did the trick Thanks.
How can I ine tune the thing to be exactly where I want it?
Jul 27, 2007, 07:47 AM
Uhh well that did help but how do I organise it?
These are two screenshots. One is hat I have made in practice. And the other is of Apple's website. Its organized and thats is what I want.
Jul 27, 2007, 08:43 AM
Don't float it, position it! XD
^ self explanatory. :)
Jul 27, 2007, 08:52 AM
I love this. Thanks man.
I am learning more and more. HAHAHAH
So thats what they mean by absolute and relative position.
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.