Archivlink: javarea.de Forum > (X)HTML & CSS (allgemein) > Bild mittig in html seite?
Vollständigen Link anzeigen: javarea.de Forum > (X)HTML & CSS (allgemein) > Bild mittig in html seite?

Pages: [1]

geschrieben von Cryptor am 10.07.2002 - 12:04
Hallo,

ich habe eine Webseite in der ein Bild mittig auf der Seite sein soll.
Und zwar so, das egal welche Auflösung der jenige hat der sie
aufruft, es in der Mitte der Seite bleibt.

Könnt ihr mir da helfen?

geschrieben von dreimueller am 10.07.2002 - 12:12
Hi,
hab was interresantes auf Selfhtml gefunden:
http://selfhtml.teamone.de/css/eige....ical_align

geschrieben von Daniel am 10.07.2002 - 12:18
Hi, mach so

HTML-Quelltext
1: 
2: 
3: 
4: 
5: 
6: 
7: 
8: 
9: 
<html>
<body>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center" valign="middle">DEIN BILD</td>
  </tr>
</table>
</body>
</html>

geschrieben von Cryptor am 10.07.2002 - 12:44
Kriege das nicht hin!

Sieht bislang wie folgt aus. Kann mir das jemand umschreiben? BITTE!!!!

Zitat
 
<base target="_self">
</HEAD>
<BODY bgColor=#082c42 link="#000000" vlink="#000000" alink="#000000" text="#000000" onLoad="mywindow=openIT('main_index.htm',650,400,null,null,'test');">
<DIV align=center>
<P>
<br>
<br>
<br>
<br>
<br>
<br>
<img border="0" src="logos/PT2.GIF" width="192" height="184"><br>
<b><font color="#808080" face="Verdana" style="font-size: 7pt">
<br>
&nbsp;</font><span id="postcolor7" style="font-size: 11px; line-height: 150%"><span id="signature7" style="font-size: 7pt; color: #808080"><font face="Verdana">|
</font></span></span></b>
<font color="#808080" face="Verdana" style="font-size: 7pt; font-weight: 700">
::: :: WORLDWIDEWEBDOTTESTDOTDE :: :::</font><b><font color="#808080" face="Verdana" style="font-size: 7pt">
</font><span id="postcolor8" style="font-size: 11px; line-height: 150%">
<span id="signature8" style="font-size: 7pt; color: #808080">
<font face="Verdana">| </font></span></span></b>
<font color="#808080" face="Verdana" style="font-size: 7pt; font-weight: 700">
::: :: VERSION 3.0 :: :::</font><b><font color="#808080" face="Verdana" style="font-size: 7pt">&nbsp;</font><span id="postcolor9" style="font-size: 11px; line-height: 150%"><span id="signature9" style="font-size: 7pt; color: #808080"><font face="Verdana">|</font></span></span><font color="#808080" face="Verdana" style="font-size: 7pt"><br>
</font><span id="postcolor" style="font-size: 11px; line-height: 150%"><span id="signature" style="font-size: 7pt; color: #808080"><font face="Verdana">|
</font></span></span></b>
<font color="#808080" face="Verdana" style="font-size: 7pt; font-weight: 700">
::: :: © 2000-2002 by www.WEBSEITE.DE :: :::</font><b><font color="#808080" face="Verdana" style="font-size: 7pt">&nbsp;</font><span id="postcolor2" style="font-size: 11px; line-height: 150%"><span id="signature2" style="font-size: 7pt; color: #808080"><font face="Verdana">|</font></span></span>
&nbsp;</span></span></font></DIV>
</b></BODY></HTML>

geschrieben von dreimueller am 10.07.2002 - 12:55
Hi,
hier so müsste es klappen:
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="middle"><img border="0" src="logos/PT2.GIF" width="192" height="184"><br></td>
</tr>
</table>

geschrieben von Patrick am 10.07.2002 - 12:55
Hallo Cryptor,

dass kannst du doch wohl selber

Helfe dir da mal kurz...

1. schreibe unter deinen Body den Quellcode vom Daniel...
2. Füge dass, was in der mitte der Seite stehen soll, zwischen den <td> und den </td ein...
3. Lösche den Rest....

dann sollte es eigentlich schon fertig sein...

MfG,

Patrick

geschrieben von Patrick am 10.07.2002 - 13:00
da ist schon wieder einer schneller gewesen als ich... ich fasse es nicht. muss einfach mal schneller tippen...

geschrieben von dreimueller am 10.07.2002 - 13:01
Hi,
tija Patrick musste wohl nochmal was üben! *gg*

geschrieben von Cryptor am 10.07.2002 - 13:10
Großes THANX an euch !!!


Hat geklappt


Powered by: JBB v.2.0.4 Copyright ©2000-2006, www.javarea.de.