2010-07-19 02:18
Witam Potrzebuję stworzyć tło dla #head2 z czterech obrazów. Jak tworzę stronę to robię to w taki sposób: CSS: #t1{ position:absolute; top:85px; } #t2{ position:absolute; top:85px; left:25px; } #t3{ position:absolute; top:85px; right:0px; } #t4{ position:absolute; top:103px; left:25px; } HTML: <div id="t1"><img src="img/t1.png" alt="" /></div> <div id="t2"><img src="img/t2.png" alt="" /></div> <div id="t3"><img src="img/t3.png" alt="" /></div> <div id="t4"><img src="img/t4.jpg" alt="" border="0" /></div> Czy da się całość dodać to css? Jeżeli nie, to jak mogę dodać kod html do container.tpl? Bo jeżeli teraz je dodaję to mam komunikat "404 Not Found"
» Quick.Cms v2.x 2010-07-19 11:41
Jak chcesz dodać jakieś obrazki do container.tpl to trzeba dodać $config[dir_templates] w twoim kodzie będzie to tak wyglądało: <div id="t1"><img src="$config[dir_templates]img/t1.png" alt="" /></div> <div id="t2"><img src="$config[dir_templates]img/t2.png" alt="" /></div> <div id="t3"><img src="$config[dir_templates]img/t3.png" alt="" /></div> <div id="t4"><img src="$config[dir_templates]img/t4.jpg" alt="" border="0" /></div> żeby obrazki się wyświetliły, przynajmniej tyle mi wiadomo :) No a CSS dodajesz do default.css
lordofhares.com