Image over two table cells?
Image over two table cells?
am 13.11.2007 15:24:01 von Robert Lambe
Hi,
I need to add a feature button to an existing page, but I don't want to
destroy the images inside my table. It would be great to put a layer or
something over the relative position of a table (w/o js). Is there any
way to do this?
TIA
Re: Image over two table cells?
am 13.11.2007 15:55:28 von lws4art
Herbert Meister wrote:
> Hi,
>
> I need to add a feature button to an existing page,
Which page, if it exists show us with a URL then we can better advise
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Re: Image over two table cells?
am 13.11.2007 16:04:50 von Robert Lambe
Jonathan N. Little wrote
> Which page, if it exists show us with a URL then we can better advise
Sorry, I usually don't show pages from the companies I work for on the
usenet. I hope you'll understand this.
It's just an ordinary table that is displayed on the center (!) of the
page. So I would need a relative positioned layer. Is it possible?
Re: Image over two table cells?
am 13.11.2007 18:15:48 von Andy Dingley
On 13 Nov, 15:04, Herbert Meister wrote:
> Sorry, I usually don't show pages from the companies I work for on the
> usenet. I hope you'll understand this.
Sorry, we don't usually answer questions that we can't see.
I hope you'll understand this.
Get a politically-uncontroversial example posted somewhere where we
can see it. Then the busy people who are most likely to be able to
help you might do so. Otherwise they're unlikely to, you'll think
they're doing it simply because they hate you, but they won't care two
hoots one way or the other.
Re: Image over two table cells?
am 13.11.2007 19:10:07 von Sherm Pendley
Herbert Meister writes:
> Jonathan N. Little wrote
>> Which page, if it exists show us with a URL then we can better advise
>
> Sorry, I usually don't show pages from the companies I work for on the
> usenet. I hope you'll understand this.
Sorry, but we usually don't guess about what might be wrong with pages
we can't see. I hope you'll understand this.
sherm--
--
WV News, Blogging, and Discussion: http://wv-www.com
Cocoa programming in Perl: http://camelbones.sourceforge.net
Re: Image over two table cells?
am 13.11.2007 19:49:25 von Bone Ur
Well bust mah britches and call me cheeky, on Tue, 13 Nov 2007 15:04:50 GMT
Herbert Meister scribed:
> Jonathan N. Little wrote
>> Which page, if it exists show us with a URL then we can better advise
>
> Sorry, I usually don't show pages from the companies I work for on the
> usenet. I hope you'll understand this.
>
> It's just an ordinary table that is displayed on the center (!) of the
> page. So I would need a relative positioned layer. Is it possible?
Well, a url is generally preferable, but in this case the generality and
simplicity of the question belie that (-despite comments from the peanut
gallery.)
Put the image in a relatively-positioned
inside the cell and put an
absolutely-positioned button within that.
--
Bone Ur
Cavemen have formidable pheromones.
Re: Image over two table cells?
am 13.11.2007 23:37:16 von Richard
On Tue, 13 Nov 2007 15:24:01 +0100, Herbert Meister wrote:
> Hi,
>
> I need to add a feature button to an existing page, but I don't want to
> destroy the images inside my table. It would be great to put a layer or
> something over the relative position of a table (w/o js). Is there any
> way to do this?
>
> TIA
Not really. What you need to do make the image fit into two cells is to
merge them. See proper use of "colspan" and "rowspan".
Re: Image over two table cells?
am 14.11.2007 17:27:33 von Robert Lambe
Bone Ur wrote:
>
> Put the image in a relatively-positioned
inside the cell and put an
> absolutely-positioned button within that.
That's what I thought. But it seems that the relative position doesn't work.
But I killed my old buttons and created a backup of the old page. So
when my feature buttons isn't needed anymore I just reload my backup.
Although it would be nice to have a solution for this kind of
layer/table positioning. I once did this via javascript but it is to
slow when resizing.
Re: Image over two table cells?
am 14.11.2007 19:34:11 von lws4art
Herbert Meister wrote:
> Bone Ur wrote:
>>
>> Put the image in a relatively-positioned
inside the cell and put
>> an absolutely-positioned button within that.
>
> That's what I thought. But it seems that the relative position doesn't
> work.
>
>
>
>
>
>
>
You put the "position: relative" on the parent of the "position:
absolute" to get the absolutely position element to be relative to
parent and not the page... also with css properties lengths need units[*]
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Re: Image over two table cells?
am 14.11.2007 20:30:27 von Bergamot
Herbert Meister wrote:
> Bone Ur wrote:
>>
>> Put the image in a relatively-positioned
inside the cell and put an
>> absolutely-positioned button within that.
>
> That's what I thought. But it seems that the relative position doesn't work.
It does if you use it correctly. If you haven't read the specs, or at
least a good tutorial, you're probably making some false assumptions
about relative positioning.
>