5 Replies - 1956 Views - Last Post: 18 December 2013 - 03:46 PM Rate Topic: -----

#1 DblAAssassin  Icon User is offline

  • D.I.C Regular

Reputation: 34
  • View blog
  • Posts: 261
  • Joined: 11-May 13

CSS Crisis

Posted 16 July 2013 - 04:39 PM

I'm happy to say this is the worst code, that my eyes have had to see! :)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

		<title>Internal CSS Styles</title>

  
<style type="text/css">
		
		h1, h2	
			{color:#666666;
			fond-family:verdana,arial,sans-serif;}
		
		h1	
		/*	{color:#315DCC;
		  	fond-family:verdana,arial,sans-serif; */
			fond-size:26px;}


		h2	
		/*	{color:#315DCC;
		  	fond-family:verdana,arial,sans-serif; */
			fond-size:14px;}
		p	
			{fond-family:verdana,arial;
			color:#333333;	
			fond-size:12px;}

		.redtxt{
			color:red;}

</style>



	</head>
	<body>
<h1>Cool Photos from the Hubble Space Telescope</h1>
<p> The Hubble Space telescope has captured many <span class="redtxt">truly remarkable </span>images over the <em class="redtxt">last 18 </em>years.</p>
<h2>Learn more</h2>
<p>There are so many pages in NASA website. </p>
</body>
</html>


Is This A Good Question/Topic? 0
  • +

Replies To: CSS Crisis

#2 megabit  Icon User is offline

  • D.I.C Head

Reputation: 17
  • View blog
  • Posts: 79
  • Joined: 03-May 13

Re: CSS Crisis

Posted 21 July 2013 - 11:54 PM

View PostDblAAssassin, on 16 July 2013 - 04:39 PM, said:

I'm happy to say this is the worst code, that my eyes have had to see! :)/>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

		<title>Internal CSS Styles</title>

  
<style type="text/css">
		
		h1, h2	
			{color:#666666;
			fond-family:verdana,arial,sans-serif;}
		
		h1	
		/*	{color:#315DCC;
		  	fond-family:verdana,arial,sans-serif; */
			fond-size:26px;}


		h2	
		/*	{color:#315DCC;
		  	fond-family:verdana,arial,sans-serif; */
			fond-size:14px;}
		p	
			{fond-family:verdana,arial;
			color:#333333;	
			fond-size:12px;}

		.redtxt{
			color:red;}

</style>



	</head>
	<body>
<h1>Cool Photos from the Hubble Space Telescope</h1>
<p> The Hubble Space telescope has captured many <span class="redtxt">truly remarkable </span>images over the <em class="redtxt">last 18 </em>years.</p>
<h2>Learn more</h2>
<p>There are so many pages in NASA website. </p>
</body>
</html>


Lol, what is this, CSS4?
Was This Post Helpful? 1
  • +
  • -

#3 CasiOo  Icon User is online

  • D.I.C Lover
  • member icon

Reputation: 1428
  • View blog
  • Posts: 3,172
  • Joined: 05-April 11

Re: CSS Crisis

Posted 10 August 2013 - 07:26 AM

It isn't even valid CSS. There are missing brackets because of the comments
Was This Post Helpful? 1
  • +
  • -

#4 tony12095  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 14
  • View blog
  • Posts: 109
  • Joined: 23-October 12

Re: CSS Crisis

Posted 20 October 2013 - 06:25 PM

HA, i love how you write the h1, h2 at the top, define everything, and then take the time to go through h1 and h2 seperately below! Nice nightmare :)/>
Was This Post Helpful? 0
  • +
  • -

#5 magius96  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 71
  • View blog
  • Posts: 789
  • Joined: 15-April 09

Re: CSS Crisis

Posted 29 October 2013 - 12:43 PM

Hmm....what is a fond and what does setting it's size do? :whistling:
Was This Post Helpful? 2
  • +
  • -

#6 salazar  Icon User is offline

  • D.I.C Addict

Reputation: 87
  • View blog
  • Posts: 539
  • Joined: 26-June 13

Re: CSS Crisis

Posted 18 December 2013 - 03:46 PM

View Postmegabit, on 21 July 2013 - 11:54 PM, said:

View PostDblAAssassin, on 16 July 2013 - 04:39 PM, said:

I'm happy to say this is the worst code, that my eyes have had to see! :)/>/>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

		<title>Internal CSS Styles</title>

  
<style type="text/css">
		
		h1, h2	
			{color:#666666;
			fond-family:verdana,arial,sans-serif;}
		
		h1	
		/*	{color:#315DCC;
		  	fond-family:verdana,arial,sans-serif; */
			fond-size:26px;}


		h2	
		/*	{color:#315DCC;
		  	fond-family:verdana,arial,sans-serif; */
			fond-size:14px;}
		p	
			{fond-family:verdana,arial;
			color:#333333;	
			fond-size:12px;}

		.redtxt{
			color:red;}

</style>



	</head>
	<body>
<h1>Cool Photos from the Hubble Space Telescope</h1>
<p> The Hubble Space telescope has captured many <span class="redtxt">truly remarkable </span>images over the <em class="redtxt">last 18 </em>years.</p>
<h2>Learn more</h2>
<p>There are so many pages in NASA website. </p>
</body>
</html>


Lol, what is this, CSS4?



More like CSS 0.92 beta.
Was This Post Helpful? 1
  • +
  • -

Page 1 of 1