Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default CSS and Mozilla

    I'm having some trouble with Mozilla not displaying CSS correctly. I have a very simple stylesheet controlling the hyperlink font(a:link, etc..). I can test it locally or from a network drive and it works just fine, however, once I post it to the webserver and view it from the outside it doesn't show up right. I get the default blue hyperlinks. It shows up just fine in Internet Explorer. Any suggestions?


    regicide webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. Mozilla
      Hi folks, Thanks for the suggestion on customisation. I'll try it out. Meanwhile I need to solve this. Mozilla open out to a Local Debian Start...
    2. Mozilla 1.3.1
      On Monday 28 July 2003 18:39, Jan Willem Stumpel wrote: I have this version in my /var/cache/apt/archives: mozilla_2%3a1.3.1-3_i386.deb...
    3. php xml mozilla confusion
      I created two different files with almost the exact same content. file.xml contains pure xml data file.php contains the exact same data except the...
    4. mozilla filters
      Hey all.. I was wondering if anyone knew where mozilla stored it's user-defined filters.. Every time I re-install linux I manage to keep my...
    5. mozilla 1.2.1Ab
      I am having more and more trouble lately using Netscape 4.7 on SCO 5.0.6. I used to be able to visit http://www.sco.com/ however now it crashes the...
  3. #2

    Default Re: CSS and Mozilla


    It's probably a problem with the link to your style sheet, rather than the
    style sheet itself. Test if it works if you put the style info directly into
    your HTML file.

    regicide wrote:
    > I'm having some trouble with Mozilla not displaying CSS correctly. I
    > have a very simple stylesheet controlling the hyperlink font(a:link,
    > etc..). I can test it locally or from a network drive and it works
    > just fine, however, once I post it to the webserver and view it from
    > the outside it doesn't show up right. I get the default blue
    > hyperlinks. It shows up just fine in Internet Explorer. Any
    > suggestions?

    rob :: digitalburn Guest

  4. #3

    Default Re: CSS and Mozilla

    "regicide" [email]webforumsuser@macromedia.com[/email] wrote:
    > I'm having some trouble with Mozilla not displaying CSS correctly. I have a very simple stylesheet controlling the hyperlink font(a:link, etc..). I can test it locally or from a network drive and it works just fine, however, once I post it to the webserver and view it from the outside it doesn't show up right. I get the default blue hyperlinks. It shows up just fine in Internet Explorer. Any suggestions?
    As Rob said it could be in how you link to the CSS file. Can you post a
    link to your page?

    It could also be the web server's fault, that is, Mozilla expects
    (requires?) that CSS files be sent with a mime type from the server
    indicating that it is a css file and may not recognize css files if they
    aren't sent with that mime type. If this is the case, then you'll need
    to contact your web host to have them add the proper mime type for CSS
    files.



    --
    Enjoy,
    Danilo Celic

    | Extending Knowledge, Daily
    | [url]http://www.CommunityMX.com/[/url]

    Those who aren't looking often have their eyes open widest.

    danilocelic Guest

  5. #4

    Default Re: CSS and Mozilla

    <link href="../base.css" rel="stylesheet" type="text/css">

    I have the stylesheet in my root and everything is linking to it. Since the stylesheet is so simple(just text), I just made a little template for page layout and css is only controlling text. I just wanted to be able to change the font, and a couple of other things, by editing one file. Internet explorer works fine. Mozilla works fine locally. I may setup a different server with Apache to see if there is any difference.



    regicide webforumsuser@macromedia.com Guest

  6. #5

    Default Re: CSS and Mozilla

    Agh... I found it. It was the doctype.



    regicide webforumsuser@macromedia.com Guest

  7. #6

    Default Re: CSS and Mozilla

    Well, I thought that's what it was. Isn't this right?

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html401--19991224/loose.dtd">

    Besides the text effect, I have a navbar that I have set some table attributes to. I get the same effect if I use

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

    Am I right in believing that either one of these should work? If I use

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

    then I get the correct links, but I.E. loses some formatting. Ideas? I know I'm a little green at this but shouldn't these work?




    regicide webforumsuser@macromedia.com Guest

  8. #7

    Default Re: CSS and Mozilla

    I'm no expert on this I'm afraid. I usually just use this and hope for the
    best:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">


    regicide wrote:
    > Well, I thought that's what it was. Isn't this right?
    >
    > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    > "http://www.w3.org/TR/html401--19991224/loose.dtd">
    >
    > Besides the text effect, I have a navbar that I have set some table
    > attributes to. I get the same effect if I use
    >
    > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    > "http://www.w3.org/TR/html4/loose.dtd">
    >
    > Am I right in believing that either one of these should work? If I use
    >
    > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    >
    > then I get the correct links, but I.E. loses some formatting. Ideas?
    > I know I'm a little green at this but shouldn't these work?

    rob :: digitalburn Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139