header divs using frontpage 2003

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • quartzy
    New Member
    • Dec 2007
    • 18

    header divs using frontpage 2003

    I have a problem, I am learning CSS and using frontpage to help me along. I am creating a website and already have difficulties, the header div is OK but the next div the layer 1 will not show when previewed in the firefox browser, I have a total of four divs on the page and they all show except this div.
    Here is the code I have for it,

    div.IDlayer1 { background color: #6600CC; text-decoration: none;
    font-family: verdana, serif, arial, times new roman; text-color:
    #FFFFFF; padding: 5px; color: #FFFFFF; font-size:12pt;
    text-align: right; font-weight:bold; float:left;
    left: 1px; top: 199px; width:799px; z-index: 0;}

    Is there anything wrong with this code? I have checked it and all seems OK but the div just will not show. Cannot figure it out. Thanks for any responses.
  • drhowarddrfine
    Recognized Expert Expert
    • Sep 2006
    • 7434

    #2
    It depends. Showing the CSS only is like showing us a coloring book without the lines. We need the whole picture so show the HTML also.

    In your css, it's 'background-color' with a hyphen.

    There is no such thing as 'text-color'. To color test, it's just 'color'.

    Comment

    • quartzy
      New Member
      • Dec 2007
      • 18

      #3
      hello
      thanks for replying to my post. I have started again and this time it works fine, but it is good to know this forum exists while I am learning.

      Comment

      • drhowarddrfine
        Recognized Expert Expert
        • Sep 2006
        • 7434

        #4
        Beware of FrontPage. It produces markup so bad, even Microsoft dropped it. If you are just learning, I suggest you code by hand, using a simple text editor like Notepad.

        Comment

        Working...