9 replies [Last post]
kaymeis
Offline
newbie
Accra. Ghana
Last seen: 9 years 25 weeks ago
Accra. Ghana
Joined: 2009-10-26
Posts: 6
Points: 8

hi,

Can some one take a look at my HTML and CSS CODE and tell me why it's not rendering? Only the background color is is working.

CSS

body{background-color:#87ceeb;
}

img.akshion{display:block;
width:640px;
height:400px;
background:blue;

}

.akshion{font-size:24;
font-weight:bold;
color: #66ccff;
font-style: italic;
text-align: left;
}

HTML

Your Title Here

Ak-Shion

Ak-Shion

Dillon
Offline
newbie
Last seen: 12 years 29 weeks ago
Timezone: GMT-4
Joined: 2009-08-29
Posts: 10
Points: 11

Hello kaymeis, would you be

--delete post please :D-- i accidentally double posted

Dillon
Offline
newbie
Last seen: 12 years 29 weeks ago
Timezone: GMT-4
Joined: 2009-08-29
Posts: 10
Points: 11

Hello kaymeis, would you be

Hello kaymeis, would you be able to post up your html, I will take a look through it and try to help you.

-Dillon

kaymeis
Offline
newbie
Accra. Ghana
Last seen: 9 years 25 weeks ago
Accra. Ghana
Joined: 2009-10-26
Posts: 6
Points: 8

Dillon, here is the link:

wolfcry911
wolfcry911's picture
Offline
Guru
MA, USA
Last seen: 8 years 11 weeks ago
MA, USA
Timezone: GMT-5
Joined: 2004-09-01
Posts: 3224
Points: 237

kaymeis, don't know if you

kaymeis, don't know if you were aware, but geocities is officially dead starting today.
you can use code tags around the css and html in your post.

Dillon
Offline
newbie
Last seen: 12 years 29 weeks ago
Timezone: GMT-4
Joined: 2009-08-29
Posts: 10
Points: 11

Ok, I think I found the

Ok, I think I found the error, see on in the head section of your code, you have a reference to a .css file , you had another style tag opened on your html code, try using the code that I pasted below on your html file! Hope this helps! Big smile

<script language="JavaScript">var PUpage="76001067"; var PUprop="geocities"; </script><script language="JavaScript" src="http://www.geocities.com/js_source/pu5geo.js"></script><script language="JavaScript"> var thGetOv="http://themis.geocities.yahoo.com/themis/h.php"; var thCanURL="http://us.geocities.com/kkisie2000/index.htm"; var thSpaceId="76001067"; var thIP="24.213.151.2"; var thTs="1256573886"; var thCs="b443381ed531000faff09194498bad41";</script><noscript><link rel="stylesheet" href="http://themis.geocities.yahoo.com/jsoff.css?thIP=24.213.151.2&thTs=1256573886"></noscript><script language="JavaScript" src="http://us.geocities.com/js_source/geovck08.js"></script>
<!-- text above generated by server. PLEASE REMOVE -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<link href="atk.css" rel="stylesheet" type="text/css" />
 
<title> Your Title Here </title>
 
<meta name="Generator" content="Alleycode HTML Editor">
<meta name="Description" content="Your description here...">
<meta name="Keywords" content="Your keywords here...">
</head>
 
<body>
<!-- following code added by server. PLEASE REMOVE -->
<link href="http://us.geocities.com/js_source/div.css" rel="stylesheet" type="text/css"><script language="JavaScript" src="http://us.geocities.com/js_source/div03.js"></script>
<!-- preceding code added by server. PLEASE REMOVE -->
 <img src="ak-shion.gif" width="640" height="400" alt="Ak-Shion" class="akshion"/>
 
<h1 class="akshion">Ak-Shion <h1/>
</body>
</html>
<!-- text below generated by server. PLEASE REMOVE --></object></layer></div></span></noscript></table></script></applet><script language="JavaScript" src="http://us.i1.yimg.com/us.yimg.com/i/mc/mc.js"></script><script language="JavaScript" src="http://us.js2.yimg.com/us.js.yimg.com/lib/smb/js/hosting/cp/js_source/geov2_001.js"></script><script language="javascript">geovisit();</script><noscript><img src="http://visit.geocities.yahoo.com/visit.gif?us1256573886" alt="setstats" border="0" width="1" height="1"></noscript>
 
<IMG SRC="http://geo.yahoo.com/serv?s=76001067&t=1256573886&f=us-w7" ALT=1 WIDTH=1 HEIGHT=1>

-Dillon

kaymeis
Offline
newbie
Accra. Ghana
Last seen: 9 years 25 weeks ago
Accra. Ghana
Joined: 2009-10-26
Posts: 6
Points: 8

Dillon, I believe geocities

Dillon,

I believe geocities caused that. here is the original HTML code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<link href="atk.css" rel="stylesheet" type="text/css" />
<style type="text/css">
 
<title> Your Title Here </title>
 
<meta name="Generator" content="Alleycode HTML Editor">
<meta name="Description" content="Your description here...">
<meta name="Keywords" content="Your keywords here...">
</head>
 
<body>
 
<h1 class="akshion">Ak-Shion <h1/>
<img src="ak-shion.gif" width="640" height="400" alt="Ak-Shion" class="akshion"/>
 
</body>
</html>

Edit/ Code tags added, they are explained in the box above the posting window!!

kaymeis
Offline
newbie
Accra. Ghana
Last seen: 9 years 25 weeks ago
Accra. Ghana
Joined: 2009-10-26
Posts: 6
Points: 8

Dillon, I believe geocities

Dillon,

I believe geocities caused that. here is the original HTML code:

 
<h1 class="akshion">Ak-Shion <h1/>
<img src="ak-shion.gif" width="640" height="400" alt="Ak-Shion" class="akshion"/>
 
</body>
</html>

edit/ code tags added, please check the instructions above posting window!

Dillon
Offline
newbie
Last seen: 12 years 29 weeks ago
Timezone: GMT-4
Joined: 2009-08-29
Posts: 10
Points: 11

Hm... for some reason your

Hm... for some reason your code isnt appearing to me, are you putting it into the "

" tag?
 
-Dillon

kaymeis
Offline
newbie
Accra. Ghana
Last seen: 9 years 25 weeks ago
Accra. Ghana
Joined: 2009-10-26
Posts: 6
Points: 8

Dillon, mind explaining?

Dillon,

mind explaining?