Problēma ir tāda, ka manā lapā ( http://phpbbgods.org/ ) pašā apakšā - footerā ir zila poga - donate!, bet man to vajag dabūt kā linku - uzklikšķinot atveras cita lapa, bet kaut kas nesanāk... Visu varat paši apskatī't sourcē... Lūdzu palīdziet!
_________________ Think of how stupid the average person is, and realize half of them are stupider than that. /George Carlin/
Nejau to es prasu, un to es pats zinu...
Kas es "donate" esmu uzlicis "float: right;", tad man vajag to "div'u" dabūt par kādiem 200px uz augšu... Kā to izdarīt, ja ne "padding", ne "margin", ne "bottom" nestrādā uz releatīvās pozīcijas?
_________________ Think of how stupid the average person is, and realize half of them are stupider than that. /George Carlin/
P.S. un ko tur tai lapā dara vispār linki uz w3schools ?!?!
nepietiek jautā ka googlē pirmie linki vienmēr ir uz to AUGONI !
Jā, par tiem kodiem uz validātoru esmu vainīgs... Nebiju ielicis īstos! ;)
Tālāk papētīju to tavu lapu, sourci un visu, bet netieku skaidrībā, kā Tu dabūji "donate" pogu pašizvēlētā pozīcijā... Mans kods ir šāds, bet man kaut kā nesanāk... P.S. Tas pats kods jau pieminētajā lapā - darbībā... ;)
Kods:
<div>
<span></span></a>
<p>
Powered by <i><a>phpBB</a> (3.0.4), fu*ked up by <i><a>daGrevis</a></i> and <i><a>Adrian</a></i>;<br>
Design - <i><a>nacre</a></i> (1.0.0), by <i><a>daGrevis</a></i>, specially made for <i><a>phpbbGods.org</a></i>;
<IF><br>Translated by {TRANSLATION_INFO};<ENDIF>
<IF><br>{DEBUG_OUTPUT} | Valid <i><a>xHTML</a></i> and <i><a>CSS</a></i>;<br><ENDIF>
We will appreciate, if You donate some money to site! You can do it <a>here</a>!
</p>
<a><div></div></a>
</div>
1. laikam neesi pamanījis, ka šitai forumā HTML postošana nedarbojas.
Izmanto http://pastie.org/ vai http://www.webdevout.net/test
2. ID ir jabūt unikālam lapā , tev nevar būt p#foooter un div#footer.
3. Ko tur vispār dara <i> tagi ?!?
4. Kāpēc tu liec klasi pie katra linka ? Tu taču vari adresēt visus linkus footerī kā div#footer p a{}
5. WTF : <div><span></span></a> , kur tu tā iemācījies rakstīt ?!?
Tai lapā ir kļūdu vairāk kā tagu.
Varbūt iemācies vismaz strādāt ar Firebug.
_________________ "Begging for a line drawn in the sand to separate the prophets from the men" - Rishloo
daGrevis : 13 Marts 2009 23:32:07
_________________
Think of how stupid the average person is, and realize half of them are stupider than that. /George Carlin/
http://twitter.com/#!/daGrevis
http://last.fm/user/daGrevis
http://ask.fm/daGrevis
http://dagrevis.lv/
azazul : 14 Marts 2009 0:08:12
_________________
"Begging for a line drawn in the sand to separate the prophets from the men" - Rishloo
daGrevis : 14 Marts 2009 18:09:50
_________________
Think of how stupid the average person is, and realize half of them are stupider than that. /George Carlin/
http://twitter.com/#!/daGrevis
http://last.fm/user/daGrevis
http://ask.fm/daGrevis
http://dagrevis.lv/
deivs001 : 14 Marts 2009 18:13:25
_________________
"You can't expect to hit the jackpot if you don't put a few nickels in the machine" / Flip Wilson
Shared on GReader
daGrevis : 14 Marts 2009 18:19:26
_________________
Think of how stupid the average person is, and realize half of them are stupider than that. /George Carlin/
http://twitter.com/#!/daGrevis
http://last.fm/user/daGrevis
http://ask.fm/daGrevis
http://dagrevis.lv/
azazul : 14 Marts 2009 18:56:22
_________________
"Begging for a line drawn in the sand to separate the prophets from the men" - Rishloo
daGrevis : 14 Marts 2009 22:26:34
http://innonesen.se/example/css/footer/
Ieteiktu papētīt kodu. Īpaši kādiem ir jābūt linkiem uz validātoru.
P.S. un ko tur tai lapā dara vispār linki uz w3schools ?!?!
nepietiek jautā ka googlē pirmie linki vienmēr ir uz to AUGONI !
Jā, par tiem kodiem uz validātoru esmu vainīgs...
Tālāk papētīju to tavu lapu, sourci un visu, bet netieku skaidrībā, kā Tu dabūji "donate" pogu pašizvēlētā pozīcijā...
<div>
<span></span></a>
<p>
Powered by <i><a>phpBB</a> (3.0.4), fu*ked up by <i><a>daGrevis</a></i> and <i><a>Adrian</a></i>;<br>
Design - <i><a>nacre</a></i> (1.0.0), by <i><a>daGrevis</a></i>, specially made for <i><a>phpbbGods.org</a></i>;
<IF><br>Translated by {TRANSLATION_INFO};<ENDIF>
<IF><br>{DEBUG_OUTPUT} | Valid <i><a>xHTML</a></i> and <i><a>CSS</a></i>;<br><ENDIF>
We will appreciate, if You donate some money to site! You can do it <a>here</a>!
</p>
<a><div></div></a>
</div>
div#footer {
width: 912px;
height: 125px;
margin: auto;
background-image: url("./images/footer.png");
}
p#footer {
padding: 20px;
text-align: center;
font-size: 8px;
color: #afafaf;
}
div#donate {
float: right;
display: block;
width: 55px;
height: 55px;
background-image: url("./images/donate.png");
}
a.footer {
font-size: 8px;
color: #afafaf;
text-decoration: none;
}
a.footer:hover {
color: #fafafa;
text-decoration: bold;
}
_________________
Think of how stupid the average person is, and realize half of them are stupider than that. /George Carlin/
http://twitter.com/#!/daGrevis
http://last.fm/user/daGrevis
http://ask.fm/daGrevis
http://dagrevis.lv/
azazul : 14 Marts 2009 22:48:37
1. laikam neesi pamanījis, ka šitai forumā HTML postošana nedarbojas.
Izmanto http://pastie.org/ vai http://www.webdevout.net/test
2. ID ir jabūt unikālam lapā , tev nevar būt p#foooter un div#footer.
3. Ko tur vispār dara <i> tagi ?!?
4. Kāpēc tu liec klasi pie katra linka ? Tu taču vari adresēt visus linkus footerī kā div#footer p a{}
5. WTF : <div><span></span></a> , kur tu tā iemācījies rakstīt ?!?
Tai lapā ir kļūdu vairāk kā tagu.
Varbūt iemācies vismaz strādāt ar Firebug.
_________________
"Begging for a line drawn in the sand to separate the prophets from the men" - Rishloo
daGrevis : 15 Marts 2009 14:17:51
_________________
Think of how stupid the average person is, and realize half of them are stupider than that. /George Carlin/
http://twitter.com/#!/daGrevis
http://last.fm/user/daGrevis
http://ask.fm/daGrevis
http://dagrevis.lv/
daGrevis : 15 Marts 2009 16:28:29
_________________
Think of how stupid the average person is, and realize half of them are stupider than that. /George Carlin/
http://twitter.com/#!/daGrevis
http://last.fm/user/daGrevis
http://ask.fm/daGrevis
http://dagrevis.lv/