vajra_hendry Posted August 22, 2007 Share Posted August 22, 2007 Hi Guys, Simple one here I expect! I have written some pages and used CSS to do the styling, they work well in IE (v7). Thought I'd see how they render in Netscape (beta 9b.3) and Mozilla (2.0.0.6) Here is the Link to the CSS : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <HTML> <head> <title></title> <link rel="stylesheet" type="text/css" href="css\layout.css" media="all" /> </head> err any ideas? The CSS does isnt being used, as all the graphics just line up!! Its a mess !! haha Thanks a lot Quote Link to comment https://forums.phpfreaks.com/topic/66147-solved-netscape-and-mozilla-dont-see-my-css-files/ Share on other sites More sharing options...
vajra_hendry Posted August 22, 2007 Author Share Posted August 22, 2007 Well I found out the answer. I just needed to change the slash from : <link rel="stylesheet" type="text/css" href="css\layout.css" media="all" /> To : <link rel="stylesheet" type="text/css" href="css/layout.css" media="all" /> Now I notice that the differnet browsers view the positioning of object quite differently!! JOY !! Well hope this helps somone anyway. Quote Link to comment https://forums.phpfreaks.com/topic/66147-solved-netscape-and-mozilla-dont-see-my-css-files/#findComment-330925 Share on other sites More sharing options...
HuggieBear Posted August 22, 2007 Share Posted August 22, 2007 Yes, IE will automatically convert a backslash to a forward slash. It's always best to use a forward slash as unix/linux paths are delimeted by a forward slash, and although Windows uses a backslash as it's delimiter, it also understands a forward slash. Try it out. Regards Huggie Quote Link to comment https://forums.phpfreaks.com/topic/66147-solved-netscape-and-mozilla-dont-see-my-css-files/#findComment-330977 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.