fix bugs

fix relative path
fix css str output
add trim switch( now force  to false )