Nowa ramka?

Dyskusje na temat modyfikowania i tworzenia stylów do phpBB 3.0.x oraz spraw związanych z szablonami, motywami i zestawami obrazków.
yng

Nowa ramka?

Post autor: yng » 05 maja 2009, 09:10

Witam!
Chciałbym na swoim forum dodać banner w tym miejscu
http://iv.pl/images/sac8dqaeqx3dsl2jt3n6.jpg
Chciałbym zrobić, aby banner był odnośnikiem.
Z góry dziękuję za pomoc.

pit
Posty: 1580
Rejestracja: 25 lutego 2009, 18:15

Re: Nowa ramka?

Post autor: pit » 05 maja 2009, 16:35

Chciałbym na swoim forum dodać banner w tym miejscu
Chciałbym pomóc ale szklana kula w serwisie.
Na postawie obrazka mogę Ci powiedzieć, że w przypadku oryginalnego "overall_header.html" w miejsce szykajki wklej

Kod: Zaznacz cały

<div id="slogan"><p class="slogan">Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p></div>
<div id="image"></div>
i w "common.css" dopisz

Kod: Zaznacz cały

#slogan {float: right; width: 300px}
#image {float: right; width: 300px; height: 70px; margin-top: -10px; background: #aa0000; clear: both}
p.slogan {text-align: center}
Wersja pro :mrgreen:

Kod: Zaznacz cały

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>test</title>
<style type="text/css">
* {margin:0;padding:0;}
body {background: #000}
#top {margin: 20px auto; width: 900px; height: 220px; background: #aa0000; border: 1px dashed #fff}
#logo {width: 100%; height: 170px; margin-top: 49px; background: #999; border-top: 1px dashed #fff}
#slogan {float: right; width: 300px; margin: 40px 10px 5px 0}
#image {float: left; width: 300px; height: 70px; margin-left: 590px; background: #aa0000; display: inline}
p {text-align: center}
</style>
</head>
<body>
<div id="top">
<div id="logo">
<div id="slogan"><p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p></div>
<div id="image"></div>
</div>
</div>
</body>
</html>
Chciałbym zrobić, aby banner był odnośnikiem.
viewtopic.php?f=55&t=9769

Zablokowany

Wróć do „Pomoc”