•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 402,373 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,099 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 1285 | Replies: 2 | Solved
![]() |
•
•
Join Date: Oct 2006
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 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:
Here's my html:
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:
This still does not work. The page in question is at http://www.18thtexasinfantry.org/tra...ain_V_3_B.html if anyone wants to see the page in question.
Thanks in advance!

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/tra...ain_V_3_B.html if anyone wants to see the page in question.
Thanks in advance!
Last edited by felonee63 : Oct 26th, 2006 at 1:31 pm.
the first problem with that is that u r not using correct css property
so use
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.
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.
Last edited by vishesh : Oct 26th, 2006 at 2:54 pm.
![]() |
•
•
•
•
•
•
•
•
DaniWeb HTML and CSS Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Css floating problem (HTML and CSS)
- Trying to use not tables, only CSS, but can I? (HTML and CSS)
- CSS & JS Menu Problem on IE (JavaScript / DHTML / AJAX)
- Css Fixed Background Attachment (Site Layout and Usability)
- WordPress Calendar CSS, anchor problem (HTML and CSS)
Other Threads in the HTML and CSS Forum
- Previous Thread: java script "log in screen"
- Next Thread: object.style.display



Linear Mode