public static Valign parse(HtmlElement element, String str){
		switch(str){
			case "top":
				return TOP;
	
			case "middle":
				return MIDDLE;
				
			case "bottom":
				return BOTTOM;
				
			case "baseline":
			default:
				return BASELINE;
		}
	}