944,201 Members | Top Members by Rank

Ad:
Oct 26th, 2006
0

CSS Working in FF, not in IE problem :)

Expand Post »
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:

HTML and CSS Syntax (Toggle Plain Text)
  1. command {
  2. color: c30000;
  3. font-style: italic;
  4. }
  5.  
  6. order {
  7. color: c30000;
  8. font-style: bold;
  9. }
Here's my html:

HTML and CSS Syntax (Toggle Plain Text)
  1. <li>Facings to the right or left will be executed in one <i>time</i>, or pause.
  2.  
  3. The instructor will
  4. command:<br><br>
  5. 1. <command>Squad</command>. 2. <command>Right (or left)</command><order> -
  6.  
  7. 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:


HTML and CSS Syntax (Toggle Plain Text)
  1. command {
  2. color: #c30000;
  3. font-style: italic;
  4. }
  5.  
  6. order {
  7. color: #c30000;
  8. font-style: bold;
  9. }

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 2:31 pm.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
felonee63 is offline Offline
2 posts
since Oct 2006
Oct 26th, 2006
0

Re: CSS Working in FF, not in IE problem :)

the first problem with that is that u r not using correct css property
so use
HTML and CSS Syntax (Toggle Plain Text)
  1. command {
  2. color: #c30000;
  3. font-style: italic;
  4. }
  5.  
  6. order {
  7. color: #c30000;
  8. font-weight: bold; // for making text bold
  9. }
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 3:54 pm.
Reputation Points: 85
Solved Threads: 42
Nearly a Posting Virtuoso
vishesh is offline Offline
1,362 posts
since Oct 2006
Oct 26th, 2006
0

Re: CSS Working in FF, not in IE problem :)

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!
Reputation Points: 10
Solved Threads: 0
Newbie Poster
felonee63 is offline Offline
2 posts
since Oct 2006

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: java script "log in screen"
Next Thread in HTML and CSS Forum Timeline: object.style.display





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC