On 13 August 2010 16:52, Lalena <lal...@lalenafisher.com> wrote:

> - I am slowly converting all my web pages to CSS and XHTML, and when I
> test one in the W3 online validator, I get this message: " File not
> found: import file://localhost/lf_styles.css: Operation not
> permitted". (I am uploading my pages from my local drive, checking
> them before I make them live.) I double-checked in my folder and the
> "lf_styles.css" file is there. Why might I be having this problem; any
> ideas?

Because you are uploading files, and browsers don't let web servers
ask them to upload arbitrary files! If you reference an external file
via file upload, it will break.

> - Do I need to change all my <br> tags to <br /> ? Or <br/> ? I found
> conflicting info when I Googled this.

If you are writing XHTML and pretending it is HTML (which you have to
do if you want it to work in Internet Explorer and usually makes using
XHTML far more effort then it is worth) then <br />.

http://www.w3.org/TR/xhtml1/#h-4.6
http://www.w3.org/TR/xhtml1/#C_2

-- 
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
______________________________________________________________________
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/

Reply via email to