PDA

View Full Version : I can't attach any css!!!


LNinio
02-17-2006, 07:58 AM
I am desperate!!!
I do the following:
I create a new css (for example) "rolover.css" and save to the same folder as the (for example) "test.html" file. Go to the "test.html" file and click the css on the properties. Click on "Attach Style Sheet", browse the File/URL and choose the "rolover.css", add as link and finally OK!!!
In spite of that, in css field in properties there are not any css styles (neither "rolover.css" of course)!!! I watch every toutorial i can find but i can't make it work. What do i do wrong?

davidj
02-17-2006, 08:37 AM
have you saved your test.html file befor attaching it ?

Please post the css link code

LNinio
02-17-2006, 08:44 AM
Here are the 2 files

davidj
02-17-2006, 08:48 AM
try removing ....

@charset "windows-1253";

from your CSS

LNinio
02-17-2006, 12:14 PM
Unfortunally, nothing happend! What do i do wrong? :?

davidj
02-17-2006, 12:31 PM
in css field in properties there are not any css styles


sorry just checked your css. you dont have any css classes set so you wont get any css displayed in your properties. You have an a.hover set which will auto effect your <a> tags.

you need to set a class for it to appear in the properties

gmcrone
02-17-2006, 09:46 PM
In your test.htm file you don't have <a href=test.com>test</a>

If you don't have the href tags then you won't see your CSS as your CSS only targets "a" hover tags.

Mike...

domedia
02-17-2006, 10:08 PM
a:hover, not a.hover

gmcrone
02-17-2006, 10:10 PM
His CSS actually does have a:hover

Mike...