Jump to content

[SOLVED] CSS validator


busnut

Recommended Posts

G'day

I've used the CSS validator here http://www.cssportal.com/css-validator/validate.htm and have received this response:

223  Property align doesn't exist : center

yet I can't find where the issue could be?

I've looked at the 'index.php' and the other pages that are included, still no luck. Any ideas? And is such an error that important?

Link to comment
https://forums.phpfreaks.com/topic/158222-solved-css-validator/
Share on other sites

  Quote

I would think it would be line 223 of some page. The importance of it is up to you.

I eventually found it.

 

It wasn't actually on line 223 of any particular file, for some reason it just wanted to include itself there (don't know why).

 

It was actually the 'home' page that is included in the index page, and I had

<div style="border: 1px solid #FF0000; padding: 2px; margin: 5px; align: center;">

and it just didn't like that bit of 'align: center' in there. So out she's gone and now no errors :)

Link to comment
https://forums.phpfreaks.com/topic/158222-solved-css-validator/#findComment-834563
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.