Jump to content
php.lv forumi

Boldaa


GB.

Recommended Posts

hmm...HTML un CSS pamati :/

 

font tagu izmanto dinozauri! Arī b tagu (kas padara tekstu boldā, starpcitu) nevajadzētu izmantot. Tā vietā vajadzētu izmantot strong un tad ar CSS izdarīt ko vajag (by default vnk būs bolds).

 

Šodien HTML ir jāmācās: <strong>GB.</strong>

Edited by rATRIJS
Link to comment
Share on other sites

Kā jau te daži minēja nav īsti pareizais variants kā veidot noformējumu, bet šīs arī varētu strādāt. Tieši Tavā kodā IE nerādīs boldu, jo Tev nav pareizi izmantots tags (nav noslēdzošā >), tā ir ļoti rupja kļūda un labi ka vismaz viens pārlūks nenostrādāja tā kā Tu gribēji gala rezultātā, tas ļāva pamanīt šo kļūdu, jābūt:

<font color='#FF00FF'><b>Vārda dienu svin:</b></font>

Edited by Maris-S
Link to comment
Share on other sites

font-weight noteikti ir labākais variants iemests <p> tagos.

un reku, ko vien nevari panākt ar šo font-weight: normal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900

 

Vārda dienu šodien svin: Jamulejs, Tups

 

vai arī nezinu, skaties kaut source šim pašam piemēram :D

 

Vārda dienu šodien svin: <strong class='bbc'>Jamulejs, Tups</strong>

 

strong.bbc{font-weight:bold !important}

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...