A slight html problem?

Zach Attebery

New member
im attempting to make a website - but im having a problem with my pictures/and links
heres my html -

<P align="right">
<a href="Hidden.html"> Content hidden
</p align>

<center>
<img src="Hidden" width=300 height=300">
</center>

I want my links on the side of the picture - which i can do , but the main problem is everytime i post a link to the side of the centered picture - the picture slides down which i don't like cause i want to keep my main picture centered and keep my links on the right.

any idea whats wrong?
Thanks in advance.
 
First you didn't close the <a> tag.
Second you CAN'T have two alignments in the same row it will just go to the next line or just use one of them don't ask me why.
The only thing you can do is center them both and the picture will slide down. Or try this:

Note: I know its not what your looking for but its close enough.

<table>
<tr>
<td>
<img stuff=..... /><br>
<a>link</a>
</td>
</tr>
</table>

It will do a nice image with a link below.
 
like this one below??

<html>
<div>
<div style="float: right;">
<P>
<a href="Hidden.html"> Content hidden
</p align>
</div>
<div align="center">

<img src="1808.jpg" width=300 height=300">

</div>
</div>
</html>

EDIT:
I removed the <center></center> tag because it's deprecated
 
Back
Top