Re: [PHP] CSS not picked up

2004-09-13 Thread Curt Zirzow
* Thus wrote Jeff Swanberg:
 I have the following in my CSS (loaded on the main site page):
 
 /* FOOTER */
 ...

 picked up.  What should I look for??

A book on writing proper css.


Curt
-- 
The above comments may offend you. flame at will.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Very OT [PHP] CSS not picked up

2004-09-12 Thread php guy
On Sat, 2004-09-11 at 22:36, Jeff Swanberg wrote:

 Nope, I have them all.  Any other ideas???  Do I need to load the style.css 
 on every sub-page or just on the main page?  Perhaps the style sheet is 
 cached so, after I upload a new one, I need to do something to flush the 
 cache?
 
 js
 

Hi Jeff,

This is totally OT for a PHP list but I'll give you an answer.

CSS has rules of precedence.  When a browser is looking at a html page
for styles it first looks for external style sheets, just like you said
you have, then it looks for style tags in the head.../head section
of the page, finally the browser looks at individual tags, div's p's
whatever.  The browser will then use the style rules which are closest
to the tag, therefore external rules are overridden by style tags in the
head section of a page which are overridden by style rules embedded
into actual tags. e.g. hr color='red' align='center'.

Hope that clarifies.

David


Re: [PHP] Re: Very OT [PHP] CSS not picked up

2004-09-12 Thread raditha dissanayake
php guy wrote:
On Sat, 2004-09-11 at 22:36, Jeff Swanberg wrote:
 

Nope, I have them all.  Any other ideas???  Do I need to load the style.css 
on every sub-page or just on the main page?  Perhaps the style sheet is 
cached so, after I upload a new one, I need to do something to flush the 
cache?

js
   

Hi Jeff,
This is totally OT for a PHP list but I'll give you an answer.
 

if it's off topic please don't answer.
Lot's of off topic messages add to the traffic in the list and make it 
harder to keep track of on topic posts. Not the mention the waste of 
bandwidth.

--
Raditha Dissanayake.

http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical User Inteface. Just 128 KB | with progress bar.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] CSS not picked up

2004-09-11 Thread Jeff Swanberg
I have the following in my CSS (loaded on the main site page):

/* FOOTER */

.footer {
font-family: Tahoma, Trebuchet MS;
font-size: 9px;
color: #BFBFBF;
text-decoration: none;
border: none;
line-height: 1.25em;
font-weight: bold;
}

.footer a:link {
font-family: Tahoma, Arial, Trebuchet MS;
font-size: 9px;
color: #BFBFBF;
text-decoration: none;
border: none;
line-height: 1.25em;
font-weight: bold;
}

.footer a:visited {
font-family: Tahoma, Arial, Trebuchet MS;
font-size: 9px;
color: #BFBFBF;
text-decoration: none;
border: none;
line-height: 1.25em;
font-weight: bold;
}

.footer a:hover {
font-family: Tahoma, Arial, Trebuchet MS;
font-size: 9px;
color: #BFBFBF;
text-decoration: none;
border: none;
line-height: 1.25em;
font-weight: bold;
}

and the following in my PHP script

div class=footer style=position:absolute; top:680px; left:60px; 
width:500; height:2; vertical-align:bottom; z-index:1;
copy; 2004 Keatley Photography - a 
href=mailto:[EMAIL PROTECTED][EMAIL PROTECTED]/a - 206 240-5543
/div/td/tr


But, when I change the style.css file and upload it and then refresh the 
browser, any changes to the font, style, etc to the footer class are not 
picked up.  What should I look for??

Jeff 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] CSS not picked up

2004-09-11 Thread Jason Davidson
Possibly you dont have those fonts to see them?

Jason

Jeff Swanberg [EMAIL PROTECTED] wrote: 
 
 I have the following in my CSS (loaded on the main site page):
 
 /* FOOTER */
 
 .footer {
 font-family: Tahoma, Trebuchet MS;
 font-size: 9px;
 color: #BFBFBF;
 text-decoration: none;
 border: none;
 line-height: 1.25em;
 font-weight: bold;
 }
 
 .footer a:link {
 font-family: Tahoma, Arial, Trebuchet MS;
 font-size: 9px;
 color: #BFBFBF;
 text-decoration: none;
 border: none;
 line-height: 1.25em;
 font-weight: bold;
 }
 
 .footer a:visited {
 font-family: Tahoma, Arial, Trebuchet MS;
 font-size: 9px;
 color: #BFBFBF;
 text-decoration: none;
 border: none;
 line-height: 1.25em;
 font-weight: bold;
 }
 
 .footer a:hover {
 font-family: Tahoma, Arial, Trebuchet MS;
 font-size: 9px;
 color: #BFBFBF;
 text-decoration: none;
 border: none;
 line-height: 1.25em;
 font-weight: bold;
 }
 
 and the following in my PHP script
 
 div class=footer style=position:absolute; top:680px; left:60px; 
 width:500; height:2; vertical-align:bottom; z-index:1;
 © 2004 Keatley Photography - a 
 href=mailto:[EMAIL PROTECTED][EMAIL PROTECTED]/a - 206 240-5543
 /div/td/tr
 
 
 But, when I change the style.css file and upload it and then refresh the 
 browser, any changes to the font, style, etc to the footer class are not 
 picked up.  What should I look for??
 
 Jeff 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] CSS not picked up

2004-09-11 Thread Jeff Swanberg
Nope, I have them all.  Any other ideas???  Do I need to load the style.css 
on every sub-page or just on the main page?  Perhaps the style sheet is 
cached so, after I upload a new one, I need to do something to flush the 
cache?

js



Jason Davidson [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 Possibly you dont have those fonts to see them?

 Jason

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] CSS not picked up

2004-09-11 Thread raditha dissanayake

div class=footer style=position:absolute; top:680px; left:60px; 
width:500; height:2; vertical-align:bottom; z-index:1;
copy; 2004 Keatley Photography - a 
href=mailto:[EMAIL PROTECTED][EMAIL PROTECTED]/a - 206 240-5543
/div/td/tr
 

There is no PHP here.
--
Raditha Dissanayake.

http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical User Inteface. Just 128 KB | with progress bar.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php