logo-dw

Go Back   Dreamweaver Club Forums > Hand Coders Forum > PHP
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 05-01-2013, 08:23 AM   #1
Dave56
 
Join Date: Aug 2009
Posts: 11
Default CSS and PHP

Hello,

I'm learning PHP and I've discovered the CSS stylesheet I linked to my web page doesn't apply to the PHP code in the web page. For example, I created a class called "error" with big red type and placed it in the attached stylesheet, but when I apply that class to text in the PHP code, the class is ignored. I don't understand why, but that's what it does. Any suggestions?

Many thanks,
Dave
Dave56 is offline   Reply With Quote
Old 05-01-2013, 09:26 PM   #2
Dave56
 
Join Date: Aug 2009
Posts: 11
Default

Never mind. I figured it out. I needed media="all" in the link to the stylesheet to make it work in the PHP.
Dave56 is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:18 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com