473,394 Members | 1,739 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,394 software developers and data experts.

Can anyone help? This becomes a nightmare for me. CSS and Firefox

ryh
Hello,

I have the following HTML:
<style>
..eHead{
border: 1px solid;
text-align: left;
display: block;
height: 100px;
vertical-align: bottom;
}
..eHead .hOff {
margin:2px;
padding:3px;
border:solid #aaa 1px;
background:#f5f5f5;
}
IMG {margin:0px}
</style>

<div class="eHead">
<span class="hOff"><img src="http://www.onet.pl" width="10"
height="10"/></span>
<span class="hOff"><img src="http://www.onet.pl" width="10"
height="10"/></span>
</div>

If you run it in IE you see that 2 images (together with borders) are
on the top left side of DIV. This is quite ok but as you may see I
wanted it to be ont the bottom left corner (vertical-align: bottom;).

But when you run it in FireFox it is mess - SPAN borders overwrite DIV.

Is there any way to fix this to work the same as in IE. I have used
-moz-box-sizing: border-box; and other tricks but it seems not to work
in FireFox.

Jul 21 '05 #1
0 1262

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

Similar topics

3
by: CSS problem | last post by:
Hi, I'm having a problem with a CSS defined font size on www.casajac.org I have a few links to different language pages on the top right of the banner. ("English, Nederlands ...) I had the link...
21
by: cjl | last post by:
Hey all: I have the following (ugly) code: function preload() { if (cr_series.length >1) preloadCR(); if (ct_series.length >1) preloadCT(); if (mr_series.length >1) preloadMR(); if...
4
by: Laura | last post by:
Here's the situation: I'm trying to use an update query to copy data from one row to another. Here is the situation: I have 5 companies that are linked to each other. I need to show all 5...
38
by: vashwath | last post by:
Might be off topic but I don't know where to post this question.Hope some body clears my doubt. The coding standard of the project which I am working on say's not to use malloc.When I asked my...
4
by: jereme.goblue | last post by:
The web page at http://www.rossowinspections.com/ has an issue with the left menu. The left menu has 7 links. One of the links doesn't work. Using Firefox 1.5 the Fees link isn't a clickable...
20
by: ridergroov | last post by:
I had this message previously in another group and I was told to try here. Hopefully someone can help out. Site was created in Dreamwaver MX 04 and I cna't figure out why there are so many errors...
2
by: mgk | last post by:
Hi. I am trying to implement a menu in CSS but IE is giving me grief (no surprise there). It works fine in IE7 but 6 is a nightmare. The page is at http://www.ampersand.net.au/dev/peron/ I...
2
by: Ming | last post by:
I do not understand the sample code on php.net for curl_multi_exec. Any help? Many thanks! <?php // create both cURL resources $ch1 = curl_init(); $ch2 = curl_init(); // set URL and other...
7
by: Henri | last post by:
Hello, any idea why a regexp-based trim function would work fine in firefox but not in ie? code is String.prototype.trim = function() { re = /\s*$/g; return this.replace(re, "");
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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,...

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.