473,774 Members | 2,128 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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:#f5f 5f5;
}
IMG {margin:0px}
</style>

<div class="eHead">
<span class="hOff"><i mg src="http://www.onet.pl" width="10"
height="10"/></span>
<span class="hOff"><i mg 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 1274

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

Similar topics

3
5656
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 styles defined in the main stylesheet casajac.css but I couldn't size down the font. Tried deining the font as 2% to see if that would have any visible effect, but no... Can't figure out why.
21
1382
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 (us_series.length >1) preloadUS();
4
2281
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 companies on a form. 3 of the companies have common employees. I have a table that looks like this:
38
2565
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 lead(I have just started working) he said we should not use dynamic allocation in real time systems, the code will not run in predictable time period.Can anybody tell what does he mean?Why the execution time becomes unpredictable? Thanks
4
2752
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 link, if viewed as a full screen. If you shrink the window down the Fees link then becomes a link. The link works in IE and Mozilla. I've validated the CSS and XHTML, the CSS had no errors, the XHTML has no errors other than the paramaters for the...
20
1771
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 or how to fix them. Original thread can be found here: http://groups.google.com/group/mozilla.support.firefox/browse_thread/thread/9f479425c897212b/106dbd2754e85252?q=looks+good+in+firefox&rnum=1#106dbd2754e85252 I've been working on our...
2
1395
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 need to fix the transparency in the PNG but basically the big problem is the menu does not appear at all! I know it's probably something simple but I can't see it, been looking at all for too long today.
2
1405
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 appropriate options curl_setopt($ch1, CURLOPT_URL, "http://www.example.com/");
7
2919
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
9621
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10267
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10106
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9914
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8939
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7463
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5355
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4012
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3611
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.