Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 7 of 7
  1. #1
    Junior Member johnncyber's Avatar
    Join Date
    Jun 2004
    Posts
    10
    Member #
    6212
    I am having a lot of problems with IE butchering my website. First off we recently switched to using CSS instead of tables becuase we could control it from an external CSS. Then we started noticing problems with the positioning some elements in IE only. We solved the problem by placing the properties in the HTML document itseld, but I would like to have it controlled from that external sheet so that if we ever want/need to change the positioning of something we can do it with out hassle and without having to worry about the IE slaughter.

    ~Mark
    Webmaster of http://www.shieldyrbk.com

  2.  

  3. #2
    Senior Member justlivyalife's Avatar
    Join Date
    Jul 2003
    Location
    Birmingham, UK
    Posts
    2,871
    Member #
    2374
    Can I ask which code you were using to call up the external stylesheet? Also, remember that in an external stylesheet there is no need for <style> tags.
    justlivyalife - The future depends on what we do in the present. (Mahatma Gandhi)
    WDF Resources: WDF Rules
    Non-WDF: JavascriptSource | Dynamic Drive | phpBB | HTML-Kit | Winamp | Download Firefox | Morguefile

  4. #3
    Senior Member Trico's Avatar
    Join Date
    Feb 2004
    Location
    Nottingham, UK
    Posts
    894
    Member #
    5081
    Start using a doctype, there's a good article Here expalining why it's a good idea. Once you've done that you can use the W3C Validator to help you find out what may be causing problems.

    Take the following, the first line shows what's wrong, the second part shows how it can be corrected.


    Code:
    ...z-index=1"
    Code:
    z-index: 1;
    Code:
    <div id = "main">
    Code:
    <div id="main">
    Some people believe that having CSS class/id names with #underscores_in_the_name { cause problems; } I've never actualy noticed whether this is true or not?

  5. #4
    Junior Member johnncyber's Avatar
    Join Date
    Jun 2004
    Posts
    10
    Member #
    6212
    Quote Originally Posted by justlivyalife
    Can I ask which code you were using to call up the external stylesheet? Also, remember that in an external stylesheet there is no need for <style> tags.
    Code:
    <link rel=stylesheet type=text/css href=styles.css>

  6. #5
    Senior Member justlivyalife's Avatar
    Join Date
    Jul 2003
    Location
    Birmingham, UK
    Posts
    2,871
    Member #
    2374
    Putting double ( " ) quotes around the atributes should allow it to work better.
    justlivyalife - The future depends on what we do in the present. (Mahatma Gandhi)
    WDF Resources: WDF Rules
    Non-WDF: JavascriptSource | Dynamic Drive | phpBB | HTML-Kit | Winamp | Download Firefox | Morguefile

  7. #6
    Senior Member seanmiller's Avatar
    Join Date
    Sep 2003
    Location
    Glastonbury, UK
    Posts
    868
    Member #
    3263
    Liked
    1 times
    XHTML standards dictate that *all* attributes should be in double quotes, and terminated...

    ie. <a href="....">x</a><br />

    Sean

  8. #7
    Senior Member justlivyalife's Avatar
    Join Date
    Jul 2003
    Location
    Birmingham, UK
    Posts
    2,871
    Member #
    2374
    So for the meta and link rel tags, and other that don't require a terminating tag, replace the latter ' > ' with ' /> '
    justlivyalife - The future depends on what we do in the present. (Mahatma Gandhi)
    WDF Resources: WDF Rules
    Non-WDF: JavascriptSource | Dynamic Drive | phpBB | HTML-Kit | Winamp | Download Firefox | Morguefile


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 08:28 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com