Error in my css

SpaceshipSpaceship
SpaceshipSpaceship
SpaceshipSpaceship
Watch

liam_d

The original NP Emo KidEstablished Member
Impact
25
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Validate and clean up your xhtml first - there are some major problems with it. For starters, you have 2 different Doctype declarations in your code (and 2 <html> tags!).

Never try to validate CSS before you validate your (x)html.
 
0
•••
i only see one doctype and 1 html tag actually :S
 
0
•••
Around line 7 and 8 if you do a "view source" on your page ... the first one is xhtml strict, the second is xhtml transitional.
 
0
•••
thats very stange thanks for pointing out, hmmmm
right i have fixed that now!
 
Last edited:
0
•••
Now the validation results for your xhtml are more reliable ...

Move the stylesheet that's around line #93 in your source into the head section. You can't have a stylesheet in the body of the page. Give a type="text/css" while you're at it.
 
0
•••
enlytend said:
Now the validation results for your xhtml are more reliable ...

Move the stylesheet that's around line #93 in your source into the head section. You can't have a stylesheet in the body of the page. Give a type="text/css" while you're at it.

Your right totaly forgot about that, my advert code from adtoll that would be, have done that now, what else do you suggest?

Many thanks.
 
0
•••
AIVikingsAIVikings

We're social

Escrow.com
Spaceship
CryptoExchange.com
Domain Recover

NamePros updates

Portfolio sites: new ways to sort, filter and group your domains
Your public portfolio page has a few new tools for visitors. Portfolio: Newest first The sort menu now has "Newest first". It shows the...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back