0

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 <command> and <order>
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:<br><br>
 1. <command>Squad</command>. 2. <command>Right (or left)</command><order> - 

FACE</order>.</li><br><br>

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!

2
Contributors
2
Replies
3
Views
10 Years
Discussion Span
Last Post by felonee63
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.

0

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!

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.