|
Posted by Jonathan N. Little on 04/16/07 22:05
Jon Slaughter wrote:
> "Ben C" <spamspam@spam.eggs> wrote in message
> news:slrnf26b8r.hi7.spamspam@bowser.marioworld...
>> On 2007-04-16, Jon Slaughter <Jon_Slaughter@Hotmail.com> wrote:
>>>
>>> Maybe I need to specify something else besides display:inline or block?
>> If you set position: fixed or position: absolute, you get display: block
>> whatever you specify.
>
> ? You mean as a default or that I cannot change it? If I use display:inline
> it works and looks different, atleast in FireFox, than display:block. The
> block shifted down while the inline is not.
>
Floats, absolutely positioned elements, inline-blocks, table-cells,
table-captions, and elements with 'overflow' other than 'visible'
(except when that value has been propagated to the viewport) establish
new block formatting contexts.
http://www.w3.org/TR/CSS21/visuren.html#q15
You could save yourself and us a lot of grief if you study up a bit on CSS.
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
[Back to original message]
|