You can "position" borders by using padding. This increases the distance between the content and the container's edge (and border). Besides that, I'm as confused as timdenty as to what you're referring to.
FYI
* My screen resolution is set at 1680x1050
* I'm accessing your site through a T1 line
* I'm probably viewing it using Firefox (unless browser is specified)
There are several ways in which you can do this: absolute, relative, or float. Take a look at this tutorial; it should help you: http://www.brainjar.com/css/positioning/
FYI
* My screen resolution is set at 1680x1050
* I'm accessing your site through a T1 line
* I'm probably viewing it using Firefox (unless browser is specified)
You're not 'positioning borders' so much a positioning an element with borders (a DIV, etc.)?
Well I dont know how to do a screendump on this thing, but just imagine if you have a box and you have some text in it and you want to position this box on a certain place on your page.
I've just started using CSS so I dont know if its a DIV....thingy.
Well I dont know how to do a screendump on this thing, but just imagine if you have a box and you have some text in it and you want to position this box on a certain place on your page.
I've just started using CSS so I dont know if its a DIV....thingy.
Correct, -you are not 'positioning borders', but 'positioning an object that has visible borders'. The "borders" are only visual, -they have nothing to do with the "positioning".
You CAN use "position:relative;", but the actual position of the object is still 'there', even though it visually, is moved. This causes content to reside in undesireable positions.
"Position:absolute;" is based upon position "0,0" of your viewscreen (top-left corner). If the 'absolute-positioned object' is nested inside of a relative-positioned container, -you can much greater control over it, and being absolute ("out of the document flow"), it affects nothing on the page. -You can even 'overlap' containers like a deck of cards!
A talented postee offered the below code some weeks ago (I saved it in my 'toolbox'). -This demonstrates something kewl. I tweaked it a bit , and, if so desired, a single-used 'position:absolute;" IMAGE could be installed to 'center-center' ontop of the cards! Each 'top' card would 'partially hide' the image below of course, and only the top-most card would reveal the whole image! -How cool is that?!
Bookmarks