채택완료

table 특정 id값에 width값 100%바꾸는 정규식 표현 방법 알고 싶습니다.

2016-04-26 (화) 11:07:38 5,939
Copy
<table id="community_image" class="center" align="center" width="675"><tbody><tr><td><img src="/링크/파일명.jpg" width="675" align="absmiddle"></td></tr></tbody></table>

이것을 내용 필드에 저장 하게되는데

table id값이 community_image이

 

width="675" (값이 경우에 따라 다를수 있음) 


을 width="100%"


으로 변경 하는 정규식 방법 없나요? ㅠ,ㅠ


이것에 대한 지식도 없고 죄송하지만 이렇게 문의 드립니다. ㅠㅠ

|

답변 1개

채택된 답변
+20 포인트

css로 해도 됩니다.

#community_image{width:100% !important;} 

답변을 작성하려면 로그인이 필요합니다.