homepage Welcome to WebmasterWorld Guest from 54.205.173.252
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Accredited PayPal World Seller

Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Submit button, not in IE on Vista
wheel




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

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.

 

rocknbil




msg:4364854
 4:29 pm on Sep 20, 2011 (gmt 0)

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?

wheel




msg:4364856
 4:32 pm on Sep 20, 2011 (gmt 0)

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.

wheel




msg:4365985
 6:32 pm on Sep 22, 2011 (gmt 0)

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 :).

rocknbil




msg:4366383
 4:33 pm on Sep 23, 2011 (gmt 0)

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved