Results 1 to 3 of 3
  1. #1
    satyaprsp is offline Member
    Join Date
    Aug 2010
    Posts
    2
    Rep Power
    0

    Default browser compatibility..CSS code is working in Mozilla but not in IE

    Hi,

    Im facing some browser compatibility issues. My CSS Styles are working in Mozilla but not in IE7.

    CSS code:
    .MyCSS{
    FONT-SIZE: 15px;
    COLOR: #006699;
    FONT-WEIGHT: BOLD;
    }

    jsp code :

    <div class="MyCSS">
    Some Text Here
    </div>


    Text should come in some blue color with bold but its not happening in Internet Explorer . Can anyone help me .

    Thanks in advance !!

  2. #2
    travishein's Avatar
    travishein is offline Senior Member
    Join Date
    Sep 2009
    Location
    Canada
    Posts
    684
    Rep Power
    6

    Default

    wow, that looks pretty simple CSS, and to not work in I.E. 7!

    Well, it's probably a spacing issue. Maybe I.E. really wants to have space between {
    or no space between the : and value.

    Its also possible the way the .css is included, in the <link> tag needs to be done differently for it to work in I.E.

    Maybe have a look at one of those I.E. browser work around sites, like /* Position Is Everything */ &mdash; Modern browser bugs explained in detail!

  3. #3
    steelshark is offline Member
    Join Date
    Aug 2009
    Posts
    25
    Rep Power
    0

    Default

    Don't use uppercase spelling your css/html/jsp files...
    It's not correct by the W3C standards...

Similar Threads

  1. Replies: 1
    Last Post: 08-19-2010, 01:47 PM
  2. Applet working in Eclipse but not in browser
    By leeloo in forum Java Applets
    Replies: 7
    Last Post: 07-05-2010, 02:24 AM
  3. Replies: 15
    Last Post: 03-25-2010, 03:34 PM
  4. Applet not working in browser
    By gkr1989 in forum Java Applets
    Replies: 3
    Last Post: 07-03-2009, 10:43 AM
  5. Mozilla using the same session ID for different browser
    By ajith_raj in forum Advanced Java
    Replies: 1
    Last Post: 04-23-2009, 01:31 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •