css not working on site

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

  1. #1

    Default css not working on site

    I have recently used dreamweaver and I am trying to validate. I have the design
    look ok in the program, but on server it seems that it is not using the css.
    <link rel="stylesheet" type="text/css" href="SwimTeam.css">
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">

    When I remove the doctype The site looks correct.

    any suggestions
    palyswimteam.com

    jj



    3pack105 Guest

  2. Similar Questions and Discussions

    1. cookies not working after site migration
      Hi everyone We recently migrated our site to new hosts (still with linux), and am now finding that it is not picking up client cookies. I only set...
    2. Unable to access site previouly working
      A connection that was working for months has now stopped working. Using either Contribute CS4 or 3 I can go through all steps to creating a...
    3. New site almost working - Help
      I have looked at helps from past discussions and have tried several suggestions, but my form still will not mail back to me. Is my form wrong? I...
    4. Urgent:Passport site not working(Can any MVP/MS guy help)
      I've installed passport sdk on to windows 2003 and I have received a key from netservicesmanager.com. I have set securelevel in the registry to 0....
    5. OT - JAlbum site - is it working and how do I integrate it into a webpage already made with DW
      I have been suggested to use JAlbum (http://www.datadosen.se/jalbum) for doing thumbnail pics for photos etc. Is the site working for anyone? I...
  3. #2

    Default Re: css not working on site

    The link to the stylesheet cannot be *above* the doctype.

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================


    "3pack105" <webforumsuser@macromedia.com> wrote in message
    news:eeumbl$p7s$1@forums.macromedia.com...
    >I have recently used dreamweaver and I am trying to validate. I have the
    >design
    > look ok in the program, but on server it seems that it is not using the
    > css.
    > <link rel="stylesheet" type="text/css" href="SwimTeam.css">
    > <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    > "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
    >
    > When I remove the doctype The site looks correct.
    >
    > any suggestions
    > palyswimteam.com
    >
    > jj
    >
    >
    >

    Murray *ACE* Guest

  4. #3

    Default Re: css not working on site

    This is the order


    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
    <html>
    <head>
    <title>Palisades YMCA Swim Team</title>
    <meta name="Description" content="Palisades YMCA Swim Team in Pacific
    Palisades California">
    <meta name="Keywords" content="Swim Team,YMCA Swimming,Swimming,Palisades Swim
    Team">
    <meta name="designer" content="JP Bellwether">
    <meta http-equiv="Content-Language" content="en-us">
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <meta http-equiv="imagetoolbar" content="false">
    <link rel="stylesheet" type="text/css" href="SwimTeam.css">
    <link rel="stylesheet" type="text/css" href="Scripts/Menu/pop_style.css">
    </head>
    <body>

    3pack105 Guest

  5. #4

    Default Re: css not working on site

    Not exactly what I've seen for that doctype...

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

    Also, the doctype should be first (usually).

    John Gillett Guest

  6. #5

    Default Re: css not working on site

    Sorry. Wrote my post and then was delayed before actually submitting it.

    You have 2 css calls in there. Are you sure something in pop_style.css is not overlaying something in SwimTeam.css?
    John Gillett Guest

  7. #6

    Default Re: css not working on site

    There is nothing in the first stylesheet.

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================


    "John Gillett" <webforumsuser@macromedia.com> wrote in message
    news:eeup3h$si6$1@forums.macromedia.com...
    > Sorry. Wrote my post and then was delayed before actually submitting it.
    >
    > You have 2 css calls in there. Are you sure something in pop_style.css is
    > not overlaying something in SwimTeam.css?

    Murray *ACE* Guest

  8. #7

    Default Re: css not working on site

    that is the menu system

    palyswimteam.com

    you will see the menu on the left.

    jj
    3pack105 Guest

  9. #8

    Default Re: css not working on site

    This used to work when I used frontpage. I am now working is Dreamweaver and
    very happy about the program. If there is nothing in the first css. How would I
    change that. I do have two css next to each other.

    thanks

    jj

    3pack105 Guest

  10. #9

    Default Re: css not working on site

    Actually there is data in both css files. One is for the page in general, the
    other is used by your menu system. So - both calls should stay.

    In Firefox your menu is in the wrong place. That you will have to adjust in
    the script you're using.

    Also, your code is somewhat messed up in the link you posted above. It messes
    up here...

    <div class="footer">

    <HTML>

    <HEAD>
    <META http-equiv="Content-Language" content="en-us">
    <META http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <TITLE>footer</TITLE>
    </HEAD>

    <BODY>

    <p align="left">


    <font face="Times New Roman" size="2">E-mail:&nbsp;&nbsp; </font>

    <font face="Times New Roman" color="#000080" size="2">
    <a href="mailto:3Pack@msn.com">Site Administrator</a></font><font face="Times
    New Roman" size="2"><br>
    Contents of this and all associated pages are Copyright © 2006
    [PalySwimTeam.com].
    All rights reserved.</font>
    </p>

    </BODY></HTML>
    </div>



    </body>
    </html>

    You've started another document in the middle of the existing page, which you
    can't do. This needs to be fixed.


    John Gillett 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