Hello everyone,

I've just embedded soem PHP code (user admin) in one of my html pages. i renamed the page login.php and i have two css style sheets attached to the login.php file. it all seems to work however the original style sheet that i use for all otehr html files does not seem to work completely (only parts of it). HOWEVER in Dreamweeaver in live view it seems to work perfectly. I've tried 4 different browsers.. and now i do not know anymore what i cna do to resolve the problem...

    wortmann;11000636 wrote:

    ... HOWEVER in Dreamweeaver in live view it seems to work perfectly

    I'd get rid of Dreamweaver, then. :p WYSIWYG editors are not good development environments.

    As for your specific question, more information would be helpful. Code is always good.

      Hi i appreciate receiving answers I would however like to get some answers that will help me. Not answers that tell me that the program i'm using is crap or other useless remarks.

      But more in the trend of:
      Maybe you should check your css hooks to see if they match up with your html elements id's and classes. Also you should check for cross script issues, that is if your (two) css files are trying to render the same element. Another suggestion is to use w3's css validator http://jigsaw.w3.org/css-validator/ (try css 3 mode for backward compatibility) as you maybe also having trouble with browsers like IE9 or others that render pages differently than Firefox, Chrome etc.

        thanks for the effort. i did manage to find the problem. don't laugh but there was a comment <!*** that caused the problem. thanks guys keep up the good work.

          Both of my suggestions were serious, and not meant as insults. To clarify:

          1. Dreamweaver, and other WYSIWYG editors, use their own parsers and rendering engines which are not the same as those you will be using/ that your users will be using to view your website. Aside from the obvious problem in this case (dreamweaver failed to show you a problem in your code), no one is going to visit your website in dreamweaver.

          Your development tools should match your production environment as closely as possible. This means using PHP on an actual we server (they're not hard to install) and viewing your work in web browsers.

          1. I'm glad you figured things out. I didn't offer any specific advice because you offered no specific information.

          Really, what am I supposed to say? You can't assume someone can provide useful answers without seeing the problem. Did you expect my to say, "oh, make sure you check for extra <***s in you script"? That's why I asked for code: I'd love to help you figure things out, but I won't waste my time - or yours - by guessing.

            Write a Reply...