|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
CSS...
hello,
I have a problem with my css...when i make changes to it, they are not relfected on the pages that are linked to that particular style sheet... is there something else you are supposed to do? thanks sp |
|
#2
|
||||
|
||||
|
RE: CSS...
I think this message is in wrong area. Shouldn't it be in the client side things?
|
|
#3
|
|||
|
|||
|
RE: CSS...
yeah. moved now. thanks for spotting.
sometimes, i read messages so quickly (in order to read as many possible in little time i have) that i forget that i have to "moderate" this forum |
|
#4
|
|||
|
|||
|
RE: CSS...
Quote:
Well, I think the problem lies in your browser caching settings. The .css was cached and the browser does not load the updated version. Just clear the cache and imho it will solve the problem. |
|
#5
|
|||
|
|||
|
RE: CSS...
If you give us more information about what you did, I may be able to help
I decided to go into an example so maybe you can check your classes, or for anyone tryin to learn css here will have a good example of css. Style Sheets with Classes: Your script should look like this. (in your document) <head> <style type="text/css"> a.tree:link { color: #000000; font-weight: bold; font-family: Arial; text-decoration: none; } a.tree:visited { color: #101010; font-weight: bold; font-family: Arial; text-decoration: none; } a.tree:hover { color: #000000; font-weight: bold; font-family: Arial; text-decoration: underline; } a.bird:link { color: #0000FF; font-family: Arial; text-decoration: none; } a.bird:visited { color: #000050; font-family: Arial; text-decoration: none; } a.bird:hover { color: #0000FF; font-family: Arial; text-decoration: underline; } </style> </head> <body> <a href="mypage.html" class="tree">My Page</a> <a href="myfriendspage.html" class="bird">My Friend's Page</a> </body> (external css file) <head> <link rel="stylesheet" href="site.css" type="text/css"> </head> <body> <a href="mypage.html" class="tree">My Page</a> <a href="myfriendspage.html" class="bird">My Friend's Page</a> </body> NOTE: when you make your external css document, make sure you dont have your <style> tags inside the separate document. It would be easier for me to go into depth about any questions you may have about the stylesheet you used. Post back I will try to help Good StyleSheet tutorials found here: http://www.w3schools.com/css/default.asp |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > CSS... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|