Ezilon.com - Target Your Audience, be Seen in Your Region

INSERT gif IN CSS

You are viewing this site as a guest. Join our community to get your questions answered and share knowledge. Active members may advertise and ask for a website critique.

He has: 13 posts

Joined: Sep 2006

I have just discovered the joys of coding with CSS and abandoned Dreamweaver - But.......

How do i insert an image into the body which move and stays in the same position if the screen is changed.

In Dreamweaver i just added a layer etc but now with using liquid layouts i cannot get the image to display let alone move relative to the rest of the web page.

I need the image to be in the top left of the body but without moving the rest of the content down !!

I have used {clear: both} and i dont get an image but the content move down.

Hope someone can help - or point me in the direction of a good tutorial on inserting images in CSS which cater for resizing etc.

Any help greatly appreciated.

sitesupport's picture

He has: 193 posts

Joined: Jun 2007

have you tried
background: url(img.gif) top left no-repeat;

He has: 340 posts

Joined: May 2007

Or give the image a negative margin-bottom, at least as large as the image height (or even much bigger if it's floated, to create a "removed float".)

Cordially, David
--
"Old web developers don't die, they degrade gracefully..."