View Full Version : <div> and Positioning
Jul 27, 2007, 06: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, 07:51 AM
yes, but I wouldn't use padding, I would use floats. float:right;
Jul 27, 2007, 07:57 AM
So in CSS I select div id whatever and put float right?
Jul 27, 2007, 08:14 AM
That did the trick Thanks.
How can I ine tune the thing to be exactly where I want it?
Jul 27, 2007, 08: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, 09:43 AM
Don't float it, position it! XD
^ self explanatory. :)
Jul 27, 2007, 09:52 AM
I love this. Thanks man.
I am learning more and more. HAHAHAH
So thats what they mean by absolute and relative position.