Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [HTML][CSS]Logo odsyłaczem do strony głównej
adrianozo
post
Post #1





Grupa: Zarejestrowani
Postów: 733
Pomógł: 4
Dołączył: 11.11.2009

Ostrzeżenie: (0%)
-----


Witam.
Nie bardzo mam pomysł na to, aby logo było odnośnikiem do strony głównej.
Tak jak ja to robię po prostu pokazuje mi na logu hiperlink.

index:

  1. <div id="logo">
  2. <a style="text-decoration: none;" href="">Strona główna</a>
  3. </div>


CSS:

Kod
div#logo
{
color: #C0C0C0;
width: 1004px;
height: 169px;
background: #C0C0C0 url(images/logo.png) repeat-y;
}


Z góry dziękuje za pomoc (IMG:style_emoticons/default/smile.gif)

Ten post edytował adrianozo 19.02.2010, 22:42:09
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
krzysztof_kf
post
Post #2





Grupa: Zarejestrowani
Postów: 1 135
Pomógł: 158
Dołączył: 19.03.2009
Skąd: Toruń

Ostrzeżenie: (0%)
-----


Kod
#logo {
padding: 0 0 0 0;
}

#logo a {
width: 200px;
height: 120px;
display: block;
background: url(../images/logo.png) no-repeat;
}


Kod
<div id="logo">
<a href="index.php"></a>
</div>
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 4.10.2025 - 12:10