Jump to content

SUBIECTE NOI
« 1 / 5 »
RSS
Wc Geberit

Routere detinute in trecut si in ...

Teii din fața casei

E-Mail in serie prin Excel si Out...
 Modul alimentare rulou/jaluzea ex...

Recuperare fișiere dupa form...

Aplicatii stress test RAM

Asigurare auto hibrid
 Asus B550M - PC-ul nu porneste di...

Tzanca Uraganu - Inconjurat de Fe...

explicatie montaj breadboard

3 Doors Down - Kryptonite
 Semnalizati cand virati pe un dru...

Succesiune - mostenire apartament...

Donez Siofor de 1000mg ( diabet t...

Izolatie intre parter si etaj
 

CSS

- - - - -
  • Please log in to reply
1 reply to this topic

#1
CristiCronik

CristiCronik

    Junior Member

  • Grup: Members
  • Posts: 238
  • Înscris: 08.11.2008
salut,fac niste exercitii care contin html si css si m-am blocat putin
am asa:
<!DOCTYPE html>
<html>
<head>
<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
<title>Ultimate Text Challenge</title>
</head>
<body>
<p>Introduction: Cascading with CSS</p>
<div>
<p>Synopsis: When you set a property of a selector like 'p' to a certain value, that value applies to <em>all</em> p tags.
If, however, you change that same property to a different value for a more specific instance of p,
that change will <em>override</em> the 'general rule'.
</p>
<ul>
<li><p>If you say p { font-family: Garamond}, all 'p's will have the font Garamond.</p></li>
<li><p>BUT if you say li p {font-family: Verdana}, 'p's outside of 'li's will be
	 in Garamond, and 'p's INSIDE 'li's will be in Verdana.
</p></li>
<li><p>The more specific your selectors are, the higher importance CSS gives to the styling you apply!</p></li>
</ul>
</div>
<p>Summary: Greater specificity makes CSS prioritize that particular styling.</p>
</body>
</html>


va rog sa-mi subliniati greselile
in css vreau:
toate parafragurile font garamond
 p { 
font-family:Garamond }


paragraful synopsis o culoare :

div p { 
color: #7ac5cd 
}


paragrafurile din lista neordonata , o culoare si underlined

ul p {
color:#000000;
text-decoration:underline;


vreau sa fac paragrafurile Introduction si Summary  font-weight bold si nu reusesc ... initial am vrut

body p {
font-weight:bold
}

   pentru ca body e parintele acestor 2 paragrafuri din moment ce ele nu se afla in div
Stima mersi

Edited by CristiCronik, 08 April 2013 - 19:05.


#2
poadol

poadol

    Guru Member

  • Grup: Senior Members
  • Posts: 14,104
  • Înscris: 13.12.2010
In HTML:
<!DOCTYPE html>
<html>
<head>
<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
<title>Ultimate Text Challenge</title>
</head>
<body>
<p><strong>Introduction: Cascading with CSS</strong></p>
<div>
<p >Synopsis: When you set a property of a selector like 'p' to a certain value, that value applies to <em>all</em> p tags.
If, however, you change that same property to a different value for a more specific instance of p,
that change will <em>override</em> the 'general rule'.
</p>
<ul>
<li><p ><u>If you say p { font-family: Garamond}, all 'p's will have the font Garamond.</u></p></li>
<li><p ><u>BUT if you say li p {font-family: Verdana}, 'p's outside of 'li's will be
in Garamond, and 'p's INSIDE 'li's will be in Verdana.</u></p></li>
<li><p ><u>The more specific your selectors are, the higher importance CSS gives to the styling you apply!</u></p></li>
</ul>
</div>
<p><strong>Summary: Greater specificity makes CSS prioritize that particular styling.</strong></p>
</body>
</html>
In CSS (stylesheet.css):
p { 
font-family: Garamond ;
}

.synopsys { 
color: #7ac5cd; 
}

.sra {
color: #000000;
font-family: Verdana ;
}

Te-ai blocat?
Mai ai de invatat. Spor la invatat.

Imi pare rau dar a luat gresit codul lipsesc class="sra" la paragrafele din lista neordonata si class="synopsys" la paragraful Synopsis. Posted Image

Underline si bold este facut direct in HTML.

Anunturi

Chirurgia cranio-cerebrală minim invazivă Chirurgia cranio-cerebrală minim invazivă

Tehnicile minim invazive impun utilizarea unei tehnologii ultramoderne.

Endoscoapele operatorii de diverse tipuri, microscopul operator dedicat, neuronavigația, neuroelectrofiziologia, tehnicile avansate de anestezie, chirurgia cu pacientul treaz reprezintă armamentarium fără de care neurochirurgia prin "gaura cheii" nu ar fi posibilă. Folosind tehnicile de mai sus, tratăm un spectru larg de patologii cranio-cerebrale.

www.neurohope.ro

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Forumul Softpedia foloseste "cookies" pentru a imbunatati experienta utilizatorilor Accept
Pentru detalii si optiuni legate de cookies si datele personale, consultati Politica de utilizare cookies si Politica de confidentialitate