krasnolud1
30-06-2014, 23:30
Witam.
Proszę o pomoc :)
Chciałbym otrzymać mniejszą czcionkę odnośnika Strona główna, natomiast pozostałe odnośniki mają być w wielkości jak w kodzie...
Kod Html
<!DOCTYPE html>
<html lang="pl">
<head>
<title>Joomla - tworzenie szablonów</title>
<meta charset="utf-8">
<link rel="stylesheet" href="css/style.css" type="text/css" media="all">
</head>
<body>
<div id="wrapper">
<nav>
<ul>
<li><a href="#">Strona główna</a></li>
<li><a href="#">O nas</a></li>
<li><a href="#">Wycena</a></li>
<li><a href="#">Kontakt</a></li>
</ul>
</nav>
</body>
</html>
Kod CSS
@charset "utf-8";
/* CSS Document */
body {
background: url(../images/tlo.png);
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
line-height: 20px
color; #999891;
}
#wrapper {
background: #FFF;
width: 1440px;
margin: 40px auto;
}
.clear {
clear:both;
}
a:link {
text-decoration: none;
color: #F96125;
}
/*-- menu główne --*/
nav {
padding: 0;
}
nav ul li {
float: left;
list-style: none;
}
nav ul li a {
display: compact;
height: 60px;
line-height: 60px;
background: #FFF;
font-size: 26px;
width: 150px;
text-align: center;
margin-right: 40px;
margin-bottom: 5px;
text-transform: uppercase;
color: #09C !important;
}
nav ul li a:hover {
text-decoration: none;
background: #FFF;
color: #F00 !important;
}
Pozdrawiam
Proszę o pomoc :)
Chciałbym otrzymać mniejszą czcionkę odnośnika Strona główna, natomiast pozostałe odnośniki mają być w wielkości jak w kodzie...
Kod Html
<!DOCTYPE html>
<html lang="pl">
<head>
<title>Joomla - tworzenie szablonów</title>
<meta charset="utf-8">
<link rel="stylesheet" href="css/style.css" type="text/css" media="all">
</head>
<body>
<div id="wrapper">
<nav>
<ul>
<li><a href="#">Strona główna</a></li>
<li><a href="#">O nas</a></li>
<li><a href="#">Wycena</a></li>
<li><a href="#">Kontakt</a></li>
</ul>
</nav>
</body>
</html>
Kod CSS
@charset "utf-8";
/* CSS Document */
body {
background: url(../images/tlo.png);
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
line-height: 20px
color; #999891;
}
#wrapper {
background: #FFF;
width: 1440px;
margin: 40px auto;
}
.clear {
clear:both;
}
a:link {
text-decoration: none;
color: #F96125;
}
/*-- menu główne --*/
nav {
padding: 0;
}
nav ul li {
float: left;
list-style: none;
}
nav ul li a {
display: compact;
height: 60px;
line-height: 60px;
background: #FFF;
font-size: 26px;
width: 150px;
text-align: center;
margin-right: 40px;
margin-bottom: 5px;
text-transform: uppercase;
color: #09C !important;
}
nav ul li a:hover {
text-decoration: none;
background: #FFF;
color: #F00 !important;
}
Pozdrawiam