Jump to content

CSS is not working quite right and I don't know why.


Recommended Posts

The ".dent" css will not work. It should indent the text but it is not. It appears to do everything else correctly though. Its really weird (“I” before “E” except after “C” [or not]). File is at [a href=\"http://www.firemelt.net/.02page1.php\" target=\"_blank\"]http://www.firemelt.net/.02page1.php[/a] if you want to see what it is doing.

what is wrong? or if nothing wrong how do i fix the problem?

Here’s the css:
[code]P
{
   COLOR: #FFFFFF;
   TEXT-INDENT:20pt;
   LINE-HEIGHT:15pt;
   WORD-SPACING:2pt;
   FONT-FAMILY:COURIER;
}


TABLE
{
   COLOR: #FFFFFF;
   LINE-HEIGHT:15pt;
   WORD-SPACING:2pt;
   FONT-FAMILY:COURIER;
}


BODY
{
   BACKGROUND: #000000;
}


A:LINK
{
   COLOR: #ff9900;
}


A:VISITED
{
   COLOR: #999999;
}


HR
{
   COLOR: #0000FF;
}


.SECONDHAND
{
   COLOR: #FF0000;
   TEXT-INDENT:0pt;
   LINE-HEIGHT:15pt;
   WORD-SPACING:2pt;
   FONT-FAMILY:COURIER;
}


.pleft
{
   COLOR: #FFFFFF;
   LINE-HEIGHT:15pt;
   WORD-SPACING:2pt;
   FONT-FAMILY:COURIER;
}


INPUT
{
   COLOR: #FFFFFF;
   BACKGROUND:TRANSPARENT;
   BORDER: #0000FF;
   BORDER-STYLE:SOLID;
   BORDER-TOP-WIDTH:1px;
   BORDER-LEFT-WIDTH:1PX;
   BORDER-RIGHT-WIDTH:1PX;
   BORDER-BOTTOM-WIDTH:1PX;
   FONT-FAMILY:COURIER;
}


TEXTAREA
{
   COLOR: #FFFFFF;
   BACKGROUND:TRANSPARENT;
   BORDER: #0000FF;
   BORDER-STYLE:SOLID;
   BORDER-TOP-WIDTH:1px;
   BORDER-LEFT-WIDTH:1PX;
   BORDER-RIGHT-WIDTH:1PX;
   BORDER-BOTTOM-WIDTH:1PX;
   FONT-FAMILY:COURIER;
}


.dent
{
   COLOR: #FFFFFF;
   TEXT-INDENT:20pt;
   LINE-HEIGHT:15pt;
   WORD-SPACING:2pt;
   FONT-FAMILY:COURIER;
}[/code]


and here’s the html file:
[code]<html>
<head>
<link href="css.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#000000">

<p>O.K. Now that that is clear, I was reading an article on why hybrid cars are so good and why we need to implement them in America and I had a few thoughts on some designs for hybrid cars. I figure building it all into one unit is the only way to efficiently save on gas! Here’s what I think.</p>

<span class="pleft">Hybrid car design concept #1<br /><br /></span>

<span class="dent">&gt; They have a lot of RPMs.<br /></span>

</body>
</html>[/code]
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.