PDA

View Full Version : css error in ie6 win


jonsaul
08-22-2006, 09:06 AM
Hi,

A site I am am working on has a css error on two of the four pages, I cant find what it is, does anyone have any idea?, Its prob something simple as Im not exactly an advanced css developer.

anyways check the link...

www.waringcollins.com/root/home.html

css file attached.

Creative Insanity
08-22-2006, 09:21 AM
Not a div person myself but in your footer have you tried 100% rather than 600px?

jonsaul
08-22-2006, 09:49 AM
Hi, I tried the 100% width thing doesnt seem to have sorted it.

I just prefer to use a div and add the header/footer as a bg so that they can't be dragged/copied out, just seems neater to me.

would you just dropp them in an img tag ??

have you seen how it only errors on every other page ? whats that about ?

domedia
08-22-2006, 01:03 PM
In your CSS file:
Line 50: height: 21 px; <- there should be no space between value and 'px'
Line 51: width: 111 px; <- same thing

Very nice code & design

Creative Insanity
08-22-2006, 08:13 PM
Yes.. dom is correct, that could very well be your problem.
#process{
background:url('images/process.jpg') 0 0 no-repeat;
text-indent:-9999px;
height: 21 px; <-=
width: 111 px; <-=
margin-bottom: 20px;
}

jonsaul
08-23-2006, 09:18 AM
The problem is now sorted, thanks for the help all.

Creative Insanity
08-23-2006, 06:14 PM
Ok well what was the problem then?

jonsaul
08-24-2006, 08:08 AM
Im no too sure still really, thats why I didnt post it, all I did was remove an image of from the bg of a div and just place it inside an <img/>, put the problem was still there, I cleaned the css up like domedia suggested and also just re-wrote (exactly the same) some mark-up, now its gone, but I still dont know what was causing it, sorry......

I know thats not really forum etiquette !!

Maybe next time I can post the solution