hi there!
I'm just going crazy with this stuff I want to do I though was simple.
I just want to locate an image (which is linkeable) below the bottom of
a cell.
I mean, if the cell is at 0,0, the image should be at 0,100%. I've
tried it several ways, and I can make it work in both firefox & ie, but
not at the same time!!.
In explorer, the aproach is this:
..containercell {
position:relati ve;
}
..imagelayer{
position:absolu te;
top:100%;
left:-1px;
}
and the HTML
<table>
<tr>
<td class="containe rcell">
blah,blah,blah< div class="imagelay er"><img src="..s.s"></div>
</td>
<td class="containe rcell">
blah,blah,blah< div class="imagelay er"><img src="..s.s"></div>
</td>
</tr>
</table>
this doesn't work in firefox, because of a bug in it (the position
atribute doesn't work in table cells), although this css is strictly
css2
and, in firefox, the approach is:
..containerdiv{
position:relati ve;
height:100%;
}
..bottomimg{
position:absolu te;
left:-1px;
top:100%;
}
<table>
<tr>
<td>
<div class="containe rdiv">
blah,blah,blah< img class="bottomim g" src="..s.s">
</div>
</td>
<td>
<div class="containe rdiv">
blah,blah,blah< img class="bottomim g" src="..s.s">
</div>
</td>
</tr>
</table>
which doesn't work the way I like in ie, because the height:100%
property in the div element doesn't take the 100% of its parent element
(in this case, the table cell), (in firefox it does), so I can't
position the image where I want, just below the bottom of the cell.
Is there any workaround for this??
or, at least, Is there any simple way of choosing styelsheets depending
on the web client????
txs a lot. 0 2461 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Daniel |
last post by:
I have this script and I want to adapt it to the DOM of most / all well
known browsers like mozilla and netscape.. at the moment it only works in
ie4+ en ns6. can anybody give me some hints ?!?
This is used for making a tree <li><ul>
var ns6 = document.getElementById && !document.all;
var ie4 = document.all && navigator.userAgent.indexOf("Opera") == -1;
function checkcontained(e)
{
|
by: john T |
last post by:
Is there anyway to vertically center a html table using css in such a
way it does not alter the html table. When I tryied it just screws up.
|
by: glutinous |
last post by:
I'm assuming that this is not possible (I haven't found a way), but if
there's one thing I know for sure, one shouldn't assume anything about
what people know how to do on this NG...
Enough creeping. :-)
Is it in fact possible to relatively position a division (on a
'higher' z-index) to correspond with an in-line 'a href' link (within
text in another, absolutely-positioned 'lower' division), so that the
topmost div maintains its...
|
by: theo |
last post by:
Can someone please take a peek at the top header boxes in ie and mozilla,
and tell me what possible fix might be out there. The text and boxes are
moving around between the two browsers. I prefer zero margin between boxes,
like mozilla does it.
I've played around with it, adding borders helps some, but does not fix
the problem. Adding a break over the header text and adjusting line-height
also helps, but does not show correctly like...
|
by: hanganum |
last post by:
Hi,
I am trying to build one HTML page with a table occupying the entire
page and having two rows. The upper row contains data, while the lower
row contains two buttons.
My problem is: I want the lower row to always stay 60 pixels height,
while the upper row taking the rest of the page. And at the same time,
when the upper row contains a large text, a scroll bar in the right
part to show up.
| |
by: jen_designs |
last post by:
Is there a way to return the character position on a page? Not the x
and y coordinates, but the number of characters on a page. For
instance i have a html page with the following text: This is my string.
Then character postion for m would be 9. Any thoughts?
|
by: Erik Sandblom |
last post by:
Hello
I'm trying to make some tooltips which are position:fixed. It works fine in
Opera and Safari/Konqueror, but in Firefox and Camino (ie Mozilla), it takes
a few seconds for each tooltip to display, and then to get hidden. If I use
position:absolute, the problem goes away, but the tooltips move around with
the containing, scrolling div.
..scroll { height: 400px; overflow: auto; }
|
by: regrat |
last post by:
It's possible create a javascript which counts all words in a webpage
until the point in which I click with the mouse.
Any suggests?
|
by: asearle |
last post by:
Dear all,
I have been working to implement a scrolling table into an xml / xsl interface and so far have managed to put together an acceptable version using <thead> and <tbody> syntax. Indeed for the html examples that I found out there this seems to work perfectly.
On the surface it also works perfectly in my xml / xsl implementation too (also based on html underneath). Indeed, using IE6*, you can take a look at a cut-down example by...
|
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...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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...
|
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...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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...
|
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...
|
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...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |