web hosting and development forums
Web Design and Development Forums Archive


Index - Web Development Discussion

Style properties are ignored by Mozilla browser...


Post reply

I'm trying to adjust the styles of buttons,textbox ....(More like height,width,text size) so that it looks good for each and every resolution,window size.. Whenever I change the attributes like background and size,While using Internet Explorer its working fine but in Mozilla its not working at all For some reason all the styles for the webcontrol are ignored by the Mozilla browser. Any reason why this is happening?
I suggest NOT using .NET to style your form elements, but rather and external style sheet. ... using ids or classes to style your form elements. Firefox (I asume this is the Mozzila version your developing for) is much more capable when it comes to css if done according to standards. like so.... ----- /* CSS */ .mybutton { color:red; background-url(/someImage.gif) } ----- <input type='submit' id='button1' name='button1' class='mybutton' runat='server' /> or <asp:button id='button1' runat='server' cssclass='mybutton' />




Dubai Forum | Paris Forum | Webmaster Forum | Vegan Forum | Brisbane Forum | 3D Forum | Jobs in Dubai | Jobs in London | London UK Classifieds
Archive script by RedHo.com