Arată versiune īntreagă : ajutor html
MaDaLyN17
16.11.2009, 16:16
Salut, icerc sa creez un template in HTML si ma confrunt cu urmatoarea problema!
madalyn17.net46.net/template/
Observati imaginea cu planeta, cum as putea sa o urc sus, sa stea lipita de browser... observati ca are un spatiu de 3-4px
Cum as putea face asta?
Website Under Review
You see this page, because the system administrator of 000webhost.com is currently checking this website for malicious content. This redirect will be removed once we will finish manually checking all files on this account. As far we check over 100 websites, it can take about 2-4 hours to complete. If you are the owner of this website, you will get email confirmation once it's done. If you are a visitor - please come back later.
www.000webhost.com is a free web hosting provider and all free hosting providers suffer from abusers. Around 5% of users signup here just to start hacking or phishing website or make other damage. So, in order to survive, we must monitor what our users are hosting.
We are sorry for any inconveniences, but checking all content manually, it is the only way to provide you with the most secure and reliable service. If you have found any illegal website on our network, you can report it here.
Nu observ nimic :D.
Poti posta codul din index.html ?
MaDaLyN17
16.11.2009, 16:45
stai ca nici mie nu`mi mai merge :|
ma rog... deci nu e mare chestie ceea ce am facut pana acuma!
<body background="img/background.jpg">
<center><img src="img/planet.jpg" align="bottom"></center>
un background si o imagine.. dar ceea ce vreau eu este sa urc acea imagine mai sus... poti copia codul intr`un fisier .html sa vezi :)
E cam 'grele' asa daca nu stii CSS .. Era foarte usor daca te foloseai de un CSS extern .. Asa nu stiu :D .. Poate bagata intr-un tabel ... Ii las pe altii.
MaDaLyN17
16.11.2009, 16:53
pot face si CSS "care este el extern"
dar credeam ca pot face si asa!
stiu si CSS dar nu prea mult!
oricum, daca stii in CSS imi poti zice si in CSS :)
<div id="x">
<img src="img/planet.jpg" />
</div>
-- in site --
#x {
padding-bottom:4px;
}
-- in css --
4 il inlocuiesti cu valoarea care trebuie.
MaDaLyN17
16.11.2009, 17:35
nu are nici un efect !
XtrimVerSuS
16.11.2009, 18:30
Daca am inteles eu bine, vrei ca imaginea cu planeta sa fie lipita de meniul browserului. Daca asta vrei, uite aici metdele:
in css:
body {
padding: 0px;
margin: 0px;
}
in html
<body margin="0" padding="0">
Cel putin asa tin eu minte ca se face in html. In css sunt sigur ca asa se face.
MaDaLyN17
16.11.2009, 19:15
a mers.
Mersi mult XtrimVerSuS
XtrimVerSuS
16.11.2009, 19:23
Cu placere. Care dintre ele ai folosit-o?
MaDaLyN17
16.11.2009, 20:38
aia pentru CSS, ca HTML nu mergea!
dar am adaugat intre <style> si </style> :)
Powered by vBulletin® Version 4.1.12 Copyright © 2012 vBulletin Solutions, Inc. Toate drepturile rezervate.
Traducere vBulletin® īn Romānă roStyles Design LLC