Hello everyone,

I have  aproblem with empty span element, which I can't take out of my 
layout unfortunately. Th eproblem is that when I give it a fixed pixel 
width, it shows well. Althought if I give him the 100% width (as it was 
supposed to be to show a black underline). What could be the solution? The 
CSS code is the following:

#myDiv span {
       width:100%;
       display:block;
        height:25px;
        position:relative;
        border-bottom:1px solid #000;
        white-space:nowrap;
}

<div id="myDiv"><span></span></div>
Thanx in advance for your help.

_________________________________________________________________
Personnalisez votre Messenger avec Live.com 
http://www.windowslive.fr/livecom/

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- 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