2016-06-13 2 views
1

나는이 내용을 가지고 있지만, 내용 전체를 적합하도록 내용을 늘리고 싶다. 도움이 필요하다!html로 내용을 늘리는 방법

.subtext10 { 
 
    margin-left: 210px; 
 
    margin-top: 90px; 
 
    font-size: 9.2pt; 
 
    line-height: 20px; 
 
}
<div class="text5"> 
 
    <p class="subtext10">has equipped me with the knowledge in modules such as 
 
    <br>Business Environment, Service Excellence, 
 
    <br>Entrepreneurship, Executive Lounge Service, 
 
    <br>Housekeeping Services, Hospitality Sales & Marketing 
 
    <br>and Event & Catering Management which are 
 
    <br>essential in the field</p> 
 
</div>

답변

1

휴식 태그 (<br>)와 여백 제거 : 자연의 모든 가능한 폭을 늘릴 것,

블록 레벨 요소, 같은 단락 (<p>)와 div의 등을 그들의 컨테이너. block formatting context에 대해 자세히 알아보십시오.

.subtext10 { 
 
    font-size: 9.2pt; 
 
    line-height: 20px; 
 
}
<div class="text5"> 
 
    <p class="subtext10">has equipped me with the knowledge in modules such as Business 
 
    Environment, Service Excellence, Entrepreneurship, Executive Lounge Service, 
 
    Housekeeping Services, Hospitality Sales & Marketing and Event & Catering Management 
 
    which are essential in the field</p> 
 
</div>

관련 문제