[css-d] validation error on closing /head tag
I'm getting an error upon validating this page. It says end tag for head is not closed. Since I do have a /head tag it is something else probably with the meta tag but I'm not clear on what it is. Thanks !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd; html xmlns=http://www.w3.org/1999/xhtml; head meta http-equiv=content-type content=text/html;charset=utf-8 / style type=text/css #table1 { height:100%; } /style /head body table id=table1 tr td colspan=2 div class=header Header /div /td /tr tr td div class=navigation Navigation /div /td td div class=content Content /div /td /tr tr td colspan=2 style=vertical-align: bottom div class=footer Footer /div !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd; html xmlns=http://www.w3.org/1999/xhtml; head meta http-equiv=content-type content=text/html;charset=utf-8 / style type=text/css #table1 { height:100%; } /style /head body table id=table1 tr td colspan=2 div class=header Header /div /td /tr tr td div class=navigation Navigation /div /td td div class=content Content /div /td /tr tr td colspan=2 style=vertical-align: bottom div class=footer Footer /div /td /tr /table /body /html /td /tr /table /body /html __ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] validation error on closing /head tag
On 05/30/2011 05:01 PM, Janis Rough wrote: I'm getting an error upon validating this page. It says end tag for head is not closed. Since I do have a/head tag it is something else probably with the meta tag but I'm not clear on what it is. Thanks !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd; html xmlns=http://www.w3.org/1999/xhtml; head meta http-equiv=content-type content=text/html;charset=utf-8 / style type=text/css #table1 { height:100%; } /style /head body table id=table1 tr td colspan=2 div class=header Header /div /td /tr tr td div class=navigation Navigation /div /td td div class=content Content /div /td /tr tr td colspan=2 style=vertical-align: bottom div class=footer Footer /div !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd; html xmlns=http://www.w3.org/1999/xhtml; head meta http-equiv=content-type content=text/html;charset=utf-8 / style type=text/css #table1 { height:100%; } /style /head body table id=table1 tr td colspan=2 div class=header Header /div /td /tr tr td div class=navigation Navigation /div /td td div class=content Content /div /td /tr tr td colspan=2 style=vertical-align: bottom div class=footer Footer /div /td /tr /table /body /html /td /tr /table /body /html __ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ Well, that is the problem. Since you have head you have to close it with /head -- Registered Linux User: #480675 Registered Linux Machine: #408606 Linux since June 2005 __ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] validation error on closing /head tag
On May 31, 2011, at 7:01 AM, Janis Rough wrote: 'm getting an error upon validating this page. It says end tag for head is not closed. Since I do have a /head tag it is something else probably with the meta tag but I'm not clear on what it is. Not really a css issue, but since you asked… You are missing title/title element in the head of your document. It is a required element for the given DocType (XHTML transitional). Philippe -- Philippe Wittenbergh http://l-c-n.com/ __ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] validation with no warnings
Hi, I am pleased that I managed to get this site done without asking the list for help! I did however post about doctype at the start and still didn't find the right answer. http://wch.redrunner.co.uk/ The index page just has one warning, the others have 3. I don't really get HTML and CSS briefs anymore (Drupal, Joomla) but if I do this is how I code. I'd love it if someone could tell me what doctype and UTF setting suits my style so that I can just strike that from my list. Link to an example or cut and paste the code into here would be great. Thanks, Chris __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] validation with no warnings
--- On Mon, 4/12/10, Chris Blake ch...@3pointdesign.com wrote: http://wch.redrunner.co.uk/ The index page just has one warning, the others have 3. I'd love it if someone could tell me what doctype and UTF setting suits my style so that I can just strike that from my list. Hi Chris, Your home page only has a single warning, which relates to the line-break in your doctype declaration. Instead of: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/TR/ html4/strict.dtd write: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/TR/html4/strict.dtd; or: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/TR/html4/strict.dtd; Your other pages are simply missing a content-type declaration; why not use the same one as your home page: meta http-equiv=Content-Type content=text/html; charset=UTF-8 FWIW, I use HTML4/strict (because I see no point in using XHTML since it's not supported properly by IE, but I still want everything to be as strictly defined as possible) and UTF-8 (for non-ASCII support, although I normally use character entities anyway). - Bobby __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] validation with no warnings
http://wch.redrunner.co.uk/ The index page just has one warning, the others have 3. I'd love it if someone could tell me what doctype and UTF setting suits my style so that I can just strike that from my list. Hi Chris, Your home page only has a single warning, which relates to the line- break in your doctype declaration. Instead of: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/TR/ html4/strict.dtd write: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/TR/html4/strict.dtd or: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/TR/html4/strict.dtd; Your other pages are simply missing a content-type declaration; why not use the same one as your home page: meta http-equiv=Content-Type content=text/html; charset=UTF-8 FWIW, I use HTML4/strict (because I see no point in using XHTML since it's not supported properly by IE, but I still want everything to be as strictly defined as possible) and UTF-8 (for non-ASCII support, although I normally use character entities anyway). - Bobby Hi, OK thanks, I have changed all the pages now, but it seems as though I have to go through and change all the apostrophes, copyright symbols to HTML in order to pass. Home page has no warnings!! Excellent, thanks! Cheers, CB __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] validation with no warnings SOLVED
Hi, Thanks to everyone that replied. I have no figured out that HTML4/ Strict works for me and UTF8 is good too. I also learnt to change the preferences in my editor so that 'default file encodings' was 'Unicode UTF8' rather than automatic, which means that I do not need to use odd HTML characters for things like apostrophes (the keyboard one works just fine). Excellent news, I am so happy and feel that I understand it a bit better now. Cheers again, CB On 12/04/2010, at 11:22 PM, Chris Blake wrote: http://wch.redrunner.co.uk/ The index page just has one warning, the others have 3. I'd love it if someone could tell me what doctype and UTF setting suits my style so that I can just strike that from my list. Hi Chris, Your home page only has a single warning, which relates to the line- break in your doctype declaration. Instead of: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/TR/ html4/strict.dtd write: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/TR/html4/strict.dtd or: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/TR/html4/strict.dtd; Your other pages are simply missing a content-type declaration; why not use the same one as your home page: meta http-equiv=Content-Type content=text/html; charset=UTF-8 FWIW, I use HTML4/strict (because I see no point in using XHTML since it's not supported properly by IE, but I still want everything to be as strictly defined as possible) and UTF-8 (for non-ASCII support, although I normally use character entities anyway). - Bobby Hi, OK thanks, I have changed all the pages now, but it seems as though I have to go through and change all the apostrophes, copyright symbols to HTML in order to pass. Home page has no warnings!! Excellent, thanks! Cheers, CB __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] Validation Warning: Byte-Order Mark found in UTF-8 File?
Hello, I think this might be a little off topic but it's related to validating CSS. As of late, my documents have been validating but I get this warning: Byte-Order Mark found in UTF-8 File - I'm clueless as to what this really means. Can someone please elaborate? I think the default settings in the latest version of Dreamweaver automatically set the meta content type to: meta http-equiv=Content-Type content=text/html; charset=utf-8 / where as before it used to be set to: meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 / TIA, Elli __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Validation Warning: Byte-Order Mark found in UTF-8 File?
I don't know *exactly* what it means, but I know that you have to have a really good text editor to see it, because usually it won't show up. It appears *before* even the doctype in the head of your document. It'll be the very first thing you see. I can't tell you what kind of text editor to use so that you *can* see it, but I know Dreamweaver and Notepad won't render it visible. Once you find one that'll display it, you can delete it. ~Shelly __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Validation Warning: Byte-Order Mark found in UTF-8 File?
* Elli Vizcaino wrote: I think this might be a little off topic but it's related to validating CSS. As of late, my documents have been validating but I get this warning: Byte-Order Mark found in UTF-8 File - I'm clueless as to what this really means. Can someone please elaborate? See e.g. http://en.wikipedia.org/wiki/Byte-order_mark. Simply put it is an invisible character at the very beginning of the document that indicates the Unicode transformation format used to encode the document, UTF-8 in your case. It helps applications to correctly detect how to turn the bytes that make up the document into characters. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Validation Warning: Byte-Order Mark found in UTF-8 File?
I think this might be a little off topic but it's related to validating CSS. As of late, my documents have been validating but I get this warning: Byte-Order Mark found in UTF-8 File - I'm clueless as to what this really means. Can someone please elaborate? I had this problem when I started out coding with Notepad. For some reason, Notepad adds this to your text file and you have no choice about it. I started using Notepad2 (http://www.flos-freeware.ch/notepad2.html), which provides the option of not including the byte-order mark. I use the encoding option UTF-8. The encoding option UTF-8 with Signature will add the byte-order mark. I'm not sure how Dreamweaver handles it though. -Melbeach __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Validation Warning: Byte-Order Mark found in UTF-8 File?
Elli Vizcaino wrote: Hello, I think this might be a little off topic but it's related to validating CSS. As of late, my documents have been validating but I get this warning: Byte-Order Mark found in UTF-8 File - I'm clueless as to what this really means. Can someone please elaborate? I think the default settings in the latest version of Dreamweaver automatically set the meta content type to: meta http-equiv=Content-Type content=text/html; charset=utf-8 / where as before it used to be set to: meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 / TIA, Elli It is an invisible character. Not needed for utf-8. The editor has to be configured not add this to your stylehseet(s), or any other html/js/php document. I don't use Dreamweaver, so can't give any specific advice regarding it. -- http://chelseacreekstudio.com/ __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Validation Warning: Byte-Order Mark found in UTF-8 File?
On 13/06/2008, Melbeach [EMAIL PROTECTED] wrote: I think this might be a little off topic but it's related to validating CSS. As of late, my documents have been validating but I get this warning: Byte-Order Mark found in UTF-8 File - I'm clueless as to what this really means. Can someone please elaborate? It means the first 24 bits of the file contain the UTF-16 byte order mark, converted into three UTF-8 code units per the normal Unicode code point -- UFT-8 code unit conversion. (Sometimes it's called the UTF-8 magic cookie.) It's not needed. the only reason Windows needs it is to tell the normal ANSI mode code pages, which are also 8-bit and contain no magic cookie, apart from UTF-8 documents. Most intelligent text editors have other ways of differentiating these, or simply always assume UTF-8 for 8-bit text. I had this problem when I started out coding with Notepad. For some reason, Notepad adds this to your text file and you have no choice about it. I started using Notepad2 (http://www.flos-freeware.ch/notepad2.html), which provides the option of not including the byte-order mark. I use the encoding option UTF-8. The encoding option UTF-8 with Signature will add the byte-order mark. I'm not sure how Dreamweaver handles it though. Last time I used Dreamweaver it was still a Macromedia product, so I can't help with that. But I know most good editors have a show-non-printable-characters option. Try enabling it in a good text editor. The good editors that don't have such probably have some other way of manually telling it which encoding to assume for reading 8-bit data, and a similar choice of which encoding to use when saving the document. I know SciTE handles UTF-8 with or without cookies as well as ANSI encoding perfectly fine, so that's an option of editor if you want to get rid of it. -- David liorean Andersson __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Validation Warning: Byte-Order Mark found in UTF-8 File?
Elli Vizcaino wrote: I think this might be a little off topic but it's related to validating CSS. It is off-topic, since it relates to validating markup (XHTML in your case), not CSS validation. As of late, my documents have been validating but I get this warning: Byte-Order Mark found in UTF-8 File - I'm clueless as to what this really means. Can someone please elaborate? The W3C Markup Validator says (when issuing an error message like that): The Unicode Byte-Order Mark (BOM) in UTF-8 encoded files is known to cause problems for some text editors and older browsers. You may want to consider avoiding its use until it is better supported. That's more or less all you need to know about it. But if you must know more, check the Unicode BOM FAQ: http://unicode.org/faq/utf_bom.html#BOM ObCSS: The BOM is best avoided in CSS files as well. The BOM is useful only when the encoding is UTF-16 or UTF-32. Neither of them is useful in web authoring, since browser support is much more limited than support to UTF-8. In UTF-8, the BOM has no role since there is no byte order issue. I think the default settings in the latest version of Dreamweaver automatically set the meta content type to: meta http-equiv=Content-Type content=text/html; charset=utf-8 / That alone does not raise the issue. But if it saves data so that a file starts with the BOM, then the problem has been created, quite pointlessly. Jukka K. Korpela (Yucca) http://www.cs.tut.fi/~jkorpela/ __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Validation Warning: Byte-Order Mark found in UTF-8 File?
With UTF-8 a byte-order mark is not necessary. However, Dreamweaver CS3 allows you to include one in your files. Check your PREFERENCES - NEW DOCUMENT settings and DESELECT the Include Unicode Signature (BOM) option. It is only required with UTF-16 and UTF-32. Now, as far as the files you have that already have it in them, you will want to use a GREP program to strip them out, or manually open them as binary files in a a program such as TextPad, MultiEdit, etc., that will allow you to see the hidden characters at the beginning of the text. ...Rob __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Validation Warning: Byte-Order Mark found in UTF-8 File?
Thank you all for your input. I must admit the info provided on UTF-8 is still way over my head but I did manage to figure out how to change the settings in dreamweaver so the meta content type in newly created documents is now automatically set to: meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 / Thanks again everyone! Elli --- On Fri, 6/13/08, Elli Vizcaino [EMAIL PROTECTED] wrote: From: Elli Vizcaino [EMAIL PROTECTED] Subject: [css-d] Validation Warning: Byte-Order Mark found in UTF-8 File? To: CSS Discuss css-d@lists.css-discuss.org Date: Friday, June 13, 2008, 11:38 AM Hello, I think this might be a little off topic but it's related to validating CSS. As of late, my documents have been validating but I get this warning: Byte-Order Mark found in UTF-8 File - I'm clueless as to what this really means. Can someone please elaborate? I think the default settings in the latest version of Dreamweaver automatically set the meta content type to: meta http-equiv=Content-Type content=text/html; charset=utf-8 / where as before it used to be set to: meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 / TIA, Elli __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Validation Warning: Byte-Order Mark found in UTF-8 File?
Rob Emenecker wrote: With UTF-8 a byte-order mark is not necessary. However, Dreamweaver CS3 allows you to include one in your files. Check your PREFERENCES - NEW DOCUMENT settings and DESELECT the Include Unicode Signature (BOM) option. It is only required with UTF-16 and UTF-32. Now, as far as the files you have that already have it in them, you will want to use a GREP program to strip them out, or manually open them as binary files in a a program such as TextPad, MultiEdit, etc., that will allow you to see the hidden characters at the beginning of the text. ...Rob Hi Elli (et al): This page will tell you how to modify all future documents to eliminate the BOM AND how to modify it for a specific (presumably preexisting) page: http://www.adobe.com/support/documentation/en/dreamweaver/mx2004/dwusing_errata/dwusing_errata2.html Hope it helps. ~Bill PS: Long time no chat--how's things? __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Validation Warning: Byte-Order Mark found in UTF-8 File?
Elli Vizcaino wrote: Hello, I think this might be a little off topic but it's related to validating CSS. As of late, my documents have been validating but I get this warning: Byte-Order Mark found in UTF-8 File - I'm clueless as to what this really means. Can someone please elaborate? I think the default settings in the latest version of Dreamweaver automatically set the meta content type to: meta http-equiv=Content-Type content=text/html; charset=utf-8 / where as before it used to be set to: meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 / TIA, Elli Hi Elli, There are actually easy rules to follow, when it comes to file encoding. If the the file itself is in UTF-8 format, than add meta http-equiv=Content-Type content=text/html; charset=utf-8 / since then all the characters in the file will be UTF-8 and to get a correct rendering(!) of letters and validation you have set the correct content type for your document. This is especially important with all sorts of European languages, since an Ä or ä has a totally differnt encoding in UTF-8 than ISO-8859-1. Would the document itself be in UTF-8, but the Meta-Tag Content-Type in ISO-8859-1, than those letters would look weird and garbled. So that is why you get the validation warning, so that you can always ensure to have the correct file encoding with the correct Meta-Tag Content-Type! regards, Jens __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] validation question
tedd wrote: I've learned something new every day of my life, and I'm getting damned tried [ err ... tired ] of it. :-) Living, or learning..? ;-) CSS provides so much fun! I want more... http://www.w3.org/Style/CSS/Planet/ regards Georg -- http://www.gunlaug.no __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] validation question
tedd [EMAIL PROTECTED] I've learned something new every day of my life, and I'm getting damned tried of it. :-) Cheers, tedd -- You shouldn't be. When you stop learning, you're dead, whether you realize it or not! Bruce __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] validation question
At 8:14 PM +0100 11/21/07, Jens Brueckmann wrote: thin is not an attribute for border Quite right, is is an allowed value for the border-width property, see: http://www.w3.org/TR/CSS2/box.html#value-def-border-width Cheers, jens jens: I didn't realize that -- thanks. I've learned something new every day of my life, and I'm getting damned tried of it. :-) Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] validation question
At 7:45 PM -0800 11/18/07, jaklitsch maya wrote: What am I doing wrong? thin is not an attribute for border -- check this out: http://www.tizag.com/cssT/border.php Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] validation question
I just tried to validate a recent style sheet and was given 4 errors. I thought the shorthand for border is border: size style color; if you want to style all four sides. It did not like the border styling in these four entries: img a:link a:visited{ padding:.15em; border:1px thin #f7e0d5; }Value Error : border thin is not a color value : 1px thin #f7e0d5 img a:hover{ padding:1px; border-bottom:2px thin #f8d4c3; }border-bottom thin is not a color value : 2px thin #f8d4c3 #nav img a:link a:visited{ margin:0; padding:0; border:1px thin #f7e0d5; }border thin is not a color value : 1px thin #f7e0d5 #nav img a:hover{ margin:0; padding:0; border-bottom:1px thin #e8a382; } border-bottom thin is not a color value : 1px thin #e8a382 What am I doing wrong? I am using html 4.01 strict. Thanks Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] validation question
jaklitsch maya wrote: I just tried to validate a recent style sheet and was given 4 errors. I thought the shorthand for border is border: size style color; Yes, in any order. However this... border:1px thin #f7e0d5; ...contains two width-values - '1px' and 'thin', and a color-value. No style-value present, so it is not a valid shorthand. I think what you want is 'border: 1px solid #f7e0d5;', which contains 'width', 'style' and 'color'. See: http://www.w3.org/TR/CSS21/box.html#border-properties regards Georg -- http://www.gunlaug.no __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] Validation confusion
Hi all; I have a site-in-progress that has just two working pages right now; according to the FF web developer toolbar's 'Display page validation' feature the CSS validates, but if I click to jump to the validator itself it throws up the following error : Lexical error at line 488, column 2. Encountered: h (104), after : Seaching for a symbol in my various style sheets has turned up nothing (searching for 'h' of course turned up plenty, but nothing that seemed like an error) so I can't work out where this error is coming from. Is it a glitch in the validator? Is it a serious problem in my css? Can I ignore it? Or is it simply due to the fact that the page contains PHP code? The error appear on both pages: http://sandbox.sharkattack.co.uk/novaRebuild/index.php http://sandbox.sharkattack.co.uk/novaRebuild/development.php Any help would be much appreciated, as always. Thanks; -- Rick Lecoat __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Validation confusion
Hi Rick, according to the FF web developer toolbar's 'Display page validation' feature the CSS validates, but if I click to jump to the validator itself it throws up the following error : Lexical error at line 488, column 2. Encountered: h (104), after : The error appear on both pages: http://sandbox.sharkattack.co.uk/novaRebuild/index.php http://sandbox.sharkattack.co.uk/novaRebuild/development.php I believe the error is caused by your printing Style sheet - it actually cannot be found, the referenced file returns a 404 error: http://sandbox.sharkattack.co.uk/novaRebuild/css/print.css Cheers, jens -- Jens Brueckmann http://www.yalf.de __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Validation confusion
On 31/10/07 (11:49) Jens said: I believe the error is caused by your printing Style sheet - it actually cannot be found, the referenced file returns a 404 error A-ha! Thanks Jens; in that case I won't worry about it (the print stylesheet is currently empty as I haven't done that bit yet) but it's a good reminder to upload the empty stylesheet to avoid the 404. Now that's resolved I'm getting a new weirdness: Validating the page(s) directly at http://jigsaw.w3.org/css-validator/ gives me a clean bill of health, but doing so by clicking the CSS:valid button in the FF web developer toolbar gives the following from the referenced page: 1File not foundimport file://localhost/MeyerReset.css: Operation not permitted 2 File not foundimport file://localhost/templateStyle.css: Operation not permitted 3 File not foundimport file://localhost/typeStyle.css: Operation not permitted Is this a known issue with the WDT or am I doing something wrong? (Apologies if this last bit has strayed OT slightly). Oh, the page being checked is online, not local, if that helps. thanks again; -- Rick Lecoat __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Validation confusion
1File not foundimport file://localhost/MeyerReset.css: Operation not permitted Is this a known issue with the WDT or am I doing something wrong? (Apologies if this last bit has strayed OT slightly). Oh, the page being checked is online, not local, if that helps. Rick, are you sure, you checked the page online, because the error states it cannot retrieve a local file: file://localhost/MeyerReset.css This is a known issue with the CSS validator, see: http://lists.w3.org/Archives/Public/www-validator-css/2007Oct/0027.html Cheers, jens -- Jens Brueckmann http://www.yalf.de __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Validation confusion
On 31/10/07 (12:47) Jens said: Rick, are you sure, you checked the page online, because the error states it cannot retrieve a local file: file://localhost/MeyerReset.css Hi Jens; It's definitely something with the way the FF Web Developer Toolbar (hereafter WDT) works. If I select (from the WDT) Tools Validate CSS, it validates fine. However, if I activate the WDT's 'Show page validation' (also under 'Tools') then click on the green button with the checkmark that says CSS: valid, it chokes -- apparently looking for a local file. Same page. And this is now probably straying too far OT so I should draw a line under it, but I thought others might be interested to hear about this idiosyncrasy. Cheers; -- Rick Lecoat __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Validation confusion
It's definitely something with the way the FF Web Developer Toolbar (hereafter WDT) works. If I select (from the WDT) Tools Validate CSS, it validates fine. However, if I activate the WDT's 'Show page validation' (also under 'Tools') then click on the green button with the checkmark that says CSS: valid, it chokes -- apparently looking for a local file. Exactly, the cached pages are submitted to the validator, resulting in failed validation attempts when trying to import the local (cached) Style sheets, which is the same case as Olivier Thereaux and Jens Meiert discussed on www-validator-css. Why the WDT submits the cached pages instead of referencing the online pages I do not know. However, apparently the validator team are working on the validator's issue with local imports. Cheers, jens -- Jens Brueckmann http://www.yalf.de __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Validation confusion
On 31/10/07 (13:56) Jens said: Exactly, the cached pages are submitted to the validator, resulting in failed validation attempts when trying to import the local (cached) Style sheets, which is the same case as Olivier Thereaux and Jens Meiert discussed on www-validator-css. Why the WDT submits the cached pages instead of referencing the online pages I do not know. However, apparently the validator team are working on the validator's issue with local imports. Thanks for the clarity Jens. Why the WDT uses two different methods to send data to the validator I don't know. From now on I'll make sure I use WDT Tools Validate CSS for that task, rather than clicking the 'CSS:valid' checkmark. Best regards; -- Rick Lecoat __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Validation problems
On 06/10/2007, Tim Offenstein [EMAIL PROTECTED] wrote: I am reviewing a page for a client (www.physics.uiuc.edu) that uses a hover class and some events. On lines 178, 194, and 202 in the HTML a call for onmouseover, onfocus, onmouseout, and onblur events occurs. You're trying to apply onblur and onfocus to a div. Since divs in HTML 4 (or any other markup language standard) cannot hold the focus, these events can never fire, so the attributes are not in the list of allowed attributes for the div element. -- David Dorward http://dorward.me.ukhttp://blog.dorward.me.uk __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] Validation problems
I am reviewing a page for a client (www.physics.uiuc.edu) that uses a hover class and some events. On lines 178, 194, and 202 in the HTML a call for onmouseover, onfocus, onmouseout, and onblur events occurs. TIDY and W3C are both flagging this as use of proprietary code but I think that's because javascript isn't being called for properly. Is this correct or is there another issue? I do not have access to the code to revise it but I would at least like to explain the problem to the site owners. Thanks for your input. -Tim -- ** Tim Offenstein - Web Specialist - CITES - ALS - 244-2700 * IGPA - 244-1398 ** A cheerful heart is a good medicine Proverbs 17:22 NRSV __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] Validation Failure
My apologies that this is not strictly a CSS question, but perhaps someone can either help or give me a link. I have got some JavaScript in the head of a page that is not validating. I do not see validating my page as the most important thing in the world, but if possible, I would like to fix it. Line 18, Column 28: element lis.length undefined . is the result of the line: for (var i=0; ilis.length; i++) { I have got the proper script tags surrounding the JavaScript, so I'm not sure why it thinks that it is looking at HTML. Any help or pointers in the right direction would be appreciated. Cheers - george - Eclectic Mix: http://EclecticMix.com One Minute How-To: http://OneMinuteHowTo.com DRiP Investing: http://DRiPInvesting.org Handmade Photographic Images: http://www.GLSmyth.com - Blog: GLSmyth.Wordpress.com __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Validation Failure
George L Smyth Wrote: I have got the proper script tags surrounding the JavaScript, Hello, Is this how your doing it? script type=text/javascript //![CDATA[script here//]] /script If not change it and see what happens. Kind Regards GM) __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Validation Failure
--- [EMAIL PROTECTED] wrote: George L Smyth Wrote: I have got the proper script tags surrounding the JavaScript, Hello, Is this how your doing it? script type=text/javascript //![CDATA[script here//]] /script If not change it and see what happens. Kind Regards GM) __ Cut and paste the js to a new js file and call it on your (x)html page like so: script type=text/JavaScriptsrc=yourfile.js/script yourfile.js example code: // set the path to the qForms directory qFormAPI.setLibraryPath(../../lib/); // this loads all the default libraries qFormAPI.include(*); //-- Got a little couch potato? Check out fun summer activities for kids. http://search.yahoo.com/search?fr=oni_on_mailp=summer+activities+for+kidscs=bz __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] VALIDATION PROBLEMS
Hello When validating (by local file upload) just my CSS stylesheet I receive no errors. When I try and validate the page containing the CSS I receive the following message :- Lexical error at line 1, column 3. Encountered: D (68), after : ! and no style sheet found I am a complete newbie, using GoLive and not on-line yet, and I can't get past this problem (have lost about three days of my life !). It seems that the CSS itself is ok but it's as if something can't get past the beginning of my html document to check the css in the page. Please, if anyone could help me, it will be very greatly appreciated ! JaneJ ___ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/ __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] VALIDATION PROBLEMS
Hi Jane, Could you post or paste the code somewhere for people to look at? I have found that those kind of errors have to do with either a doctype problem or some kind of JavaScript error. If you send the code, I am sure you will get more help. HTH, Riva jane jordan wrote: Hello When validating (by local file upload) just my CSS stylesheet I receive no errors. When I try and validate the page containing the CSS I receive the following message :- Lexical error at line 1, column 3. Encountered: D (68), after : ! and no style sheet found I am a complete newbie, using GoLive and not on-line yet, and I can't get past this problem (have lost about three days of my life !). It seems that the CSS itself is ok but it's as if something can't get past the beginning of my html document to check the css in the page. Please, if anyone could help me, it will be very greatly appreciated ! JaneJ __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] VALIDATION PROBLEMS
jane jordan wrote: When I try and validate the page containing the CSS I receive the following message :- Lexical error at line 1, column 3. Encountered: D (68), after : ! and no style sheet found You will get that message if you upload an HTML file to the CSS validator. The D is the first letter in !DOCTYPE ... Note the text that says that the CSS validator takes _CSS files only_ when using File Upload, which means it can't separate HTML from CSS. Validate your HTML by uploading it to the HTML validator... http://validator.w3.org/ regards Georg -- http://www.gunlaug.no __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] validation errors
Hi all OK, I'm working at restructuring my site. However I don't understand some of the validation errors The index page is the only one that is sort of fixed. www.hotniniz.com What does this mean? What do I need to change? Thanks Terri * Line 24, character 15: body bgcolor=#c2 ^ Error: there is no attribute bgcolor for this element (in this HTML version) * Line 39, character 44: ... orm-input-fieldfont color=#ff2fe8input type=text na ... ^ Error: there is no attribute color for this element (in this HTML version) * Line 39, character 53: ... -fieldfont color=#ff2fe8input type=text name=textf ... ^ Error: element font not defined in this HTML version * Line 86, character 48: ... =8 cellpadding=8 bgcolor=white ^ Error: there is no attribute bgcolor for this element (in this HTML version) Terri Chicko Flirty Women's Fashions www.hotniniz.com __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] validation errors
Terri Chicko wrote: Hi all OK, I'm working at restructuring Terri, your doc type is XHTML strict. your page is riddled with code that is NOT XHTML strict valid (and some that are not even Transitional valid) bgcolor font etc USE css classes or IDs, or gloabl elements. ie, instead of body bgcolor, use body { background-color: #ff; } in your css sheet. instead of font, use span class=myclass and .myclass { color: #ff; } for example. __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] validation errors
Jukka K. Korpela wrote: On Tue, 7 Aug 2007, Matthew Ohlman wrote: Brian Cummiskey wrote: snip USE css classes or IDs, or gloabl elements. ie, instead of body bgcolor, use body { background-color: #ff; } in your css sheet. instead of font, use span class=myclass and .myclass { color: #ff; } for example. big snip A good reference/tutorial to see this in more detail is W3Schools. You can access the CSS tutorial at: http://www.w3schools.com/css/css_intro.asp I'm afraid someone needs to remind that W3Schools is regarded as unreliable source of information by many experts. And this time, that someone seems to be me... Not to beat a dead horse, but I agree with Jukka. I was a wholly table-based designer and held on to that far too long. Reading this list, books by the inimitable Mr. Meyer[1] and sites like PIE[2] were and continue to be a great source of info. Personally, I played a LOT with the first example in Meyer's Eric Meyer on CSS [3] to get my teeth well cut on concepts and implementations in converting a table-based site to CSS. I still refer to that book on a near-daily basis. There's no doubt that CSS's strength is in it's complexity at times...but taken as a formulaic, thought-through approach like any good project should be, and it's the key to freedom in design and accessibility *with* aesthetics! That's my official .02 on the subjectfrom a far-from-expert designer, loving CSS ~Ray [1] meyerweb.com [2] positioniseverything.net [3] http://www.ericmeyeroncss.com/ http://www.peachpit.com/store/product.aspx?isbn=073571245X __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Validation and I E 6 Help please
Martin, I've run this site through the validator and it says it validates ok I'm using Firefox 2.0.0.4 can someone else check please, Thanks On 7/11/07, Phil Turner [EMAIL PROTECTED] wrote: Help please my sites not working in IE 6 in various places its throwing some spacing out of wack! Hi Phil, when Problems occur always validate your Document first and correct the Errors. Sometimes it can be the Solution. Failed validation, 6 errors __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Validation and I E 6 Help please
Hi Everyone my side validates, thanks for pointing me in the right direction Martin now I have some IE 6 spacing issues I cant check it on my mac but have been told the portfolio thumbnails aren't spaced as they should be as well as other spacing that is out of wack! The two pages are here http://www.philturner-uk.com/index.html http://www.philturner-uk.com/portfolio.html Any help much appreciated Regards Phil Turner __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Validation and I E 6 Help please
On Jul 12, 2007, at 5:56 AM, Phil Turner wrote: now I have some IE 6 spacing issues I cant check it on my mac but have been told the portfolio thumbnails aren't spaced as they should be as well as other spacing that is out of wack! http://www.philturner-uk.com/index.html http://www.philturner-uk.com/portfolio.html Any help much appreciated IE6 shows signs of the missing Layout bug, which affects layouts based on absolute positioning severely. For solutions - see 'hasLayout'... http://www.satzansatz.de/cssd/onhavinglayout.html ... for ways to work around that, and related, bugs. Note: the fact that your pages' HTML and CSS validates, doesn't make them comply with anything -- especially not with W3C standards. Transitional doctypes are meant for upgrading old pre HTML 4.0 sites without completely rewriting them, and as an intermediate solution when one has to deal with weak CMS and/or the designers/ coders are too far behind regarding standards. Transitional doctypes are not meant to be standards for creating new pre HTML 4.0 sites in the year 2007. You should at least try to mark up for a Strict doctype and make that validate, and make more proper use of elements, attributes and CSS properties/values. Another problem that makes validity -- and even the problems with IE6 -- more or less irrelevant in your case, is that your web designs live in a print on paper world, and can't take any stress on the web -- in any browser. You should apply some of your unique skillset to make your web designs work for able visitors and their browser- options, and not just for the disabled ones. That would help both able and disabled visitors a lot, and also probably reduce your cross- browser problems to a minimum. regards Georg __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] Validation error + border glitch
Page is http://www.njlada.com/plus/events/ I'm getting an error message which doesn't match with my code. Please take a look and see if you can find what the validator is choking on http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fnjlada.com%2Fplus%2Feventswarning=1profile=css2usermedium=all ALSO I attempted to code a border which should go around each of the two sections on this page. The border doesn't appear. What did happen after I coded in the border on css and html files is that the backgrounds for each of my two headers drew together. In Safari they abut each other contiguously now, whereas before they didn't. I would like to know why this happened. I'm also interested in knowing what is the proper way to draw two headers together in this fashion, and how I might make my border appear. Thank you! Code for the border: .htwobox { border: 1px solid #6681aa; padding: 6px; } -- Kim Brooks Wei 1.201.475.1854 __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Validation error + border glitch
* Kim Brooks Wei wrote: I'm getting an error message which doesn't match with my code. Please take a look and see if you can find what the validator is choking on http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fnjlada.com%2Fplus%2Feventswarning=1profile=css2usermedium=all You have background: #transparent; As the Validator points out, #transparent is not a legal color value; perhaps you mean transparent? -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] validation
However, some of the responses have lead to something I've wondered about which *is* CSS-related. Does setting image dimensions in a style sheet and leaving them out of the HTML cause problems in any browsers? Funny you should ask. I have just done a test on this. So far haven't found one that doesn't render properly. Ian -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.4/477 - Release Date: 16/10/2006 __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] validation
Can someone explain to me why Tidy gives the following warning: - Warning: img attribute width has invalid value 74px - Aren't img width and height supposed to be given in px? Could it be because the image is wrapped in a tags? The other images on my page don't get the warning. Thanks, Patti --- [TotalNet (www.totalnet.us) has scanned this E-mail for viruses using Declude Anti-Virus] __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] validation
On 16/10/2006 09:50, Patti Evans wrote: Aren't img width and height supposed to be given in px? Could it be because the image is wrapped in a tags? The other images on my page don't get the warning. It's because you're using 74_px_. The correct value for the attribute is 74. If you want to use units other than pixels, use a style attribute and specify away. __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] validation
Patti Evans wrote: Can someone explain to me why Tidy gives the following warning: - Warning: img attribute width has invalid value 74px - Aren't img width and height supposed to be given in px? Could it be because the image is wrapped in a tags? The other images on my page don't get the warning. No, only CSS takes units - HTML assumes px. So img src=something.jpg width=74 height=10 alt=something is the correct syntax HIH! Lea -- Lea de Groot Elysian Systems Brisbane, Australia __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] validation
Height and width for image should be simply numbers as far as I can remember. __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] validation
HTML sizing attributes tag have to be plain numbers, with no units; in the case of width and height for images, it is assumed that the value is in pixels. That is, this HTML:: img width=74 ... is equivalent to this CSS version: img style=width: 74px ... Of course, it would be better still to use some other means of associating that CSS style with that element; the less coupled the style with the markup, the better. On 10/16/06, Patti Evans [EMAIL PROTECTED] wrote: Can someone explain to me why Tidy gives the following warning: - Warning: img attribute width has invalid value 74px - Aren't img width and height supposed to be given in px? Could it be because the image is wrapped in a tags? The other images on my page don't get the warning. Thanks, Patti --- [TotalNet (www.totalnet.us) has scanned this E-mail for viruses using Declude Anti-Virus] __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ -- Mark J. Reed [EMAIL PROTECTED] __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] validation
Subject: [css-d] validation Can someone explain to me why Tidy gives the following warning: - Warning: img attribute width has invalid value 74px - Aren't img width and height supposed to be given in px? Could it be because the image is wrapped in a tags? The other images on my page don't get the warning. Thanks, Patti What doctype are you using? A link to the page would help us see the problem. Ian -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.4/477 - Release Date: 16/10/2006 __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] validation
Patti Evans wrote: Aren't img width and height supposed to be given in px? Could it be because the image is wrapped in a tags? The other images on my page don't get the warning. The (X)HTML width-attribute for the img-element is 'px' by default, so we don't write 'width=74px', just 'width=74'. So, Tidy warns correctly, AFAIK. We can write 'width=74%', if percentage is what we want. Other units won't work... defaults to pixels in some browsers, while others simply ignore the entire attribute. regards Georg -- http://www.gunlaug.no __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] validation
Thanks Lea. I'll remove the px from the HTML and no longer go crazy! Lea de Groot wrote: Patti Evans wrote: Can someone explain to me why Tidy gives the following warning: - Warning: img attribute width has invalid value 74px - Aren't img width and height supposed to be given in px? Could it be because the image is wrapped in a tags? The other images on my page don't get the warning. No, only CSS takes units - HTML assumes px. So img src=something.jpg width=74 height=10 alt=something is the correct syntax HIH! Lea --- [TotalNet (www.totalnet.us) has scanned this E-mail for viruses using Declude Anti-Virus] __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] validation
Thanks so much for all the responses to my TIDY validation question (and to those who politely reminded me that my question was HTML- rather than CSS-related). However, some of the responses have lead to something I've wondered about which *is* CSS-related. Does setting image dimensions in a style sheet and leaving them out of the HTML cause problems in any browsers? Thanks, Patti --- [TotalNet (www.totalnet.us) has scanned this E-mail for viruses using Declude Anti-Virus] __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Validation assistance
Bjoern Hoehrmann wrote: * Delos Woodruff wrote: I tried to validate a page and got a particular error. Specifically, because I'm using a strict html doctype, it didn't like the final in the css link. link rel=stylesheet type=text/css href=test.css / ^^^ (Note the space here) If you use HTML, use link rel=stylesheet type=text/css href=test.css If you use XHTML, use link rel=stylesheet type=text/css href=test.css / If you are using XHTML, do not put a space between the '/' and the '' for closing the tag. (Check above.) -- Regards, Aveek Bhattacharya IIT Bombay __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Validation assistance
On 04/10/06, Delos Woodruff [EMAIL PROTECTED] wrote: I tried to validate a page and got a particular error. Specifically, because I'm using a strict html doctype, it didn't like the final in the css link. link rel=stylesheet type=text/css href=test.css / http://www.cs.tut.fi/~jkorpela/html/empty.html explains but the short version is: The /, in HTML terms is part of a NET tag and closes the element, so the is the same as gt;, which isn't allowed as raw data inside the head element. NET tags should be avoided in HTML: http://www.w3.org/TR/html4/appendix/notes.html#h-B.3.3 In XHTML things are different, but if you're writing HTML, don't have the /. -- David Dorward http://dorward.me.ukhttp://blog.dorward.me.uk __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Validation assistance
On 10/4/06, David Dorward [EMAIL PROTECTED] wrote: http://www.cs.tut.fi/~jkorpela/html/empty.html explains Wow, informative doc. Thanks for the link. The /, in HTML terms is part of a NET tag Note that NET here is short for Null Ending Tag, and has nothing to do with .NET, the Net, etc. :) -- Mark J. Reed [EMAIL PROTECTED] __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Validation assistance
Thank you, Bjeorn. It seemed strange not to use the final . The page this is taken from in written in HTML, so I can lose the /. I'm much more comfortable with that option. What a great list, huh? Thanks again. Delos On Oct 3, 2006, at 11:01 PM, Bjoern Hoehrmann wrote: If you use HTML, use link rel=stylesheet type=text/css href=test.css If you use XHTML, use link rel=stylesheet type=text/css href=test.css / -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ HOMEPAGE http://www.artpatient.com See the Frog Pond Webcomic, sketches, caricatures and more! __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Validation assistance
Hi David. I get it, I think. In standard HTML, you don't need an end / in single tags (like br or img) and since the head section. So it isn't required in the head area. That makes sense. But I'm rambling outside of the css relevance. I appreciate the link and explanation. Delos On Oct 4, 2006, at 11:24 AM, David Dorward wrote: On 04/10/06, Delos Woodruff [EMAIL PROTECTED] wrote: I tried to validate a page and got a particular error. Specifically, because I'm using a strict html doctype, it didn't like the final in the css link. link rel=stylesheet type=text/css href=test.css / http://www.cs.tut.fi/~jkorpela/html/empty.html explains but the short version is: The /, in HTML terms is part of a NET tag and closes the element, so the is the same as gt;, which isn't allowed as raw data inside the head element. NET tags should be avoided in HTML: http://www.w3.org/TR/html4/appendix/notes.html#h-B.3.3 In XHTML things are different, but if you're writing HTML, don't have the /. -- David Dorward http://dorward.me.ukhttp://blog.dorward.me.uk __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ HOMEPAGE http://www.artpatient.com See the Frog Pond Webcomic, sketches, caricatures and more! __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] Validation assistance
Hello folks! I tried to validate a page and got a particular error. Specifically, because I'm using a strict html doctype, it didn't like the final in the css link. link rel=stylesheet type=text/css href=test.css / I followed the help info on this and it says that the final is not necessary, but that seems highly irregular to me. It also said there is no need for /head or /body tags, but it doesn't hurt to have them and it doesn't fail to validate if you include them. It seems like if I delete that character, it will somehow cause problems somewhere down the line. Other than that and lacking a UTF8 charset statement, the page validates fine. Would or has anyone else bothered with fixing this? Delos __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Validation assistance
* Delos Woodruff wrote: I tried to validate a page and got a particular error. Specifically, because I'm using a strict html doctype, it didn't like the final in the css link. link rel=stylesheet type=text/css href=test.css / If you use HTML, use link rel=stylesheet type=text/css href=test.css If you use XHTML, use link rel=stylesheet type=text/css href=test.css / -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] Validation differences for incomplete tag ?!
Hi all, In an other topic there was found that an incomplete end tag /td was the reason for an unexpected layout shift in IE. http://archivist.incutio.com/viewlist/css-discuss/74402 Very, very strange is, that the html-validator did not remark this error. The w3c-recommendations for html 4.01 say about the td: Start tag: required, End tag: optional [1] * But IMO that should not implicate that an incomplete (but not escaped) /td should be ignored totally when validating! * I checked the file with omitting the whole /td. Result: then IE is performing good also. So I experimented with a very simple html-file with an unclosed end tag. pcheck incomplete end tag/p pnext line/p http://home.tiscali.nl/developerscorner/css-discuss/check-incomplete-tag.htm Now the results! :-) * The w3c html-validator says it is valid html (without warnings), but in the included source code we can see the tag in line 8 is really incomplete. http://validator.w3.org/check?uri=http%3A%2F%2Fhome.tiscali.nl%2Fdeveloperscorner%2Fcss-discuss%2Fcheck-incomplete-tag.htmss=1 http://validator.w3.org/check?uri=http%3A%2F%2Fhome.tiscali.nl%2Fdeveloperscorner%2Fcss-discuss%2Fcheck-incomplete-tag.htmss=1 * The WDG-validator says it is valid, but is giving a warning: http://www.htmlhelp.com/cgi-bin/validate.cgi?url=http%3A%2F%2Fhome.tiscali.nl%2Fdeveloperscorner%2Fcss-discuss%2Fcheck-incomplete-tag.htmwarnings=yesinput=yeshidevalid=yes http://www.htmlhelp.com/cgi-bin/validate.cgi?url=http%3A%2F%2Fhome.tiscali.nl%2Fdeveloperscorner%2Fcss-discuss%2Fcheck-incomplete-tag.htmwarnings=yesinput=yeshidevalid=yes * The online Tidy is giving a warning too: http://infohound.net/tidy/tidy.pl * But the Tidy extension in Firefox says it is 100% o.k.: no errors, no warnings. Then I noticed, even weirder, the displayed code is ... browser dependent. * Firefox has a closing at the beginning of the next line. That should be the reason why the build-in Tidy was so happy. See source code in FF: pcheck incomplete end tag/p pnext line/p * Double checked my uploaded file in ftp: viewed it in FileZilla. And still the same over there, without ending : it is not the server. * Internet Explorer just plays the file as it is uploaded and on the server. See source code in IE6. * Source code in Opera 7.54 and Opera 8.01: nothing added, still incomplete. * Source code in Netscape 6.2 shows an interesting other way: pcheck incomplete end tag/pnext line/p. * And Mozilla 1.71: as FF. * btw: Everything tested under Win98SE. My conclusions and lessons: Apparently different browsers have different auto correcting machines (or not) to handle incorrect html. Extra reason to write good html... And when strange differences occur between browsers: validate with different validators! Small warnings in one validator, ignored by an other validator, can have big consequences. Banging heads! ;-) francky [1] http://www.w3.org/TR/html4/struct/tables.html#h-11.2.6 __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Validation differences for incomplete tag ?!
francky wrote: My conclusions and lessons: Apparently different browsers have different auto correcting machines (or not) to handle incorrect html. Extra reason to write good html... Indeed :-) As I have mentioned a few times on css-d lately: browsers 'error recovery' is not reliable. Complete and valid markup works much better. And when strange differences occur between browsers: validate with different validators! Small warnings in one validator, ignored by an other validator, can have big consequences. Banging heads! ;-) Confused, and confusing, validators are not of much help with the details. Don't know if banging heads is of much help either :-) I made a similar conclusion a few years ago, and have kept on fine-tuning my own methods since then. The result is that I hardly ever write HTML anymore, but instead work with the much less forgiving xhtml markup - from the top down. I normally use only one tool: HTML Tidy, and I don't trust any set-up for Tidy that others have made. In fact: I don't use a single extension or tool for anything - unless I have tested it to death. Thus all my tools are old - just like me ;-) To keep it *on topic* for this list: the way browsers render CSS styled pages vary for a few elements - depending on how pages are served. A lot of other factors vary too, and since I don't like avoidable catastrophes... Forget all about broken xhtml, or smart xhtml which basically is garbled HTML with left-out optional HTML-parts and some added backslashes. Plenty of those around - and the validator(s) ok a lot of it, I'm afraid. What I'm working with is 'true and working' xhtml. I do serve my work as broken (x)HTML finally - just like most others, and I couldn't care less that my pages are depending on 'error recovery' since xhtml isn't html no matter which way it is served. It is working - and because of the following steps it will continue to work if I start serving those pages as they should be served - one day. I use HTML Tidy with my own, tested, set-up for xml, served, and tested across browser-land, as 'application/xhtml+xml'[1] with CSS and all. Sometimes I take the resulting page(s) to the W3C html validator, just to be on the safe side. I don't trust the validator all that much, but it may pick up something that is of use to me. Then I back-step and serve the result as 'text/html'[2] so IE/win and other old browsers can render it as I want, and that's usually it. Not much chance that the validator or browsers choke on it, but it does happen :-) Most of the headaches are in the past though. From there I can make things line up with CSS as much as I like across browser-land. Not much to worry about apart from buggy or missing CSS support in browsers. I even intentionally use non-valid hacks for bad browsers, so I can let the CSS validator point them out for me at a later date. Saves me from having to remember or comment each hack, but I'm not sure if such an approach is kosher. Georg [1]http://www.gunlaug.no/contents/wd_1_06_03.xhtml [2]http://www.gunlaug.no/contents/wd_1_06_03.html -- http://www.gunlaug.no __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] validation trouble
I've built a new site for the firm I work for using 'stylin with css' as my guide...It's not validating properly though:http://validator.w3.org/check?uri=http%3A%2F%2Fwww.cmaxsonar.com%2Fshot1.htmlcharset=%28detect+automatically%29doctype=InlineAny ideas, Is there a typo in the book?Hugh __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] validation trouble
On 21/03/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I've built a new site for the firm I work for using 'stylin with css' as my guide...It's not validating properly though:http://validator.w3.org/check?uri=http%3A%2F%2Fwww.cmaxsonar.com%2Fshot1.htmlcharset=%28detect+automatically%29doctype=InlineAny ideas, Is there a typo in the book?Hugh Not having a copy of the book it is hard to tell. Your Doctype is wrong though. Strict Transitional? :) http://www.w3.org/QA/2002/04/valid-dtd-list.html (and see the usual rants about why XHTML isn't a good choice for the WWW in the first place) -- David Dorward http://dorward.me.ukhttp://blog.dorward.me.uk __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] validation trouble
r.com%2Fshot1.htmlcharset=%28detect+automatically%29doctype=Inli neAny ideas, Is there a typo in the book?Hugh __ Seems to me that if you change doctype to : xhtml1-transitional.dtd, that would sort as rest is fine. Cheers Ian -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.2.6/286 - Release Date: 20/03/2006 __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] validation trouble
David Dorward wrote: (and see the usual rants about why XHTML isn't a good choice for the WWW in the first place) You could at least point(link) to one of those rants - if there are any with some substantial information around. Might be useful. rant XHTML is the *perfect choice* for the WWW. It just has to be *XHTML*... http://www.gunlaug.no/contents/wd_1_06_03.html http://www.gunlaug.no/contents/wd_1_06_03.xhtml ...and not something else. /rant :-) regards Georg -- http://www.gunlaug.no __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] validation question
Hey folks, I ran my site through the validator: http://validator.w3.org/check?verbose=1uri=http%3A//www.cpcconstruction.net/1/homes.html%23nogo I don't understand why it says that the ul id=... does not belong in the context ... I thought it was fine to include unordered list Ids' w/in a span element. But apparently not. If this is truely invalid, is there any way I can accomplish the same thing and have it validate with out taking to much time? Thanks in advance! Patrick __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] validation question
Patrick Roane wrote: Hey folks, I ran my site through the validator: http://validator.w3.org/check?verbose=1uri=http%3A//www.cpcconstruction.net/1/homes.html%23nogo I don't understand why it says that the ul id=... does not belong in the context ... I thought it was fine to include unordered list Ids' w/in a span element. But apparently not. If this is truely invalid, is there any way I can accomplish the same thing and have it validate with out taking to much time? Thanks in advance! Patrick __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ If you read the comments in the validation page, you'd notice the error has nothing to do with the ID's of the lists, but rather the fact that you've put a ul (which is a block element) inside of a span (which is an inline element), which is invalid. Inline elements can only contain other inline elements and of course text. The solution to this is simple, put your lists inside a block element that best suits your situation. __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Validation Error -moz-outline
Hi, I'm getting rid of the ugly outline that appears on an image when it's used as a link. It doesn't seem to be set to default, as when I don't set -moz-outline I get the ugly borders when I click the links. Cheers, Tracy On Wednesday, August 24, 2005, at 03:40 am, Peter Williams wrote: Why do you need to declare outline and moz-outline for this image? Especially when you are setting them to none, isn't that the default? __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Validation Error -moz-outline
Hi Philippe, Will do, thanks. As Zoe pointed out, it isn't causing a problem in browsers so I'm not going to worry about it too much... Cheers, and thanks to all who responded. Tracy On Wednesday, August 24, 2005, at 05:55 am, Philippe Wittenbergh wrote: BTW, you're better off by first specifying the vendor-specific property, and then the official one; vendor specific stuff could be processed slightly differently. In Tracy's case, apply it this way: #footer img { vertical-align: middle; -moz-outline:none; outline: none;} As a side note, DeerPark (and the upcoming Firefox 1.5) fully supports the official 'outline' property. And it supports the CSS3 'outline-offset' property. Philippe __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Validation Error -moz-outline
Tracy Shorrock wrote: I'm getting rid of the ugly outline that appears on an image when it's used as a link. It doesn't seem to be set to default, as when I don't set -moz-outline I get the ugly borders when I click the links. That ugly outline is actually a border, not an outline. Try this: a img {border-width: 0} -- http://www.mozilla.org/products/firefox/ - Get Firefox! http://www.mozilla.org/products/thunderbird/ - Reclaim Your Inbox! Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Validation Error -moz-outline
Roger Roelofs wrote: Validation is a guide, not a law. :-) Exactly. :-) Validation is a means to an end (a well functioning page) not an end in itself. If you know why your page won't validate, and you know that this isn't causing a problem in any browsers (it isn't, in this case), you have nothing to worry about. Zoe -- Zoe M. Gillenwater Design Specialist UNC Highway Safety Research Center http://www.hsrc.unc.edu __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Validation Error -moz-outline
I don't think so :-( It's weird though, because I think the specifications says that vendors can add their own property's in the -vendorname-property format. Evert Tracy Shorrock wrote: Hi, I keep getting a parse error on -moz-outline: none; when validating the following css: #footer img { vertical-align: middle; outline: none; -moz-outline: none;} Is there anyway to get around this? (apart from taking it out!) Cheers, Tracy __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Validation Error -moz-outline
Tracy, On Aug 23, 2005, at 9:46 PM, Tracy Shorrock wrote: Hi, I keep getting a parse error on -moz-outline: none; when validating the following css: #footer img { vertical-align: middle; outline: none; -moz-outline: none;} Is there anyway to get around this? (apart from taking it out!) It is a proprietary extension to css hence the -moz prefix. Your choices are to ignore the error or remove the rule. Validation is a guide, not a law. :-) Roger, Roger Roelofs Remember, if you’re headed in the wrong direction, God allows U-turns! ~Allison Gappa Bottke __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] validation problem follow-up
Hello, Thanks to everyone who replied to my validation problem post. I knew about converting to amp; in text but didn't think about doing it in the URLs as well. After I fired off my question, I dug around some more on http://validator.w3.org and found a reference to using amp; in URLs. That's what several list members suggested, too. But it doesn't seem to work when values are being passed in the URL (as in my case). I don't think the ASP script can read the querystring with amp; I also tried %26 as a replacement for --but no luck. If I come up with an answer, I'll post it just in case anyone else runs into the problem. But will take it to an ASP list since it's not directly related to CSS. Thanks again! Jeanne Jeanne Prine, Webmaster University of Georgia College of Pharmacy [EMAIL PROTECTED] phone 706-542-5354 fax 706-542-5269 __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] validation problem follow-up
* Jeanne Prine wrote: Thanks to everyone who replied to my validation problem post. I knew about converting to amp; in text but didn't think about doing it in the URLs as well. After I fired off my question, I dug around some more on http://validator.w3.org and found a reference to using amp; in URLs. That's what several list members suggested, too. But it doesn't seem to work when values are being passed in the URL (as in my case). I don't think the ASP script can read the querystring with amp; I also tried %26 as a replacement for --but no luck. Well, consider you want to write a tutorial on using headings in HTML documents. Your sample heading should be ATT. The is a special character in HTML so you need to escape it as amp;, so you get h1ATamp;T/h1 Now, in order to include it in your document you need to escape the special characters (again!), precodelt;h1gt;ATamp;amp;Tlt;/h1gt;/code/pre Now, if you have this source code and want to tell someone about the heading, you can't copy and paste lt;h1gt;ATamp;amp;Tlt;/h1gt; as that's not the heading. You have to unescape first h1ATamp;T/h1 That's still not what you want though, so you have to unescape again ATT That's now something you can use. This is no different for URLs. If you want to link to a document called ATT.html you have to escape the special character a href=ATamp;T.html.../a Now you want to check whether the document is still available. You again can't simply copy and paste the source code ATamp;T.html as that's still in its escaped form, you have to unescape first, ATT.html Browsers always perform this unescaping so this escaping does work, except if you assume that you can copy paste HTML source code into the address bar. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] validation problem
Hello everyone, Hope this isn't off-topic. I just finished a subsite as part of a larger redesign. The CSS validates but some pages won't validate as DOCTYPE XHTML 1.0 Transitional because of long URLs in navigation links. Is there anything I can do about this? I don't have any control over the actual URLs because they belong to external sites. Specific example: a href=https://asg.citp.uga.edu/alumni/index.asp?brand=gafundpage=makegiftaccntcat=75amount=250otheramt=0;UGA Secure Online Giving/a Any advice much appreciated. Regards, Jeanne Jeanne Prine, Webmaster University of Georgia College of Pharmacy [EMAIL PROTECTED] phone 706-542-5354 fax 706-542-5269 __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] validation problem
The ampersands in the urls need to be escaped properly (amp;). Regards, Jachin Senior Web Developer InternetFiji.com On 6/9/05, Jeanne Prine [EMAIL PROTECTED] wrote: Hello everyone, Hope this isn't off-topic. I just finished a subsite as part of a larger redesign. The CSS validates but some pages won't validate as DOCTYPE XHTML 1.0 Transitional because of long URLs in navigation links. Is there anything I can do about this? I don't have any control over the actual URLs because they belong to external sites. Specific example: a href=https://asg.citp.uga.edu/alumni/index.asp?brand=gafundpage=makegiftaccntcat=75amount=250otheramt=0;UGA Secure Online Giving/a Any advice much appreciated. Regards, Jeanne Jeanne Prine, Webmaster University of Georgia College of Pharmacy [EMAIL PROTECTED] phone 706-542-5354 fax 706-542-5269 __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/