updated to support full css and url