| 
	
 | 
 Posted by Samuel van Laere on 02/24/07 21:01 
"Jukka K. Korpela" <jkorpela@cs.tut.fi> schreef in bericht  
news:P_DDh.1010$EG7.610@reader1.news.saunalahti.fi... 
> 
> If you remove the lines 
> float: right; 
> width: 100% 
> then the "double border" appears on the right. Making spans float often  
> causes problems. I don't quite see what you are aiming at with that rule,  
> so I won't make a specific suggestion on how to fix it. Wy don't you just  
> use <div> instead of <span>, without float or width in CSS but with some  
> rule that suppresses vertical margins for <p>? 
> 
 
You found the problem and a solution to, thats just great. 
Here's what I did to fix it: 
 
#divboek span.marker { 
 color: #000000; 
 float: left; 
 font-weight: bold; 
 margin-left: 0px; 
 margin-top: 2px; 
 padding: 1px; 
} 
 
Gave me the same effect with even lesser rules :)) 
 
> P.S. Use the W3C CSS Checker; you have a syntax error in your style sheet  
> (probably unrelated to the problem at hand, but still). 
 
Thanks Jukka, i've fixed two errors.
 
  
Navigation:
[Reply to this message] 
 |