473,659 Members | 2,934 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

custom button disappears in IE

Wanted a "mail this page" button to not look like a button. So this:

<button class="emailArt icleButton"
onmouseover="th is.className='e mailArticleButt onChange';"
onmouseout="thi s.className='em ailArticleButto n';" type="submit"
name="submit"></button>

The classes take you to a CSS file that makes the button the usual
little image of an envelope.

Except in IE (mac or PC, several versions) where the button becomes
completely invisible. Does IE not read styles inside forms? Or what?
Apr 23 '07 #1
2 1504
On Apr 23, 1:15 pm, Bill Steele <w...@cornell.e duwrote:
Wanted a "mail this page" button to not look like a button. So this:

<button class="emailArt icleButton"
onmouseover="th is.className='e mailArticleButt onChange';"
onmouseout="thi s.className='em ailArticleButto n';" type="submit"
name="submit"></button>

The classes take you to a CSS file that makes the button the usual
little image of an envelope.

Except in IE (mac or PC, several versions) where the button becomes
completely invisible. Does IE not read styles inside forms? Or what?
set a width on button in CSS

Apr 24 '07 #2
scripts.contact wrote:
On Apr 23, 1:15 pm, Bill Steele <w...@cornell.e duwrote:
>Wanted a "mail this page" button to not look like a button. So this:

<button class="emailArt icleButton"
onmouseover="t his.className=' emailArticleBut tonChange';"
onmouseout="th is.className='e mailArticleButt on';" type="submit"
name="submit"> </button>

The classes take you to a CSS file that makes the button the usual
little image of an envelope.

Except in IE (mac or PC, several versions) where the button becomes
completely invisible. Does IE not read styles inside forms? Or what?

set a width on button in CSS
Internet Explorer seems to not like empty width and height elements (on
IMGs for examples). Providing empty attributes makes the element invisible.

--
-Lost
Remove the extra words to reply by e-mail. Don't e-mail me. I am
kidding. No I am not.
Apr 24 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
2664
by: Suzanne | last post by:
Hi all, I really hope someone out there can help me as I've been tearing my hair out on this one for a good while and I'm getting really frustrated now! My problem is this - my custom controls periodically disappear from my project when I build it. First of I get the message about a missing dependency, then if I rebuild after that - the control just physically disappears from the form, and I get an object not found error when I
2
2578
by: Suzanne | last post by:
Hi all, I'm reposting this message as I'm experiencing this problem more and more frequently : I really hope someone out there can help me as I've been tearing my hair out on this one for a good while and I'm getting really frustrated now! My problem is this - my custom controls periodically disappear from my
0
373
by: pedery | last post by:
I have created an image selection dropdown editor for use in a PropertyGrid. My selector form is called dropdown by a IWindowsFormsEditorService and so far it's all sweet. On my selector form I have placed a lot of pictures the user can select from. I have also placed a button with "From File..." that opens an OpenFileDialog (Remember that this is still in the dropdown dialog form of the PropertyGrid). The problem is that when the...
1
4955
by: centur | last post by:
Hello. I created simple asp.net application to search message history over Office Live Communicator conversations. I complete quite all job but stick with one thing - I have autosuggest box (using async callback request aka XmlHttp in other browsers) implemented on my custom tab ( read: on my asp.net page, which added to communicator tabs) - it's very usefull during search for communicator users. I added javascript event handlers on...
1
5458
by: Mufasa | last post by:
I have a couple of radio buttons that make various things appear/disappear on the screen through JavaScript. All works great. Problem is I'll click a radio button, something will appear, I reload the page for other reasons and the item disappears. The reason it disappears is I have to set the state initially to invisible so it doesn't show up initially. The radio buttons are html radio buttons not aspx radio buttons so I can have the...
5
6859
by: Susan Bricker | last post by:
I have a command button that I'd like to make "disappear" after being clicked and after the OnClick function has executed. I have tried changing the 'visible' attribute to false while within the OnClick function but that won't work because the button control has the focus. I traced and put a trap at the top of form_current but it didn't hit there. Any suggestions?
2
19457
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I will be writing this article intended for those who are in the same level, or maybe lower, of my technical knowledge. I would be using layman's words, or maybe, my own words as how I understand them, hoping, you will understand it the same way that...
2
4978
by: Greg (codepug | last post by:
I have created a LABEL, and placed it on top of a button. When I press the button, the label disappears under the button. Is there a way to get the LABEL to stay on top of the button, or reappear after the button is clicked ? I need the Label to remain an object seperate from the button. Greg
0
2897
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I will be writing this article intended for those who are in the same level, or maybe lower, of my technical knowledge. I would be using layman's words, or maybe, my own words as how I understand them, hoping, you will understand it the same way that...
0
8746
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8525
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8627
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6179
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4175
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4335
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2750
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1975
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1737
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.