Loading...

DIV區塊內文字左右對齊?

Temperature: 0 °C

ChungChung
author_tools

最近常接到一些英文網站建置的專案....為了讓內容文字能夠左右對齊...

所以用了以下方式

div {
 text-align: justify; /* Firefox到此即可對齊 */
 text-justify: auto; /* IE需再加上此行 */
}

話說實在找不到好看的英文字型啊....總覺得都排不好看@@

https://innstory.com/story-DIV區塊內文字左右對齊-268
寫程式筆記

Prev
 在PHP裡面如何做到基本的SQL_injection防禦

Next
美味不設限 

About the Author

Chung

我是chung
網路工作者
主業是網站系統開發建置
副業是做夢,寫故事
作品請參考/teme.biz
做夢請參考/innstory.com
聯絡/chung.teme@gmail.com

#有人用筆寫日記,有人用歲月寫日記,有人用照片寫日記,而我,用innstory寫日記。

Visitor message

Leave some footprints to prove that you visited me

Recommended reading

Author's other related stories

黑客松Hackathon

黑客松Hackathon

這個星期六日要同朋友去參加一個聚會...黑客松Hackathon... 老實說我根本不知道那是什麼....

apache下設置不顯示目錄列表 Indexes FollowSymLinks

apache下設置不顯示目錄...

pexelsphoto5 選擇編輯httpd.conf文件 vi conf/httpd.conf 找...

新舊交替,使用phpmyadm出現1064 error in CREATE TABLE … TYPEMYISAM錯誤

新舊交替,使用phpmyad...

sql55 系統移機的過程中,最重要的環節....我想...莫過於是系統的環境了....。 這次在協...

Please select an option

error

Hi, thank you for your participation, but you cannot vote repeatedly~

Join innstory now and start recording your story.

"Innstory" is a place to store stories. We are committed to becoming a warm platform. Deepening the bonds between people is our direction.
We are convinced that the blockchain between people is not just a cold calculation. Join us now.

Wrong format