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

  1. #1

    Default IE 6 width issues?

    I know about the IE 5x width issues, but I thought that was taken care of in
    6x? My #leftcol is dropping down as if I've run out of room. I've tried
    different positioning and none of that seems to changes (in IE). Everything
    looks fine in FF & Opera

    [url]www.acswebdev.net[/url]

    [url]www.acswebdev.net/styles/hatranchstyles.css[/url]

    thanks,
    Denise

    dwebber Guest

  2. Similar Questions and Discussions

    1. I know we can set max image width, but I need to set itby region. Region A has one max width; Region B another.
      We can already set a maximum image width for use globally, throughout every page. Can we do it by region? This way one region can have a max...
    2. CSS div width
      I am trying to create a gallery page which delivers images dynamically, in a single row, triggering the browser scroll if necessary. The amount...
    3. DG Column Width vs Table Column Width
      Hi, I am wanting to display data in a datagrid with additional header rows above it that categorise some of the main headers of the datagrid. I...
    4. width for combobox
      hi my code attaches combobox and it appears, but i am unable to change the width of it. _width scales it horribly, setSize and setWidth dont...
    5. Getting the Width of a Text in Web
      Getting the Width of a Text in Web Like this: dim x as integer len = GetTheLength("MyBlaBla") I try to do it this way with a Label but...
  3. #2

    Default Re: IE 6 width issues?

    >I know about the IE 5x width issues, but I thought that was taken care of
    >in
    > 6x?
    It is if you have a valid and complete doctype, yes. You are talking about
    box model problems, right?

    You do have a valid and complete doctype, but have spoiled it with the XML
    prologue, which throws IE into quirks mode -

    <?xml version="1.0" encoding="iso-8859-1"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <html>

    Please remove that first line - it's unnecessary. You might also want to
    fix the two <html> tags you have there.

    Now - div#mainwrapper is 756px wide with 10px padding, or 746px available
    horizontal space.

    div#leftcol is 470px wide, with float left, and margin:0 5px. IE has a
    float/margin bug that doubles the margin when the element and the margin are
    on the same side. That would mean that this element has an effective left
    margin of 10px and a right margin of 5px, giving it a width of
    470+10+5=485px. The div#rightcol is 275px wide, meaning that the combined
    width is 485+275 = 760px, or 14px wider than the space available. Even
    accounting for the IE bug, you would still be 4px wider.

    Try this -

    add 'display:inline' to the leftcol rule. It will eliminate the bug, and
    affect nothing else. Then adjust your widths to remove 4px more space, and
    see what happens.

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


    "dwebber" <webforumsuser@macromedia.com> wrote in message
    news:ebvafd$1ej$1@forums.macromedia.com...
    >I know about the IE 5x width issues, but I thought that was taken care of
    >in
    > 6x? My #leftcol is dropping down as if I've run out of room. I've tried
    > different positioning and none of that seems to changes (in IE).
    > Everything
    > looks fine in FF & Opera
    >
    > [url]www.acswebdev.net[/url]
    >
    > [url]www.acswebdev.net/styles/hatranchstyles.css[/url]
    >
    > thanks,
    > Denise
    >

    Murray *ACE* Guest

  4. #3

    Default Re: IE 6 width issues?

    Thanks, Murray. That sure did fix it. And I went through and nudged some of my
    other margins and widths. I get myself confused with the sizings and
    remembering to incorporate all of my widths and paddings etc when calculating .
    It's a learning process that eventually I'll get, esp if I start building web
    site on a regular basis.

    One last thing:

    When you look at the page in IE 6 do you see a white bar a couple of pixels
    off to the right of my container? Does that have anything to do with my widths,
    or body color or anything like that?

    dwebber Guest

  5. #4

    Default Re: IE 6 width issues?

    You need to change this -

    <html xmlns="http://www.w3.org/1999/xhtml">
    <html>
    <head>

    to this -

    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>

    I'm betting that the white you are seeing is part of the background
    image....

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


    "dwebber" <webforumsuser@macromedia.com> wrote in message
    news:ebvg1h$818$1@forums.macromedia.com...
    > Thanks, Murray. That sure did fix it. And I went through and nudged some
    > of my
    > other margins and widths. I get myself confused with the sizings and
    > remembering to incorporate all of my widths and paddings etc when
    > calculating .
    > It's a learning process that eventually I'll get, esp if I start building
    > web
    > site on a regular basis.
    >
    > One last thing:
    >
    > When you look at the page in IE 6 do you see a white bar a couple of
    > pixels
    > off to the right of my container? Does that have anything to do with my
    > widths,
    > or body color or anything like that?
    >

    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