This is a discussion on "Why Style sheet isnt working" within the Web Page Design section. This forum, and the thread "Why Style sheet isnt working are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Why Style sheet isnt working
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Why Style sheet isnt working
Hi,
can someone tell me why my style sheet(below) isnt working? thanx
Last edited by welshstew; Dec 10th, 2007 at 13:46. Reason: add tags |
|
|
|
||||
|
Re: Why Style sheet isnt working
are you able to post a link to your page, or put up your full css and html for us to look at.
Thanks
__________________
WelshStew Lead Administrator tierney rides tboard - uk site | xtreme wales - extreme clothing If you think I've helped, click the "Thanks" webforumz - facebook | LinkedIn
Last Blog Entry: Web Standards Curriculum Launched (Jul 8th, 2008)
|
|
|||
|
Re: Why Style sheet isnt working
Probably because it's invalid CSS!
|
|
|||
|
Re: Why Style sheet isnt working
Mike's right! Invalid CSS caused a lot of problems...
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
|
|
|||
|
Re: Why Style sheet isnt working
check out your .onlineregister style! You got double "{" in it!
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
Last edited by Monie; Dec 11th, 2007 at 02:42. |
|
|||
|
Re: Why Style sheet isnt working
I've made the changes, but I'm not getting the desired result. I'm gonna highlight the tags in question, and I'm also going to post the HTML code as well.
body { background-color : #fffafa; } .ictdnews { font-family : Arial; font-weight : bold; font-size : x-large; } .ictdmain { background-color : #00ff00;width:400; } .online { color : #000000; font-family : Arial; font-size:16 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Untitled</title> <link href="news.css." rel="stylesheet" type="text/css" /> <style type="text/css"> </head> <body> <p class="ictdnews">ictd news</p td width="400"valign="top" class="ictdmain"><h4 class="networking">New online Register to be installed</h4> thanx |
|
|||
|
Re: Why Style sheet isnt working
What are you trying to accomplish?
|
|
|||
|
Re: Why Style sheet isnt working
I want the.ictd news to be in large print and the table to render the background color as shown in the stylesheet. But nothing is happening.
|
|
|||
|
Re: Why Style sheet isnt working
Is this the name of your css file(part I highlighted in red)
Oh I just noticed.. you have a period after the news.css Delete that period. |
|
|||
|
Re: Why Style sheet isnt working
ooh, to add... you haven't closed your .online with }
|
|
|||
|
Re: Why Style sheet isnt working
but apart from that it's really pretty. well done :-)
|
|
|||
|
Re: Why Style sheet isnt working
Quote:
Last Blog Entry: First Post! (Apr 18th, 2008)
|
|
|||
|
Re: Why Style sheet isnt working
Hi, I've made the changes you've suggested. However, the background color for the main table(t.ictdmain) is not showing. I'm at my wits end. here is the style sheet and html with the tag in question highlighted.
Last edited by welshstew; Dec 17th, 2007 at 17:23. Reason: add tags |
|
||||
|
Re: Why Style sheet isnt working
Please provide a link ... there may be something else fudging this.
|
|
||||
|
Re: Why Style sheet isnt working
your css still isn't validating.
you need to remove the commas within the border style for .ictdnews so that it reads border:solid thin #000000; not border:solid,thin,#000000;
__________________
WelshStew Lead Administrator tierney rides tboard - uk site | xtreme wales - extreme clothing If you think I've helped, click the "Thanks" webforumz - facebook | LinkedIn
Last Blog Entry: Web Standards Curriculum Launched (Jul 8th, 2008)
|
|
|||
|
Re: Why Style sheet isnt working
Looks like you guys have sharper eyes than me
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
|||
|
Re: Why Style sheet isnt working
Quote:
the link for the page is:http://kazmania.110mb.com/indexx.htm css link is :http://kazmania.110mb.com/newss.htm Last edited by kaz; Dec 20th, 2007 at 10:29. Reason: missing letter in URL |
|
|||
|
Re: Why Style sheet isnt working
links not working for me.
|
|
|||
|
Re: Why Style sheet isnt working
not for me too, DEAD link.
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Adding a style sheet to an RSS feed problem | Andrew1986 | Other Programming Languages | 5 | Feb 19th, 2008 10:31 |
| CSS Print Style Sheet Problem | bennyboy7 | Web Page Design | 1 | Aug 14th, 2007 08:58 |
| new to css: what's the best way to insert image using the external style sheet? | mad samuel | Web Page Design | 14 | Aug 10th, 2007 17:52 |
| How to tell IE7 to use a pariticular style in a single style sheet | figo2476 | Web Page Design | 5 | May 25th, 2007 14:23 |
| Linking to an external style sheet | ahm531 | Web Page Design | 6 | Aug 31st, 2006 13:23 |