Hej nu skriver jag åter igen här i hopp om svar på ett problem jag brottats med tills jag blivit smått galen!
Jag laddade upp 2 bilder den ena på hur det ser ut just nu och den andra på hur jag vill att det ska se ut.
här är även koden:
HTML
[kod]<body>
<table width="auto" height="auto;" style="margin:auto";>
<tr>
<td>
<a href="start/index.html">
<img src="img/1.jpg" width="700" height="525"/></td>
</a>
</tr>
</table>
<p class="copyright">
Copyright
</p>
</span>
<table>
<tr>
<td>
<span style ="position:absolute;left:0; bottom:0"><H3>
<br/>
Fashion / Beauty / About / Blog
</td></span></H3>
</tr>
</table>
</body>
[/kod]
CSS
[kod]body {
background-color: #fffdfc;
border-color: #FFF;}
img {
position: absolute;
top: 50%;
left: 50%;
width: 700px;
height: 525px;
margin-top: -390px; /* Half the height */
margin-left: -359px; /* Half the width */
border: 3px solid #FFF;}
.kategori{
float
eft;
bottom:0px;
position:absolute;}
.copyright{
float: right; }
[/kod]
Hjälp uppskattas
Jag laddade upp 2 bilder den ena på hur det ser ut just nu och den andra på hur jag vill att det ska se ut.
här är även koden:
HTML
[kod]<body>
<table width="auto" height="auto;" style="margin:auto";>
<tr>
<td>
<a href="start/index.html">
<img src="img/1.jpg" width="700" height="525"/></td>
</a>
</tr>
</table>
<p class="copyright">
Copyright
</p>
</span>
<table>
<tr>
<td>
<span style ="position:absolute;left:0; bottom:0"><H3>
<br/>
Fashion / Beauty / About / Blog
</td></span></H3>
</tr>
</table>
</body>
[/kod]
CSS
[kod]body {
background-color: #fffdfc;
border-color: #FFF;}
img {
position: absolute;
top: 50%;
left: 50%;
width: 700px;
height: 525px;
margin-top: -390px; /* Half the height */
margin-left: -359px; /* Half the width */
border: 3px solid #FFF;}
.kategori{
float
eft;bottom:0px;
position:absolute;}
.copyright{
float: right; }
[/kod]
Hjälp uppskattas
Comment