954,184 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

CSS Working in FF, not in IE problem :)

Here's my problem :)

I'm working on some stuff for our website, that is about 900 pages in Word, and having to code it in HTML. To make it faster for myself, I've created two text styles and
Here's my stylesheet:

command {
    color: c30000;
    font-style: italic;
}

order {
    color: c30000;
    font-style: bold;
}



Here's my html:

<li>Facings to the right or left will be executed in one <i>time</i>, or pause. 

The instructor will
    command:
 1. <command>Squad</command>. 2. <command>Right (or left)</command><order> - 

FACE</order>.</li>



Firefox is interpreting all of this correctly. IE is not showing the italics, OR the colors, OR the bolding.

Can someone please assist?

I've tried changing my CSS to:

command {
    color: #c30000;
    font-style: italic;
}

order {
    color: #c30000;
    font-style: bold;
}

This still does not work. The page in question is at http://www.18thtexasinfantry.org/training/train_V_3_B.html if anyone wants to see the page in question.

Thanks in advance!

felonee63
Newbie Poster
2 posts since Oct 2006
Reputation Points: 10
Solved Threads: 0
 

the first problem with that is that u r not using correct css property
so use

command {
    color: #c30000;
    font-style: italic;
}

order {
    color: #c30000;
    font-weight: bold;  // for making text bold
}



however u must use classes ans id's instead. since the tags u using are not valid html tags, they could be ignored by the browser.

vishesh
Nearly a Posting Virtuoso
1,381 posts since Oct 2006
Reputation Points: 85
Solved Threads: 42
 

Thanks for taking the time to respond. Your response didn't give me the answer that I needed, but it did spark a memory of having this issue before.

I forgot about using <span class=""> and my problem is corrected now!

felonee63
Newbie Poster
2 posts since Oct 2006
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You