3 Replies - 885 Views - Last Post: 07 March 2013 - 01:20 AM

#1 Exter_mi_nator  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 07-March 13

Css is not working.

Posted 07 March 2013 - 12:22 AM

Hi everybody! I'm experimenting with html and css.
I wrote css in style tags in html at first and it worked just fine, so I know it's valid.
Later I created html and external css in the same folder. Transferred css code in the external file.
Linked it correctly. Yet css is not working.

Here is my code! :
<head>

<title>

	Exter_mi_natoR

</title>

<link rel="stylesheet" type="text/css" href="Stylesheet.css" />

<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js'></script>

<script type="text/javascript" src="java.js"> </script>

</script>

</head>
 

Css stuff:
body {
	
	background-color: #F4EBC3;
	

}

#start-up {
	color: black;
	font-family: cursive;
	font-size: 2em;
	text-align: center;
	margin: 70px 200px 0px 200px;
	text-align:center;
	
}

#header {
	height: 50px;
	background-color: #F38630;
	
	border-radius: 5px;
}

#right {
	float: right; 
	background-color: #69D2E7;
	height: 700px;
	width: 10%;
	border-radius: 5px;
	margin-left:85%;
	position: fixed;
}



#left {
	float:left;
	background-color: #7E80D6;
	height: 700px;
	width: 15%;
	border-radius: 5px;
	
}

#red_button {
	border-radius: 100%;
	background-color: #FC0505;
	margin: auto;
	margin-top: 200px;
	height: 70px;
	width: 70px;
	border: 4px solid #5E3E3E;
	
	
}
#inner_red {
	border-radius: 100%;
	background-color: #FC0505;
	margin: 3px;
	height: 40px;
	width: 40px;
	border: 2px solid #141313;
	position: absolute;
}


Please help!

Is This A Good Question/Topic? 0
  • +

Replies To: Css is not working.

#2 andrewsw  Icon User is offline

  • It's just been revoked!
  • member icon

Reputation: 3608
  • View blog
  • Posts: 12,397
  • Joined: 12-December 12

Re: Css is not working.

Posted 07 March 2013 - 01:04 AM

You have an extra closing script tag.
Was This Post Helpful? 0
  • +
  • -

#3 Exter_mi_nator  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 07-March 13

Re: Css is not working.

Posted 07 March 2013 - 01:10 AM

Thanks, fixed that. No changes..?
I'm using Google chrome the latest version.
Was This Post Helpful? 0
  • +
  • -

#4 andrewsw  Icon User is offline

  • It's just been revoked!
  • member icon

Reputation: 3608
  • View blog
  • Posts: 12,397
  • Joined: 12-December 12

Re: Css is not working.

Posted 07 March 2013 - 01:20 AM

If the css is not working at all then it is most likely the css-file is not in the same location as the html file.

Clear your browsers' cache as well.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1