Total Posts:
287
Karma:
1491
Joined:
4/3/2010
Location:
Canada
Hello, I'm new to CSS and am trying to use a class in my style.css that I created and want to use across a <div> ... My CSS class: .dave { font-size: 56px; text-transform: capitalize; font-family: Arial, sans-serif; font-weight: bold; color:red } My code: <div class="dave"> TEST </div> But my text "TEST" doesn't change. I've tried saving and clearing cache but no luck. Any ideas? Thanks, Dave
Total Posts:
897
Karma:
21860
Joined:
4/18/2011
Location:
Poland
CTRL + F5? Is css file called? Your rule is visible at the css from browser view? The best in that cases is share URL. Regards, Tom
Total Posts:
276
Karma:
2101
Joined:
9/28/2012
Location:
Italy
hi, try to refresh page with control+f5 bye
Total Posts:
287
Karma:
1491
Joined:
4/3/2010
Location:
Canada
Thanks for the reply - tried that but no luck. Any other ideas? This looks real simple and I'm kinda stuck. Ciao, Dave
Total Posts:
276
Karma:
2101
Joined:
9/28/2012
Location:
Italy
the page is online? can you give a url?
Total Posts:
287
Karma:
1491
Joined:
4/3/2010
Location:
Canada
Thanks for all the help! Will post a URL shortly :)
Total Posts:
287
Karma:
1491
Joined:
4/3/2010
Location:
Canada
Hello and sorry for the delay - as luck would have it my domain reg died yesterday and GoDaddy goes to junk email. Anyways, the result is at http://www.troyonlinesales.com/htmlpage1.html http://www.troyonlinesales.com/t_1.png << screen grab ?Is the problem that the HTML doesn't "see" the CSS?? Don't know how to check that. Thanks much for any help, Dave
Total Posts:
276
Karma:
2101
Joined:
9/28/2012
Location:
Italy
Hi, missing this line in your htmlpage1.html <link href="/site.css" rel="stylesheet" type="text/css" /> <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <link href="/site.css" rel="stylesheet" type="text/css" /> <title></title> </head> <body> ASDASDADADSA <div class="dave"> TEST </div> <div class="carousel"> <carousel> TEST TEST</carousel> </div> </body> </html> and you have to load site.css file on your server. bye