If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

CSS style sheets in PHP page

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...

no useless remarks please

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.

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.

2. 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.