Welcome to WebmasterWorld Guest from 54.158.167.59

Forum Moderators: incrediBILL

Message Too Old, No Replies

Submit button, not in IE on Vista

   
12:12 am on Sep 20, 2011 (gmt 0)

WebmasterWorld Senior Member wheel is a WebmasterWorld Top Contributor of All Time 10+ Year Member



I just discovered that my 'buy now' button isn't showing up on IE under Windows Vista. Works fine under linux, and XP for a variety of browsers.

Here's the code:

<input id="getbtn" type="submit" name="getbtn" />

Then the CSS:
#getbtn{width:186px;height:40px;margin-left:65px;border:0;background:transparent url(images/get.png) no-repeat center top;text-indent:-1000em;cursor:pointer;cursor:hand}#getbtn{padding:0}


I simply don't know enough about cross browser compatibility to determine why this is happening. Any thoughts, or suggstions on what to test?

TIA.
4:29 pm on Sep 20, 2011 (gmt 0)

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Validated the CSS? I notice the last selectors are missing ;, which **should** be OK, but worth a shot (and you have two cursor: rules)

Did you try setting display:block on the button?
4:32 pm on Sep 20, 2011 (gmt 0)

WebmasterWorld Senior Member wheel is a WebmasterWorld Top Contributor of All Time 10+ Year Member



I haven't validated it, though I did compress it using one of those online tools. that's probably why it's missing some non-essential stuff.

I'll try adding display:block and see what it does; thank you.
6:32 pm on Sep 22, 2011 (gmt 0)

WebmasterWorld Senior Member wheel is a WebmasterWorld Top Contributor of All Time 10+ Year Member



rocknbil, thanks a million. adding display:block to the css file fixed it.

I've got another image that's not displaying correctly under those circumstances but I'm not done doing my own investigating yet :).
4:33 pm on Sep 23, 2011 (gmt 0)

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Sweet . . .remembering <img> is inline by default, block also applies . . . same deal with anchors and their background images.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month