Strange IE issue

Discussion in 'HTML' started by Leupi, Mar 26, 2008.

  1. Leupi

    Leupi Guest

    I have a site that renders fine in Firefox and Opera but I am seeing
    some very strange things in IE (surprise...). None of my navigation is
    visible; it's there, if you mouse over where it should be you can click
    on the hyperlink, you just can't see the hyperlink. This is happening on
    two different navigation lists. My graphics are not showing up either,
    if you mouse over them you will see the contents of the alt tag, but the
    graphic itself is not visible. The page will not center in IE or
    maintain the width that I set for it.

    I have put the index.html and the style_1.css pages through the W3C
    Validator and I am getting this issue with the html page:

    "Line 10, Column 6: end tag for "HEAD" which is not finished.

    </head>

    Most likely, you nested tags and closed them in the wrong order. For
    example <p><em>...</p> is not acceptable, as <em> must be closed before
    <p>. Acceptable nesting is: <p><em>...</em></p>

    Another possibility is that you used an element which requires a child
    element that you did not include. Hence the parent element is "not
    finished", not complete. For instance, in HTML the <head> element must
    contain a <title> child element, lists (ul, ol, dl) require list items
    (li, or dt, dd), and so on."

    I can not find anything that I have done wrong with the <head> tag, not
    sure what I am missing. There is also an ID error, I know what that is,
    I just need to figure out how to fix it and still get the effect that I
    want. I did delete that issue temporarily and it did nothing to fix the
    issue however.

    My CSS came out clean with the exception of a *html hack that is in
    there for IE.

    This is all very strange to me and I have been staring at it without any
    success. If someone else could check it out I would certainly appreciate it.

    http://www.policy.hu/asrar/index.html

    Thanks for your time,

    Todd
    Leupi, Mar 26, 2008
    #1
    1. Advertising

  2. Leupi wrote:

    > I have a site that renders fine in Firefox and Opera but I am seeing
    > some very strange things in IE (surprise...). None of my navigation is
    > visible; it's there, if you mouse over where it should be you can click
    > on the hyperlink, you just can't see the hyperlink. This is happening on
    > two different navigation lists. My graphics are not showing up either,
    > if you mouse over them you will see the contents of the alt tag,


    It's an attribute, not a tag. You will only see it (the text of it) on
    mouseover in IE, which is borked. All other browsers use the text of the
    image's *title* attribute on mouseover. The alt attribute is what a
    browser is supposed to display on the page when images are turned off by
    the visitor, by text-only browsers, etc.

    > but the graphic itself is not visible. The page will not center in IE
    > or maintain the width that I set for it.


    Sorry, I don't have IE available to test that, but it's probably
    something with all the #id business.

    > I have put the index.html and the style_1.css pages through the W3C
    > Validator and I am getting this issue with the html page:
    >
    > "Line 10, Column 6: end tag for "HEAD" which is not finished.
    >
    > </head>

    <snip>
    > For instance, in HTML the <head> element must contain a <title> child
    > element,


    You don't have a title element.

    > I can not find anything that I have done wrong with the <head> tag, not
    > sure what I am missing. There is also an ID error, I know what that is,
    > I just need to figure out how to fix it and still get the effect that I
    > want. I did delete that issue temporarily and it did nothing to fix the
    > issue however.


    You can only use a named id once per page. Use a class instead.

    > My CSS came out clean with the exception of a *html hack that is in
    > there for IE.


    ...but your CSS is rather complex for such a simple site. You seem to be
    stuck on wanting to make everything an #id, instead of using .class
    I'd say over-complex...

    > http://www.policy.hu/asrar/index.html


    body#home a#home,
    body#projects a#projects,
    body#articles a#articles,
    body#portfolio a#portfolio,
    div#demgov a#demgov,
    div#anticorrupt a#anticorrupt,
    div#civsoc a#civsoc,
    div#plans a#plans,
    div#time a#time,
    div#satellite a#satellite,
    div#potr a#potr,
    div#chaotic a#chaotic,
    div#fragile a#fragile,
    div#parlament a#parlament,
    div#ucs a#ucs,
    div#vote a#vote,
    div#advisor a#advisor,
    div#ipf a#ipf,
    div#cv a#cv {
    ....etc.

    What's up with all that? Is it important if parliament is misspelled?

    --
    -bts
    -Friends don't let friends drive Vista
    Beauregard T. Shagnasty, Mar 26, 2008
    #2
    1. Advertising

  3. Leupi

    dorayme Guest

    In article <UBiGj.4026$Dv5.1818@trnddc02>, Leupi <>
    wrote:

    > http://www.policy.hu/asrar/index.html
    >
    > Thanks for your time,


    You have the same id value for both body and a link, fix this up. ids
    must be unique, one value per page.

    And you are missing a semi colon in your footer.

    Why are you using transitional. How about Strict 4.01

    --
    dorayme
    dorayme, Mar 26, 2008
    #3
  4. Leupi

    Leupi Guest

    Beauregard T. Shagnasty wrote:
    > Leupi wrote:
    >
    >> I have a site that renders fine in Firefox and Opera but I am seeing
    >> some very strange things in IE (surprise...). None of my navigation is
    >> visible; it's there, if you mouse over where it should be you can click
    >> on the hyperlink, you just can't see the hyperlink. This is happening on
    >> two different navigation lists. My graphics are not showing up either,
    >> if you mouse over them you will see the contents of the alt tag,

    >
    > It's an attribute, not a tag. You will only see it (the text of it) on
    > mouseover in IE, which is borked. All other browsers use the text of the
    > image's *title* attribute on mouseover. The alt attribute is what a
    > browser is supposed to display on the page when images are turned off by
    > the visitor, by text-only browsers, etc.


    You are of course correct, I misspoke by calling it an alt tag.
    >
    >> but the graphic itself is not visible. The page will not center in IE
    >> or maintain the width that I set for it.

    >
    > Sorry, I don't have IE available to test that, but it's probably
    > something with all the #id business.
    >
    >> I have put the index.html and the style_1.css pages through the W3C
    >> Validator and I am getting this issue with the html page:
    >>
    >> "Line 10, Column 6: end tag for "HEAD" which is not finished.
    >>
    >> </head>

    > <snip>
    >> For instance, in HTML the <head> element must contain a <title> child
    >> element,

    >
    > You don't have a title element.


    You are again right about the title element, I guess that I was staring
    at it for so long I missed that; and the validator spelled it out for me
    also...
    >
    >> I can not find anything that I have done wrong with the <head> tag, not
    >> sure what I am missing. There is also an ID error, I know what that is,
    >> I just need to figure out how to fix it and still get the effect that I
    >> want. I did delete that issue temporarily and it did nothing to fix the
    >> issue however.

    >
    > You can only use a named id once per page. Use a class instead.
    >


    I tried using classes for that issue and it would not work for some
    reason. I will have to work on that.
    >> My CSS came out clean with the exception of a *html hack that is in
    >> there for IE.

    >
    > ..but your CSS is rather complex for such a simple site. You seem to be
    > stuck on wanting to make everything an #id, instead of using .class
    > I'd say over-complex...
    >
    >> http://www.policy.hu/asrar/index.html

    >
    > body#home a#home,
    > body#projects a#projects,
    > body#articles a#articles,
    > body#portfolio a#portfolio,
    > div#demgov a#demgov,
    > div#anticorrupt a#anticorrupt,
    > div#civsoc a#civsoc,
    > div#plans a#plans,
    > div#time a#time,
    > div#satellite a#satellite,
    > div#potr a#potr,
    > div#chaotic a#chaotic,
    > div#fragile a#fragile,
    > div#parlament a#parlament,
    > div#ucs a#ucs,
    > div#vote a#vote,
    > div#advisor a#advisor,
    > div#ipf a#ipf,
    > div#cv a#cv {
    > ...etc.
    >
    > What's up with all that? Is it important if parliament is misspelled?


    All of the above is to give a gray background to the link(s) that
    pertains to the page that the user is on. This way I do not have to
    change the bg colors of the links on a page by page basis, it is all
    done in the style sheet. I agree though, it does tend to make the CSS a
    bit heavy.

    Thanks for the insight, I'll jump on it again tomorrow, I've had enough
    for one day...

    Thanks again,
    Todd
    >
    Leupi, Mar 26, 2008
    #4
  5. Leupi

    Leupi Guest

    dorayme wrote:
    > In article <UBiGj.4026$Dv5.1818@trnddc02>, Leupi <>
    > wrote:
    >
    >> http://www.policy.hu/asrar/index.html
    >>
    >> Thanks for your time,

    >
    > You have the same id value for both body and a link, fix this up. ids
    > must be unique, one value per page.
    >
    > And you are missing a semi colon in your footer.
    >
    > Why are you using transitional. How about Strict 4.01
    >

    I was having issues getting the link bg to work right when I used
    classes, for some reason using IDs worked. I will have to spend some
    time on that and figure out what I was doing wrong.

    I will also get the semi colon in and change from transitional to
    strict, thanks for pointing that out. As far as the IDs go, I
    temporarily deleted them and it still did not fix the IE problem, so I
    put them back, I will spend some time on them and get them switched over
    to classes. I need to figure out why that gave me issues before.

    Thanks,
    Todd
    Leupi, Mar 26, 2008
    #5
  6. Leupi

    Leupi Guest

    dorayme wrote:
    > In article <UBiGj.4026$Dv5.1818@trnddc02>, Leupi <>
    > wrote:
    >
    >> http://www.policy.hu/asrar/index.html
    >>
    >> Thanks for your time,

    >
    > You have the same id value for both body and a link, fix this up. ids
    > must be unique, one value per page.
    >
    > And you are missing a semi colon in your footer.


    I'm sorry if I am being dense here; where am I missing the semi colon?
    Are you speaking of the CSS?

    #footer {
    font-size: .8em;
    border-top: 1px solid green;
    text-align: right;
    clear: both;
    }

    Thanks,
    Todd
    >
    > Why are you using transitional. How about Strict 4.01
    >
    Leupi, Mar 26, 2008
    #6
  7. Leupi

    dorayme Guest

    In article <ZojGj.2666$VK4.1521@trnddc08>, Leupi <>
    wrote:

    > dorayme wrote:
    > > In article <UBiGj.4026$Dv5.1818@trnddc02>, Leupi <>
    > > wrote:
    > >
    > >> http://www.policy.hu/asrar/index.html
    > >>
    > >> Thanks for your time,

    > >
    > > You have the same id value for both body and a link, fix this up. ids
    > > must be unique, one value per page.
    > >
    > > And you are missing a semi colon in your footer.

    >
    > I'm sorry if I am being dense here; where am I missing the semi colon?
    > Are you speaking of the CSS?
    >

    No, in the html, the character entity reference &copy;

    --
    dorayme
    dorayme, Mar 26, 2008
    #7
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Tariq Ahmad

    *very* strange date issue

    Tariq Ahmad, Jun 25, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    1,368
    Tariq Ahmad
    Jun 25, 2003
  2. Rhys Gravell

    Re: *very* strange date issue (more info)

    Rhys Gravell, Jun 25, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    763
    Rhys Gravell
    Jun 25, 2003
  3. yop

    Strange issue with textbox

    yop, Aug 21, 2003, in forum: ASP .Net
    Replies:
    4
    Views:
    339
  4. yop

    Strange Issue

    yop, Aug 27, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    345
  5. Harvey Twyman
    Replies:
    8
    Views:
    563
    August Derleth
    Oct 25, 2003
Loading...

Share This Page