473,396 Members | 2,029 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Padding / Margin Problem - Different Appearance in Chrome and Firefox

ilya Kraft
134 100+
Hi,

Right so I applied some margin and padding settings to my search form to make it look good, but - as usual >.< - I had a problem. This padding and margins look completely different in browsers.

If you visit http://inelmo.com

From Chrome, Firefox and IE you will get the idea of what I am talking about. SO the question is, how to apply margins and paddings correctly, so they look good in all browsers? Right now the search form look correct only in Internet Explorer (Yeh strange).

Here Is some CSS code I used for styling

Expand|Select|Wrap|Line Numbers
  1.  
  2. #icons_on_the_left {
  3.  
  4.      float:left;
  5.      width:61px;
  6.      padding:7px 1px 5px 9px;
  7.      margin:-31px 0 0 0;
  8.  
  9. }
  10.  
  11. #Searcg_box {
  12.  
  13.      font-size:15px;
  14.      width:276px;
  15.      padding:7px;
  16.      margin:0 0 0 71px;
  17.  
  18. }
  19.  
  20. #Submit_button_image {
  21.  
  22.      width:31px;
  23.      text-indent:-9999px;
  24.      padding:7px 0 7px 0;
  25.  
  26. }
  27.  
  28.  
Thank You
Aug 7 '11 #1
1 4155
drhowarddrfine
7,435 Expert 4TB
Your list for the search bar is invalid. Validate your html and css for those lists of errors.
Aug 7 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

12
by: Andrew Thompson | last post by:
I am developing a Periodic Table of the Elements as<DIV>s ..(chuckle - just kidding!) a <TABLE> at http://www.physci.org/test/chem/, or rather, the table itself is.....
2
by: Lukasz Grabun | last post by:
There's a page http://www.dwarfscorner.com It looks as nice as I could design it; I like it, I think. There's just one thing I can't get along with: the vertical allignment of h2 in grey and...
4
by: kinne | last post by:
The following code is supposed to reverse the date in "yyyy-mm-dd" format, but it produces different results in Firefox 1.0 and in Internet Explorer 6SP1. In Firefox, the result is correct...
18
by: Greg G | last post by:
http://mysite.verizon.net/gdguarino/indexnew.htm It's not a high priority site, just some of my photos throughout the years. The address above is an experiment for a new home page. My intended...
3
by: Jay Levitt | last post by:
On http://www.wellesleycarriagehouse.com, there is no margin around the thumbnail images at bottom. I've verified that Firefox doesn't even THINK there's a margin, using Firebug 0.4. So why is...
11
by: sllrphoto | last post by:
A veteran of early html, I've modified my blog template and made it look rather clean (albeit rather plain) when viewed with IE. Ironically, I'm a big Firefox fan, but when viewed in FF, my blog...
3
by: Daz | last post by:
Hi everyone. I have just been making a JavaScript chat applet, which should open in a new child window. It does all of this fine, and works within Firefox beatifully. However, IE thinks it's...
0
by: as702ecs | last post by:
hi guys, bit of a strange one. when using the holly hack to address the well-documented "expanding box" problem in ie6, i encounter an undesired side-affect - all my unordered list items exhibit a...
5
by: Anette | last post by:
Hi, At http://www.vallentunapingst.se/predikan.html the space between the cells in the table (with the dates and the lines to the right) differs in Firefox and IE. Why? How do I make it look the...
10
by: dmorand | last post by:
I've got a problem with my padding of the bottom border on the title, and section div's on my page. In firefox the borders line up, but in IE the section border is slightly below the title border. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...

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.