+ Post New Thread
Results 1 to 1 of 1
Web Development Thread, IE8 vs Firefox 3.5 in Coding and Web Development; Can somebody please explain to me how some simple CSS code can display so differently when viewed in IE8 and ...
  1. #1
    Nick_Parker's Avatar
    Join Date
    Jan 2008
    Location
    Dainfern, South Africa
    Posts
    469
    Thank Post
    100
    Thanked 18 Times in 13 Posts
    Rep Power
    17

    IE8 vs Firefox 3.5

    Can somebody please explain to me how some simple CSS code can display so differently when viewed in IE8 and when viewed in Firefox?

    I've attached pictures of the particular piece, I use FF and so I've spent time making the tweaks etc to make it work and when I opened it up in IE8 it looked completely different!

    The CSS code for the "Send" button which is written in the <head> section:

    Code:
    <style type="text/css">
    input[type=submit] {border:1px solid #A8A8A8; background: #FBFBFB; width:100px; height:40px; margin-left:300px; }
    input[type=submit]:hover {border:1px solid #A8A8A8; background: #FBFBFB  url('images/text_focus.png') repeat-x;; width:100px; height:40px; margin-left:300px; }*/
    </style>
    and the actual button:

    Code:
    <input name="quick_sms_submit" type="submit" value="Send" />
    It looks correct in FF but IE8 doesn't seem to apply any formatting?

    Similarly with the textarea, in FF the box has a grey focus image across the top when clicked, nothing in IE8.

    Code:
    <style type="text/css">
    textarea:focus { background: #FBFBFB url('images/text_focus.png') repeat-x; }
    </style>
    Attached Images Attached Images



SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 2
    Last Post: 16th November 2010, 02:35 PM
  2. IE8 and BSOD
    By EduTech in forum Windows
    Replies: 12
    Last Post: 6th May 2009, 01:44 PM
  3. IE8 Issues
    By Jamman960 in forum Windows 7
    Replies: 2
    Last Post: 4th May 2009, 05:14 PM
  4. Anyone Tried IE8 Then?
    By Sean in forum Educational Software
    Replies: 18
    Last Post: 1st April 2009, 08:29 PM
  5. IE8
    By m25man in forum General Chat
    Replies: 2
    Last Post: 10th March 2008, 08:09 PM

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
  •