Shinobi
09-05-2004, 04:58 AM
Hey, I normally use tables along with position:absolute to put them where they need to go, but I heard that it will display differently in different browsers if you use that code, so i was wondering what I should use instead??
The only thing i can come up with is to use alot of strategically shaped empty table rows....
PLEASE HELP ME BEFORE MY EHAD EXPLODES *huffs*
Shinobi
09-05-2004, 04:16 PM
BUMP NO JUTSU!! *page appears back up top so that.....SOMEONE CAN ANSWER IT!!*
Please stop bumping your posts within a day of posting. It takes more then that for most of the community's avid helpers to even look at vbulletin templates, let alone a specific thread.
As for the problem, just use this in a css definition
position: absolute;
taken from w3.com (click for full page) (http://www.w3.org/TR/REC-CSS2/visuren.html)
------------------------------------------------
9.3.1 Choosing a positioning scheme: 'position' (http://www.w3.org/TR/REC-CSS2/visuren.html#propdef-position) property
The 'position' (http://www.w3.org/TR/REC-CSS2/visuren.html#propdef-position) and 'float' (http://www.w3.org/TR/REC-CSS2/visuren.html#propdef-float) properties determine which of the CSS2 positioning algorithms is used to calculate the position of a box.
'position' Value: static | relative | absolute | fixed | inherit (http://www.w3.org/TR/REC-CSS2/cascade.html#value-def-inherit) Initial: static Applies to: all elements, but not to generated content Inherited: no Percentages: N/A Media: visual (http://www.w3.org/TR/REC-CSS2/media.html#visual-media-group)
The values of this property have the following meanings:
static The box is a normal box, laid out according to the normal flow (http://www.w3.org/TR/REC-CSS2/visuren.html#normal-flow). The 'left' (http://www.w3.org/TR/REC-CSS2/visuren.html#propdef-left) and 'top' (http://www.w3.org/TR/REC-CSS2/visuren.html#propdef-top) properties do not apply.
relative The box's position is calculated according to the normal flow (http://www.w3.org/TR/REC-CSS2/visuren.html#normal-flow) (this is called the position in normal flow). Then the box is offset relative (http://www.w3.org/TR/REC-CSS2/visuren.html#relative-positioning) to its normal position. When a box B is relatively positioned, the position of the following box is calculated as though B were not offset.
absolute The box's position (and possibly size) is specified with the 'left' (http://www.w3.org/TR/REC-CSS2/visuren.html#propdef-left), 'right' (http://www.w3.org/TR/REC-CSS2/visuren.html#propdef-right), 'top' (http://www.w3.org/TR/REC-CSS2/visuren.html#propdef-top), and 'bottom' (http://www.w3.org/TR/REC-CSS2/visuren.html#propdef-bottom) properties. These properties specify offsets with respect to the box's containing block (http://www.w3.org/TR/REC-CSS2/visuren.html#containing-block). Absolutely positioned boxes are taken out of the normal flow. This means they have no impact on the layout of later siblings. Also, though absolutely positioned (http://www.w3.org/TR/REC-CSS2/visuren.html#absolutely-positioned) boxes have margins, they do not collapse (http://www.w3.org/TR/REC-CSS2/box.html#collapsing-margins) with any other margins.
fixed The box's position is calculated according to the 'absolute' model, but in addition, the box is fixed (http://www.w3.org/TR/REC-CSS2/visuren.html#fixed-positioning) with respect to some reference. In the case of continuous media (http://www.w3.org/TR/REC-CSS2/media.html#continuous-media-group), the box is fixed with respect to the viewport (http://www.w3.org/TR/REC-CSS2/visuren.html#viewport) (and doesn't move when scrolled). In the case of paged media (http://www.w3.org/TR/REC-CSS2/media.html#paged-media-group), the box is fixed with respect to the page, even if that page is seen through a viewport (http://www.w3.org/TR/REC-CSS2/visuren.html#viewport) (in the case of a print-preview, for example). Authors may wish to specify 'fixed' in a media-dependent way. For instance, an author may want a box to remain at the top of the viewport (http://www.w3.org/TR/REC-CSS2/visuren.html#viewport) on the screen, but not at the top of each printed page. The two specifications may be separated by using an @media rule (http://www.w3.org/TR/REC-CSS2/media.html#at-media-rule), as in: Example(s):
@media screen {
H1#first { position: fixed }
}
@media print {
H1#first { position: static }
}
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.