Isitayela se-CSS sekhodi kubhulogi yakho

cSS

Umngane wami wangibuza ukuthi ngizenze kanjani izifunda zekhodi ekubhaleni kwami ​​kokugcina kwebhulogi. Empeleni 'ngifakile' isifunda sekhodi ngisebenzisa isitayela. Ngaphakathi kwe-Blogger, ungahlela isifanekiso sakho. Ngingeze isitayela esilandelayo:

p.code {font-family: I-Courier New; usayizi wefonti: 8pt; isitayela somngcele: inset; ububanzi bomngcele: 3px; ukupakisha: 5px; umbala ongemuva: #FFFFFF; ukuphakama komugqa: 100%; imajini: 10px}

Isinyathelo esilandelayo ukuhlela umaki wami kumodi ye-'Html Html '. Ngimane ngikhombe isitayela sami esisha ngokwenza umaki. Voila! Ukudiliza izitayela:

  • Setha ifonti ibe yi-Courier New… ibukeka njengesihleli sekhodi ejwayelekile
  • Setha usayizi wefonti ku-8pt ukuze ubukeke ulungile
  • Setha isitayela somngcele wendima ukuze 'ungene'. Lokhu kuphindaphinda ukuthi i-textarea ibukeka kanjani ekhasini.
  • Setha ububanzi bomngcele ube ngamaphikseli ama-2 noma ama-3. Lokhu kwenza isitayela somngcele ongaphakathi ubukeke ulungile.
  • I-Padding ibeka ibanga phakathi komngcele nombhalo ngaphakathi.
  • Umbala wengemuva… usethe waba mhlophe (#FFFFFF)
  • Ukuphakama komugqa - Ngikulungise lokhu kwaba ngu-100% ngoba ezinye izitayela engqikithini yami ye-blogger zenze ukuphakama komugqa wami kube ngu-200%
  • Setha imajini ibe ngu-10 px. Lokhu kususa isigaba (p tag) samaphikseli ayi-10 kude nayo yonke into.

Yilokho kuphela okukhona nakho! Inothi elilodwa: Umhleli oza ne-Blogger akakwazi ukubonisa njengoba kuzovela kubhulogi yakho. Kepha kuyasebenza futhi kubukeka kukuhle!

Inothi elilodwa futhi… ngemuva kokwenza ukuhlela kwethegi, umhleli we-Blogger uthanda ukuyisebenzisa ngezikhathi ezithile kokuthunyelwe kwakho. Kuyacasula kancane! Iseluleko sami kungaba ukubhala konke okuthunyelwe bese wenza ukuhlela okuncane ngemuva kwalokho.

Inothi elilodwa lokugcina… qiniseka ukusebenzisa izinhlangano ze-HTML ukubonisa izimpawu zakho! Izibonelo ezimbalwa:

  • Izingcaphuno (“) zithi
  • > ngu>
  • > ngu>

Ukubhala ngekhodi okuhle!

3 Amazwana

  1. 1
  2. 2
  3. 3

UCABANGANI?

Le sayithi isebenzisa i-Akismet ukunciphisa ugaxekile. Funda ukuthi idatha yakho yokuphawula isetshenziswa kanjani.