www.webdeveloper.com
Results 1 to 7 of 7

Thread: Some problems with IE and Mozilla

  1. #1
    Join Date
    Aug 2006
    Location
    Ankara, Turkey
    Posts
    37

    Some problems with IE and Mozilla

    Hi,

    Firstly, I'm not good at CSS. I've some problems with my web site's viewing on FF and IE. Screenshots are attached. For example, when you view it on Firefox, there is a border with padding on images. But on IE, this border doesn't seem. Again, on FF there is a space about 10px between article title and article abstract, but on IE, this is about 15 px.

    I've tried many times, but can't fix this problem. You can see it live on http://www.isa-sari.com I'm a newbie on CSS. Can you help me please?

    Thanks from now.
    Attached Images Attached Images

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    Give the image style border:0; and add a valid DTD:
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
       "http://www.w3.org/TR/html4/loose.dtd">
    At least 98% of internet users' DNA is identical to that of chimpanzees

  3. #3
    Join Date
    Aug 2006
    Location
    Ankara, Turkey
    Posts
    37
    Thanks Fang, but I want to make a frame for image like seen on FF's screenshot. So I can't give the image style border:0. I've added DTD, but nothing has changed.

  4. #4
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    Just add the DTD and margin-top:10px; to .metin
    At least 98% of internet users' DNA is identical to that of chimpanzees

  5. #5
    Join Date
    Aug 2006
    Location
    Ankara, Turkey
    Posts
    37
    I've added margin-top:10px; to .metin. It's ok now. But when I add DTD there is some other problems. I'll use it this way. Thanks anyway Fang.

  6. #6
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    You will be constantly changing the css to allow for IE when using quirks mode.
    A valid DTD is better in the long run.
    At least 98% of internet users' DNA is identical to that of chimpanzees

  7. #7
    Join Date
    Aug 2006
    Location
    Ankara, Turkey
    Posts
    37
    Valid DTD brings out some problems. It'll take a long time to fix these problems. I've not got free times at these days, but I'll solve it as you say. Thank you very much Fang.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles