General Community > HTML/CSS

centering ellements using css?

<< < (4/4)

jack:
The way I read the definition :

--- Quote ---This property affects the vertical positioning inside a line box of the boxes generated by an inline-level element. The following values only have meaning with respect to a parent inline-level element, or to a parent block-level element, if that element generates anonymous inline boxes; they have no effect if no such parent exists.
--- End quote ---

is that it affects the alignment of the content of the block, not the position of the block itself.

[Unknown]:
The same with text-align.  They are both applied to the contents.

-[Unknown]

Seph|roth:

--- Quote from: [Unknown] on August 25, 2003, 10:11:04 PM ---The same with text-align.  They are both applied to the contents.

-[Unknown]

--- End quote ---
yes it seems so.. i just encountered the same problem myself  >:( :P

Navigation

[0] Message Index

[*] Previous page

Go to full version