Forum Moderators: not2easy

Message Too Old, No Replies

background image spans wider than screen

background image tiles across page

         

rosieq13

6:08 pm on Jan 26, 2004 (gmt 0)

10+ Year Member



I created a background image in Adobe Photoshop, and I call it in the body of html page (<BODY background="../background_jan15.gif"). When I display the page, the image tiles itself and expands wider than what I would like. Image size is 864 pixels wide and height is 586 pixels. The combined sizes of the tables on the page is 725. Any ideas what I may be doing wrong?

limbo

7:20 pm on Jan 26, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Rosieq13

Welcome to Webmasterworld :)

I if Understand you correctly. You have a page made up of tables set to 725 pixel width? And one background image at 864 X 586 pixels. What resolution are you viewing your page?

The image you describe would begin to repeat at high resolutions and would be cropped by the browser limits on lower resolutions.

If you are trying to resize the image so it fits you may want to try CSS.

Personally I wouldn't place a large image in you background unless you can ensure it has a low file size and that you can scale and control it's 'repeat' using CSS.

You could place the image in a table and call it in the background of the cell - you can then control the width and height of the cell to correspond with it.

Good to have you on board - enjoy your stay.

Ta

Limbo

rosieq13

8:01 pm on Jan 26, 2004 (gmt 0)

10+ Year Member



thank you for replying, Limbo. What you say is true about css; guess have to spend time learning it. in the meantime I found my problem, the first <td> was not closed and there was no table specified for the second <td> -- good to be on board.
rosieq13