PDA

View Full Version : div not appearing


txdarby
05-18-2011, 07:01 AM
Please bear with me! I am trying to do a mock up as a volunteer for our local humane society. I uploaded what I have so far at:

http://hookedonpromos.com/hstgc/test2.html

If you look at the source code near the bottom you will see a div id called divider. - In the css it contains only an image - but it is not appearing on the page - any ideas???

Here is the css for it:

#divider
{
background-image: url(images/stripeh.jpg);
background-repeat: repeat-x;
float:left;
width:950px;
height:8px;
margin: 0 auto;
}

There is one more div below it and more above it - all within the main container div.

Any suggestions would be appreciated.

Also - please bear in mind it is a work in progress!!!! Thanks!

B

edbr
05-18-2011, 07:26 AM
i think its your image

The image “http://hookedonpromos.com/hstgc/images/stripeh.jpg” cannot be displayed because it contains errors.

txdarby
05-18-2011, 10:39 PM
Thank you - so strange. I resaved the file and it is fine now. But now there is a tiny space in between the repeating image to fill the background. Any ideas?

edbr
05-19-2011, 02:04 AM
sounds like a margin but i cant see what you mean

DWcourse
05-19-2011, 03:01 AM
your image has a 1pixel wide white strip on its right edge.

txdarby
05-20-2011, 01:57 AM
Thank you for noticing that. I missed it when I clipped the image in AI!

B