SimonWray
10-12-2006, 07:03 AM
Hi
I have two CSS issues that I can't resolve as I can't see what is causing the problems. Help & advise much appreciated.
My site is here: http://www.simonwray.dsl.pipex.com/ and it's the index page I'm having a problem with when viewed in both FF & IE.
The CSS is here: http://www.simonwray.dsl.pipex.com/css/style.css.
The page is valid XHTML and the CSS is almost valid apart from a clientwidth expression (as an aside; anyone know how to get this to validate? "width: expression(this.clientWidth > 969? "569px": "auto");")
1. There is a 4px gap between the banner image and the navigation list. The nav is a suckerfish unordered list type and works fine. The image is a straightforward jpg. Neither should have any padding or margins, but I just can't workout what is causing the gap. I can close it by positioning the UL relatively and moving it's top -4px. This then causes issues with the list items in the suckerfish dropdown positioning if a user increases/decreases text size.
2. (Hopefully an easier one) Why is the 'Welcome!' text in line with the navbar? It's in a paragraph of it's own and I can't identify what is causing this flow.
Thanks
Simon
I have two CSS issues that I can't resolve as I can't see what is causing the problems. Help & advise much appreciated.
My site is here: http://www.simonwray.dsl.pipex.com/ and it's the index page I'm having a problem with when viewed in both FF & IE.
The CSS is here: http://www.simonwray.dsl.pipex.com/css/style.css.
The page is valid XHTML and the CSS is almost valid apart from a clientwidth expression (as an aside; anyone know how to get this to validate? "width: expression(this.clientWidth > 969? "569px": "auto");")
1. There is a 4px gap between the banner image and the navigation list. The nav is a suckerfish unordered list type and works fine. The image is a straightforward jpg. Neither should have any padding or margins, but I just can't workout what is causing the gap. I can close it by positioning the UL relatively and moving it's top -4px. This then causes issues with the list items in the suckerfish dropdown positioning if a user increases/decreases text size.
2. (Hopefully an easier one) Why is the 'Welcome!' text in line with the navbar? It's in a paragraph of it's own and I can't identify what is causing this flow.
Thanks
Simon