Hello,
I ran the css validator on your page, and its tossing errors on the
following -
div header {
<id="Borg; width: 400px; margin: 1% auto;">
}
div site_links {
<id="menu margin: 0 0 1% 0;">
}
div nav {
<id="menu_other margin: 5% 0 1% 0;">
}
And that is a very strange way of doing things that I've never seen
before. To declare an id one would normally use the method you have used
farther down in your css file as follows -
div#lus {
font-size: 0.6em;
}
This section creates an id of lus to be used with a div element. Here
are the error messages the validator tosses for you page -
6 div header Lexical error at line 5, column 2. Encountered:
"i" (105), after : "<" id="Borg; width: 400px; margin: 1% auto;"> }
10 div site_links Lexical error at line 9, column 2.
Encountered: "i" (105), after : "<" id="menu margin: 0 0 1% 0;"> }
14 div nav Lexical error at line 13, column 2. Encountered: "i"
(105), after : "<" id="menu_other margin: 5% 0 1% 0;"> }
URI : http://tracs.co.nz/marvin/
20 Parse Error text-align: center
I think if you convert the first three lines to standard css it will
help. In your html code, I see no refernce whatsoever to an id="Borg"
but you do reference an id="header" which isn't defined by your css
Make that first section above look like the following and I think it
will work -
div #header {
width: 400px
margin: 1%
}
Sorry, I'm not sure what you are trying to set to "auto" in that section
so I can't offer suggestions for that.
I also note you're using a hidden web bug div at the bottom of the
page... what's that about?
You can diagnose problems like this much easier if you get the Web
Developer add on for Firefox, it adds many tools to your toolbar that
let you inspect any element of your pages, and includes menu entries to
submit your page to the W3C css and html validators which I used on your
page to find the errors quickly.
Later, Ray Parrish
Marvin Hunkin wrote:
> Hi.
> Thanks to Mark Harris, he put my files up on his server.
> so, will post the url for feedback.
> the main problem, i have is the styles.css and the navlinks.css.
> so can people take a look, and show me how to fix some of the errors in the
> css sheets i have.
> and also general feedback, not so much on content, pretty happy with the
> content and the message.
> now, formatting, colours, background, etc.
> all comments, suggestions, and complaints are welcome.
> cheers Marvin.
>
> ps: so here's the url to the site.
>
> http://tracs.co.nz/marvin/
> E-mail: [log in to unmask]
> MSN: [log in to unmask]
> Skype: startrekcafe
> We Are The Borg! You Will Be Assimilated! Resistance Is Futile!
> Star Trek Voyager Episode 68 Scorpian Part One
>
> Do you want to signoff PCSOFT or just change to
> Digest mode - visit our web site:
> http://freepctech.com/pcsoft.shtml
>
>
--
http://www.rayslinks.com/ Web index of human reviewed links.
<http://www.rayslinks.com/Troubleshooting%20and%20fixing%20Windows.html>
Trouble shooting and Fixing Windows
http://www.writingsoftheschizophrenic.com My poetry in web pages
Do you want to signoff PCSOFT or just change to
Digest mode - visit our web site:
http://freepctech.com/pcsoft.shtml
|