redho home | products | services
Web Design Forums

Web Design Forums  


Web Hosting, Web Design, Software and Web Development Forums  
 FAQFAQ   MemberlistArchive  Log inLog in   RegisterRegister 
         

Style properties are ignored by Mozilla browser...



 
Post new topic   Reply to topic    Web Design Forums -> Web Development Discussion
View previous topic :: View next topic  
Author Message
tom
Guest




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?
  Reply with quote


kabal
Guest




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' />
  Reply with quote
Page 1 of 1
Post new topic   Reply to topic    Web Design Forums -> Web Development Discussion


Dubai Forums - Expat Help | Vegan Chat | Java Programming | Free 3D tutorials and 3d textures | Paris Forum | EU Forum
Free Dubai Classifieds | Free London Classifieds | Jobs in London

High Quality, Custom 3d animation and Web Design solutions Royal Quality Web Hosting Services Vegetarian and Animal Rights news

Powered by phpBB © 2001, 2005 phpBB Group