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

  1. #1

    Default CSS problem in IE

    I know what you're thinking, IE sucks for CSS, but so far I've had few problems
    and this is the biggest. I have a web site with two boxes, identical in every
    way excep the graphics and copy. Each box consists of two divs. The outer one
    has a one pixel high stretchable graphic to fill in the space should the box
    get too big. The inside div starts with the header graphic followed by a
    paragraph then a footer graphc to create the bottom edge of the border. This
    div also has a graphic background that doesn't repeat. The top box works as
    expected but the lower box doesn't. I've combed through the CSS and code and
    can't figure out why this is happening. Firefox and Safari both render the
    page as expected. I've attached the code for the relevant sections below. The
    page with the problem is the home page for [url]http://www.metamatrix.com[/url].



    HTML:

    <div id="blue_stretch">
    <div class="blue_bckgd" id="intro"><img
    src="images/landing_pages/intro_mm_dimensions.jpg" />
    <p>Create optimized, XML-schema-compliant Web services from relational
    data sources.</p>
    <p><a href="pages/mm5_announce.htm">learn more...</a></p>
    <img src="images/landing_pages/intro_blue_bottom.jpg" />
    </div>
    </div>
    <div id="orange_stretch">
    <div class="orange_bckgd" id="intro"><img
    src="images/landing_pages/intro_mm_query.jpg" />
    <p>Java distributed query component accesses and federates data from
    heterogeneous relational databases.</p>
    <p><a href="pages/mm_query_announce.htm">learn more...</a></p>
    <img src="images/landing_pages/intro_orange_bottom.jpg" />
    </div>
    </div>

    CSS:

    #intro {
    margin-top: 17px;
    }
    #intro p {
    padding: 9px 9px 0px;
    font-size: 12px;
    color: #ffffff;
    line-height: 18px;
    }
    #intro.blue_bckgd {
    background: url(../images/landing_pages/intro_blue_bckgd.jpg) no-repeat;
    }
    #blue_stretch {
    background: url(../images/landing_pages/intro_blue_stretch.jpg) repeat-y;
    }
    #intro.orange_bckgd {
    background: url(../images/landing_pages/intro_orange_bckgd.jpg) no-repeat;
    }
    #orange_stretch {
    background: url(../images/landing_pages/intro_orange_stretch.jpg) repeat-y;
    }
    #intro.blue_bckgd a {
    border: 1px solid #2d4c65;
    padding: 4px;
    background: #edf6ff;
    color: #2d4c65;
    font-size: 11px;
    text-decoration: none;
    margin-left: 88px;
    }
    #intro.blue_bckgd a:hover {
    background: #2d4c65;
    color: #edf6ff;
    }
    #intro.orange_bckgd a {
    border: 1px solid #642a10;
    padding: 4px;
    background: #fff3ed;
    color: #642a10;
    font-size: 11px;
    text-decoration: none;
    margin-left: 88px;
    }
    #intro.orange_bckgd a:hover {
    background: #642a10;
    color: #fff3ed;
    }

    s_mccoy Guest

  2. Similar Questions and Discussions

    1. contribute problem - access denied file may not existpermission problem
      Recieving the following error message - "access denied file may not exist , or there could be a permission problem" this happened this morning ,...
    2. Problem playing Quicktime thru .DCR embedded in HTML - pathreferencing problem?
      Greetings earthlings and Director heads. Here's the problem: created an HTML file containing shockwave (dcr) movie that calls quicktime movies in...
    3. Uploading problem = weird warning (was: access denied problem.....)
      Hi, I had a problem where my upload form was not working on our production server but was working on two other servers, after checking the...
    4. #21611 [Opn]: Problem with version_compare() (Was: Problem with pear cli and release numbers)
      ID: 21611 Updated by: et@php.net -Summary: Problem with pear cli and release numbers Reported By: jan at horde...
    5. Problem with Apache Web Server config file and PHP (please give advice on what problem may be me)
      HI: Can anyone refer me to someone that can help with the problem below. I installed Apache Web Server on my laptop which has Windows XP. I...
  3. #2

    Default Re: CSS problem in IE

    I need to reinstall firefox and opera, so cannot see the difference for myself.

    Just visited the web site you link to and it looks good enough to me.

    I'm using IE, latest version.

    There are always little differences with the browsers and css, the idiots who
    make the browsers need to settle on one standard, it is ridiculous that web
    designers have to mess about with this grim battle of the browswers.

    What frustrates me is that IE won't allow me to use css to make each first
    letter of a paragraph a drop cap, I have to code each one manually.

    In an ideal world a browser would be an open source standard.

    Apple and Microsoft need their heads banging together.

    Css Lover Guest

  4. #3

    Default Re: CSS problem in IE

    > What frustrates me is that IE won't allow me to use css to make each first
    > letter of a paragraph a drop cap, I have to code each one manually.
    Yes, it will. Try -

    p { color:black; font-size:small; }
    p.special:first-letter { color:red; font-size:large; }

    <p class="special">The leading T in the text here will be styled
    differently.</p>

    --
    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
    ==================


    "Css Lover" <webforumsuser@macromedia.com> wrote in message
    news:dv99ot$bt2$1@forums.macromedia.com...
    >I need to reinstall firefox and opera, so cannot see the difference for
    >myself.
    >
    > Just visited the web site you link to and it looks good enough to me.
    >
    > I'm using IE, latest version.
    >
    > There are always little differences with the browsers and css, the idiots
    > who
    > make the browsers need to settle on one standard, it is ridiculous that
    > web
    > designers have to mess about with this grim battle of the browswers.
    >
    > What frustrates me is that IE won't allow me to use css to make each first
    > letter of a paragraph a drop cap, I have to code each one manually.
    >
    > In an ideal world a browser would be an open source standard.
    >
    > Apple and Microsoft need their heads banging together.
    >

    Murray *ACE* Guest

  5. #4

    Default Re: CSS problem in IE

    The problem, however, is the blue box works as intended while the orange box
    beneath it does not. I've even copied the html and css code from the working
    div and replaced it with the appropriate graphics and copy with the same
    results. I don't get it. It should work. I can't even think of an IE CSS
    hack that would fix this problem.

    s_mccoy Guest

  6. #5

    Default Re: CSS problem in IE

    update: to make thi san even more bizarre problem, I switched the styles for
    the bottom box to be blue and the graphic appeared behind the text as it
    should. It's only when I try to apply the orange background that this problem
    occurs.

    s_mccoy Guest

  7. #6

    Default Re: CSS problem in IE

    Sorry Murray, I meant to say Firefox won't show that css.

    I have used the css for code to make the drop cap like you point to, but gave
    up because it was not cross browser supported, so to speak.

    Dropcaps are nice. Top tip - use Serif, font - give it a background colour
    and colour the text and border. (only give the borders 1 px) It looks real
    classy.

    I still cannot see what the problem is in the web site linked to though. It
    looks fine to me in IE.

    However, what you build might not your design. I've never built a web site
    commercially, so I guess those who do will be chasing petty little things some
    boss has got it into his or her head to alter.

    Mabe that's the case here!

    Css Lover Guest

  8. #7

    Default Re: CSS problem in IE

    FF does show it. Go here -

    [url]http://www.redwoodfs.com[/url]. Do you see 'drop caps'?

    --
    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
    ==================


    "Css Lover" <webforumsuser@macromedia.com> wrote in message
    news:dvbpgr$r85$1@forums.macromedia.com...
    > Sorry Murray, I meant to say Firefox won't show that css.
    >
    > I have used the css for code to make the drop cap like you point to, but
    > gave
    > up because it was not cross browser supported, so to speak.
    >
    > Dropcaps are nice. Top tip - use Serif, font - give it a background
    > colour
    > and colour the text and border. (only give the borders 1 px) It looks real
    > classy.
    >
    > I still cannot see what the problem is in the web site linked to though.
    > It
    > looks fine to me in IE.
    >
    > However, what you build might not your design. I've never built a web site
    > commercially, so I guess those who do will be chasing petty little things
    > some
    > boss has got it into his or her head to alter.
    >
    > Mabe that's the case here!
    >

    Murray *ACE* Guest

  9. #8

    Default Re: CSS problem in IE

    Murray,

    That's not a drop cap, that's in initial cap.

    Css Lover,

    The problem with the boxes was that IE was not displaying the orange textured
    background. I discovered, through trial and error, that IE did not like the
    #id.class declaration I was making so I simply made both #intro.blue_bckgd and
    #intro.orange_bckgd classes, .blue_bckgd and .orange_bckgd, and the site works
    as intended. I find it odd that IE had no problem with the first #id.class
    declaration but it choked on the second one.

    s_mccoy Guest

  10. #9

    Default Re: CSS problem in IE

    Ahh - sorry.

    --
    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
    ==================


    "s_mccoy" <webforumsuser@macromedia.com> wrote in message
    news:dvcv5b$j54$1@forums.macromedia.com...
    > Murray,
    >
    > That's not a drop cap, that's in initial cap.
    >
    > Css Lover,
    >
    > The problem with the boxes was that IE was not displaying the orange
    > textured
    > background. I discovered, through trial and error, that IE did not like
    > the
    > #id.class declaration I was making so I simply made both #intro.blue_bckgd
    > and
    > #intro.orange_bckgd classes, .blue_bckgd and .orange_bckgd, and the site
    > works
    > as intended. I find it odd that IE had no problem with the first
    > #id.class
    > declaration but it choked on the second one.
    >

    Murray *ACE* 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