use wildcard CSS prefix matching for div id src
fixes #716
add missing changes for non-default CSS for issue #573