내가했습니다 코드 1과 2 아래 코드 :이상한 CSS 문제
(구글 크롬에 아래 확인하시기 바랍니다 코드 8+)
코드 1 :
<!DOCTYPE html>
<meta charset="utf-8">
<title>An HTML5 document</title>
<div style="background:red; height:300px; width:1500px;">
WWWWWWW<br>WWWWWWW<br>WWWWWWW<br>WWWWWWW<br>WWWWWWW<br>WWWWWWW
<img src="http://www.swliuxue.com/newindex/uploadfile/201011/18/162266581.jpg" style="float:left;" width="900" height="230">
</div>
<div style="background:green; color:yellow; font-weight:bolder; height:300px; width:1000px;">
asc aca ascacaaaaaa<img style="vertical-align:top; float:left;" src="http://i3.ytimg.com/vi/F5qniuZG8Rg/default.jpg">Q
</div>
코드 2 :
<!DOCTYPE html>
<meta charset="utf-8">
<title>An HTML5 document</title>
<div style="background:red; height:300px; width:1500px;">
WWWWWWW<br>WWWWWWW<br>WWWWWWW<br>WWWWWWW<br>WWWWWWW<br>WWWWWWW
<img src="http://www.swliuxue.com/newindex/uploadfile/201011/18/162266581.jpg" style="float:left;" width="900" height="230">
</div>
<div style="background:green; color:yellow; font-weight:bolder; height:300px; width:1000px;">
asc aca ascacaaaaaab<img style="vertical-align:top; float:left;" src="http://i3.ytimg.com/vi/F5qniuZG8Rg/default.jpg">Q
</div>
위의 2 코드가 다른 이유를 알고 싶습니다.
font-weight : bolder; 그게 진짜 CSS 규칙인가요? 그 다음 문제가 없다면 – benhowdle89
# 1과 # 2 사이의 차이점은 왼쪽 플로트 이미지 앞에있는 텍스트입니다 ... 'asc aca ascacaaaaaa! = asc aca ascacaaaaaab' – acm
@ benhowdle89 그것은 사실입니다. 대담한 것보다 대담합니다! –