Wie kann ich den genauen ort eines bild bestimmen, also wenn ich sage x=10 y=300 , dass das bild dann in der links in der mitte ist. Es soll auf einen anderen bild drauf sein. Schonmal thx
Bilder x und y
-
-
Du musst in deinem <img>-Tag ein style-Attribut einbringen mit dem du eine absolute Positionierung angibst, in deinem Fall style="position: absolute; left: 10px; top: 300px" also:
<img style="position: absolute; left: 10px; top: 300px; width: [x]px; height: [y]px" src="bild.jpg alt="" />
([x]=Breits; [y]=Höhe, ist aber nicht zwingend anzugeben)
Wenn es über einem anderen Bild drüber sein soll muss das auch entsprechend absolut positioniert sein und im Quelltext vor dem oberen Bild sein.
Ein Bild an einem anderen ausrichten geht afaik nicht. -
noch ne kleine frage, wie mach ich , das das bild unterm text ist?
-
Teilen
- Facebook 0
- Twitter 0
- Google Plus 0
- Reddit 0