Internet Marketing Business Forum


Internet Marketing Business Forum » MAIN FORUMS » Web Design & Programming » Hi how do i put in Style.css in a php code ?
Web Design & Programming Building websites, coding scripts or developing apps? html, css, javascripts, ajax, php, asp, java, c+, C++ and other geeky info is here.

Reply
 
LinkBack Thread Tools Display Modes
Old 08-03-2009, 09:17 AM   #1 (permalink)
 Amstel's Avatar
 
Status: Junior Member
Join Date: Aug 2009
Posts: 1
Amstel is on a distinguished road
Default Hi how do i put in Style.css in a php code ?

How do i put style.css in this code ? because with html he does not load it with the first, se second he loads it good.

So hope anyone can help me
Thankyou

@mysql_query("Insert Into name (queryed,count) values ('$query','1')");
}else{
@mysql_query("Update name set count = count+1 where;
(Here needs to come the Stlyle.css)
}
?>
echo '<link rel="stylesheet" href="style.css" type="text/css">'

Does not work and gives me a blank page ?
Ohno i saw it wrong, there was nothing with the i think, the .htaccess rewrites ask.php to ask/

So my website searches all the files at the map ask/ - but that does not excist, is there something to put in htaccess that solves this ?

Thankyou
i use this:

Options +FollowSymlinks

RewriteEngine on
RewriteBase /
RewriteRule ask/(.*)$ ask.php?query=$1 [L]
Amstel is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 04-06-2010, 07:34 AM   #2 (permalink)
 
Status: Junior Member
Join Date: Apr 2010
Location: U.K
Posts: 7
shaun is on a distinguished road
Default How to properly add CSS files ?

As I was working on cleaning up a few isses for the Javascript Tools module, I stumbled upon one issue dealing with overriding CSS styles. In this case, JSCalendar was adding it's styles after a theme's styles were being loaded. Obviously, from a CSS standpoint, it would be impossible for the theme to override and change CSS styles in JSCalendar. This needed to be fixed.
After some digging, I found this comment that explains this problem in more detail and outlines the correct procedure for modules and themes to add CSS files.

Thanks
__________________
Seoguide
shaun is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 08:28 AM.
Powered by vBulletin® Version 3.7.0 Beta 6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.


Nav Item BG