User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Web Design Tutorials section within the Web Development category of DaniWeb, a massive community of 391,623 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,692 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Web Design Tutorials advertiser:

Forms: styling text fields with CSS and HTML

Join Date: Sep 2006
Location: Broken Arrow, OK
Posts: 31
Reputation: okparrothead is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
okparrothead's Avatar
okparrothead okparrothead is offline Offline
Light Poster

Re: Forms: styling text fields with CSS and HTML

  #2  
Mar 6th, 2007
Hello Roryt, Forum Members,
To minimize the differences of all elements in different browsers, you can add:
* {padding: 0px; margin: 0px} to your style sheet. This eliminates the default margins and padding for everything. Elements like for H1, h2..., <li> <input>, etc. have different styles in different browsers. This starts you off with a level playing field. You'll have to go back and add some margins and padding to elements you didn't have to style before however!

Peace
Last edited by okparrothead : Mar 6th, 2007 at 1:59 pm. Reason: I can't spell
Reply With Quote  
All times are GMT -4. The time now is 12:33 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC