A Conversation for Ask h2g2

My Home Page

Post 1

The Researcher formally known as Dr St Justin

I've found a picture that I want to put on my home page. But it comes up huge, filling much more space than I want it to. Does anyone know how I can change this? Please help, cos it looks pants at the moment! (See my home page if you don't believe me!)


My Home Page

Post 2

Adrian

When you say it is huge, I assume that you mean the size of the picture on the screen and not the size of the file. To cure this use this code instead of the one you are using at the moment :



where xx and yy are the width and height you want the image to be in pixels. BE CAREFUL though as if you use an odd size compared to the original image dimensions, the image will look distorted.

Hope this helps.


My Home Page

Post 3

The Researcher formally known as Dr St Justin

Cheers very much - now I just need to sort out the way that the text flows around the pic...


My Home Page

Post 4

Adrian

Within the tag, use the ALIGN= command.

Align=left puts the picture on the left margin.
Align=right puts the picture on the right margin.
Align=bottom puts the text at the bottom of the picture.
Align=top puts the text at the top of the picture.
Align=middle puts the text in the middle of the picture.

There are some other options, but they're not worth worrying about.

The best way to do the layout is using tables.


Key: Complain about this post