Hi, this is not the first time I have the similar problem that the  
margin top and bottom have no effect for inline span class.


http://project.lotusseedsdesign.com/sh1/follows-1018-span.html

for the above page, I declared "margin-left: 30px;margin-top: 500px;  
" for the following span class, and the margin top doesn't work.

P/s. I don't really want the tab drops 500px below, simply want to  
make a point here so you can see it clearly that it truly doesn't work.

div.table_follows span.unselected {
        color: #fff;padding: 8px 15px 9px 15px;
                background: #F3918E;font-size: .95em;
                margin-left: 30px;margin-top: 500px;
                border-top:9px solid #fff;
                border-left: none;
                border-right: none;}


thanks!

tee
______________________________________________________________________

Hi Tee,

This won't work because the span is an inline element, and top and
bottom paddings and margins don't apply to inline elements.

Cheers,

Alex.
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to