View Full Version : [P class="head"]...why is it going wrong?


dizzyjess
10-13-2005, 06:59 PM
Heya.

Recently I've been getting really stressed about my pclasshead not working properly. My stylesheet is http://jess.innocentsparkle.com/style.css & you'll see at the bottom is the head part... it works fine when I put "<p class="head">TITLE</p> on my sidebar but when I put it on another page: http://jess.innocentsparkle.com/credits.php it makes all the text into the head. Does anyone know why this is happening & have something to help me?
Thanx for reading
Leave a message on the gbook or post here.
Jess.xxx.

Monkey Bizzle
10-13-2005, 07:05 PM
Your stylesheet should look like this:

A:link
{text-decoration: none;
font-weight: bold;
color: #CC33CC;
cursor: crosshair;}

A:visited
{text-decoration: none;
font-weight: bold;
color: #CC33CC;}

A:active
{text-decoration: none;
font-weight: bold;
color: #CC33CC;}

A:hover
{text-decoration: underline;
cursor: nw-resize;
font-weight: bold;
color: #993399;
font-family: Georgia;
letter-spacing: 0;
font-size: 7.5pt;}

body
{background-color: transparent;
font-family: Gerogia;
color: #CC33CC;
letter-spacing: 0;
font-weight: normal;
font-size: 7.5pt;
text-align:center;
scrollbar-base-color: #CC33CC;
scrollbar-arrow-color: #000000;
scrollbar-3dlight-color: #CC33CC;
scrollbar-darkshadow-color: fuschia;
scrollbar-face-color: #CC33CC;
scrollbar-highlight-color: #000000;
scrollbar-shadow-color: #CC33CC;
scrollbar-track-color: transparent;
cursor:crosshair;}

p
{text-align: justify;}

td
{font-family: Georgia;
color: #CC33CC;
letter-spacing: 0;
font-weight: normal;
font-size: 7.5pt;
line-height: 1px;
text-align: center;
padding: 0cm;}

input, textarea
{background-color: #000000;
font-family: Tahoma;
color: #CC33CC;
letter-spacing: 0;
font-weight: normal;
font-size: 7.5pt;
border-style: solid;
border-color: #CC33CC;
border-width: 2px;}

.head
{color: white;
letter-spacing: 0;
font-family: Georgia;
text-align: center;
font-weight: bold;
font-size: 9px;
background-color: #CC33CC;}

dizzyjess
10-13-2005, 07:16 PM
http://jess.innocentsparkle.com/me/facts.php
^That's what came up when I put it in.

Monkey Bizzle
10-13-2005, 08:52 PM
notice in my code, i don't have <style> tags? that's because you don't put them in external style sheets ;)

also, the <link href> code goes in the <head> section of your page.

dizzyjess
10-14-2005, 06:30 PM
:mad:...everything you're saying is making sense but the text like overlaps on its self! Have a look...!!! (http://jess.innocentsparkle.com)

Monkey Bizzle
10-14-2005, 07:08 PM
Your text is inside a table cell, and in your CSS, you have:

td
{font-family: Georgia;
color: #CC33CC;
letter-spacing: 0;
font-weight: normal;
font-size: 7.5pt;
line-height: 1px;
text-align: center;
padding: 0cm;}

get rid of the bold line and it will work =)

dizzyjess
10-14-2005, 10:06 PM
Yay! The text is readable now! But still....the whole table turns into a pclasshead whenever I put the code at the top =( here. (http://jess.innocentsparkle.com/me/facts.php)
I'm really sorry if I'm being annoying but I am so despearte to get this all fixed so I can start advertising & everything.

Monkey Bizzle
10-16-2005, 10:42 PM
According to the validator, you can't use the <p> tag there... Not sure why but you might try <div class="head"></div>. I think that would work.

dizzyjess
10-22-2005, 02:01 PM
Thankyou! It works! Thankyou so much!

Monkey Bizzle
10-23-2005, 10:12 PM
Thankyou! It works! Thankyou so much!

Yay! You're welcome =)

iTom
10-25-2005, 11:01 AM
I know you've fixed it now, but I'd just like to point out it doesn't load on my browser... I have a 2.2mb connection.