superimpose text divs

superimpose text divs

am 05.09.2007 21:44:08 von daniel

I have a 2 column table. In one specific row/column I need to have
text aligned to the left and also aligned to the right. I assumed the
best way to do this is to superimpose 2 divs. This said, I don't seem
to be able to code it right. Could someone show me the proper way to
do this.

I need the Row/column heading 'Price' to be aligned to the left and
the $ sign to be aligned to the right so it appears right next to the
input box which is in the next column. Something like:

Price $

Thank you for your help,

Daniel

Re: superimpose text divs

am 05.09.2007 22:19:07 von jkorpela

Scripsit Daniel:

> I have a 2 column table.

So you have a URL for a document that demonstrates your problem? If not,
create one.

> In one specific row/column

That's sure not a specific statement. Is it a row, or is it a column, or is
it cell, or maybe a row divided by a column?

> I need to have
> text aligned to the left and also aligned to the right.

A URL would let us see the real problem, which is probably quite different
from what youa are saying. How can you align text to the left _and_ to the
right? That would be justification. But you hardly mean it.

> I assumed the
> best way to do this is to superimpose 2 divs.

Stop making assumptions. Post the URL.

> Could someone show me the proper way to
> do this.

Maybe, if we can see what "this" is.

> I need the Row/column heading 'Price' to be aligned to the left and
> the $ sign to be aligned to the right so it appears right next to the
> input box which is in the next column. Something like:
>
> Price $

Oh. Now it resembles something specific. But most probably the design is
wrong. This sounds like a poorly designed form with bad accessibility. Prove
that I'm wrong by posting the URL, please.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

Re: superimpose text divs

am 05.09.2007 22:21:16 von mrcakey

"Daniel" wrote in message
news:1189021448.011872.245550@y42g2000hsy.googlegroups.com.. .
>I have a 2 column table. In one specific row/column I need to have
> text aligned to the left and also aligned to the right. I assumed the
> best way to do this is to superimpose 2 divs. This said, I don't seem
> to be able to code it right. Could someone show me the proper way to
> do this.
>
> I need the Row/column heading 'Price' to be aligned to the left and
> the $ sign to be aligned to the right so it appears right next to the
> input box which is in the next column. Something like:
>
> Price $
>
> Thank you for your help,
>
> Daniel
>

3 columns? Although I don't think nesting form elements inside a table is
strictly de rigeur these days. Maybe use labels?

+mrcakey

Re: superimpose text divs

am 05.09.2007 22:28:57 von jkorpela

Scripsit mrcakey:

> 3 columns?

Or maybe 42? We don't know what the real problem is, so we might just as
well throw in some _interesting_ figures if we start making guesses.

> Although I don't think nesting form elements inside a
> table is strictly de rigeur these days.

You don't, do you? And what made you think there's a form element inside a
table here.

> Maybe use labels?

Maybe use your forefinger to type in the tags? Sounds as relevant to the
issue as your suggestion. Surely a form field should have a label, and
surely they should be connected with the

Re: superimpose text divs

am 05.09.2007 23:14:37 von daniel

Disappointing to see you feel it helpful to mock someone asking for
help and guidance. Why do you even bother responding?

And row/column would indicate a column within a row, thus yes, a cell
of a table.

Re: superimpose text divs

am 05.09.2007 23:15:28 von daniel

On Sep 5, 4:21 pm, "mrcakey" wrote:
> "Daniel" wrote in message
>
> news:1189021448.011872.245550@y42g2000hsy.googlegroups.com.. .
>
>
>
>
>
> >I have a 2 column table. In one specific row/column I need to have
> > text aligned to the left and also aligned to the right. I assumed the
> > best way to do this is to superimpose 2 divs. This said, I don't seem
> > to be able to code it right. Could someone show me the proper way to
> > do this.
>
> > I need the Row/column heading 'Price' to be aligned to the left and
> > the $ sign to be aligned to the right so it appears right next to the
> > input box which is in the next column. Something like:
>
> > Price $
>
> > Thank you for your help,
>
> > Daniel
>
> 3 columns? Although I don't think nesting form elements inside a table is
> strictly de rigeur these days. Maybe use labels?
>
> +mrcakey- Hide quoted text -
>
> - Show quoted text -

Is there no way to do this without a 3rd column by any chance?

Re: superimpose text divs

am 06.09.2007 00:24:00 von mrcakey

"Jukka K. Korpela" wrote in message
news:ZjEDi.218786$WD1.101017@reader1.news.saunalahti.fi...
> Scripsit mrcakey:
>
>> 3 columns?
>
> Or maybe 42? We don't know what the real problem is, so we might just as
> well throw in some _interesting_ figures if we start making guesses.
>
>> Although I don't think nesting form elements inside a
>> table is strictly de rigeur these days.
>
> You don't, do you? And what made you think there's a form element inside a
> table here.

Perhaps the input box that he mentioned he wanted to go into one of the
columns.

+mrcakey

Re: superimpose text divs

am 06.09.2007 00:41:19 von dorayme

In article
<1189026877.899324.104490@w3g2000hsg.googlegroups.com>,
Daniel wrote:

> Disappointing to see you feel it helpful to mock someone asking for
> help and guidance. Why do you even bother responding?
>
> And row/column would indicate a column within a row, thus yes, a cell
> of a table.

Without any mocking, please post a url with your best shot.

--
dorayme

Re: superimpose text divs

am 06.09.2007 01:57:39 von Martin Jay

On Wed, 05 Sep 2007 14:15:28 -0700, Daniel
wrote:
>On Sep 5, 4:21 pm, "mrcakey" wrote:
>> "Daniel" wrote in message
>> 3 columns? Although I don't think nesting form elements inside a table is
>> strictly de rigeur these days. Maybe use labels?

>Is there no way to do this without a 3rd column by any chance?

If I've understood your requirements correctly, I think I'd go with a
3 column table format, merging columns two and three to display the
data.

Like so: .
--
Martin Jay

Re: superimpose text divs

am 06.09.2007 03:41:49 von daniel

On Sep 5, 7:57 pm, Martin Jay wrote:
> On Wed, 05 Sep 2007 14:15:28 -0700, Daniel
> wrote:
>
> >On Sep 5, 4:21 pm, "mrcakey" wrote:
> >> "Daniel" wrote in message
> >> 3 columns? Although I don't think nesting form elements inside a table is
> >> strictly de rigeur these days. Maybe use labels?
> >Is there no way to do this without a 3rd column by any chance?
>
> If I've understood your requirements correctly, I think I'd go with a
> 3 column table format, merging columns two and three to display the
> data.
>
> Like so: .
> --
> Martin Jay

Martin,

Thank you. Although I was trying to find an alternative to using a
third column for just one instance, it does seem to be the best
solution. Thank you for the demo it is greatly appreciated.

Daniel

Re: superimpose text divs

am 06.09.2007 05:02:39 von lws4art

Daniel wrote:
> On Sep 5, 7:57 pm, Martin Jay wrote:
>> On Wed, 05 Sep 2007 14:15:28 -0700, Daniel
>> wrote:
>>
>>> On Sep 5, 4:21 pm, "mrcakey" wrote:
>>>> "Daniel" wrote in message
>>>> 3 columns? Although I don't think nesting form elements inside a table is
>>>> strictly de rigeur these days. Maybe use labels?
>>> Is there no way to do this without a 3rd column by any chance?
>> If I've understood your requirements correctly, I think I'd go with a
>> 3 column table format, merging columns two and three to display the
>> data.
>>
>> Like so: .
>> --
>> Martin Jay
>
> Martin,
>
> Thank you. Although I was trying to find an alternative to using a
> third column for just one instance, it does seem to be the best
> solution. Thank you for the demo it is greatly appreciated.
>

Sure there is

"http://www.w3.org/TR/html4/strict.dtd">





2 column












ItemPrice $
sample10.00
sample20.00
sample30.00
sample40.00






--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

Re: superimpose text divs

am 06.09.2007 05:44:35 von dorayme

In article ,
"Jonathan N. Little" wrote:

> Daniel wrote:
> > On Sep 5, 7:57 pm, Martin Jay wrote:
> >> On Wed, 05 Sep 2007 14:15:28 -0700, Daniel
> >> wrote:
> >>
> >>> On Sep 5, 4:21 pm, "mrcakey" wrote:
> >>>> "Daniel" wrote in message
> >>>> 3 columns? Although I don't think nesting form elements inside a table
> >>>> is
> >>>> strictly de rigeur these days. Maybe use labels?
> >>> Is there no way to do this without a 3rd column by any chance?
> >> If I've understood your requirements correctly, I think I'd go with a
> >> 3 column table format, merging columns two and three to display the
> >> data.
> >>
> >> Like so: .
> >> --
> >> Martin Jay
> >
> > Martin,
> >
> > Thank you. Although I was trying to find an alternative to using a
> > third column for just one instance, it does seem to be the best
> > solution. Thank you for the demo it is greatly appreciated.
> >
>
> Sure there is
>
> > "http://www.w3.org/TR/html4/strict.dtd">
>
>
>
>
>
> 2 column
>
>
>
>
>
>
>


>
>
>
>
>
>
ItemPrice $
sample10.00
sample20.00
sample30.00
sample40.00

>
>
>

....except that http://www.spam-free.org.uk/pages/table3.html
works in MacIE5 while yours does not quite. After all, we all
know how important it is - if unsure, ask ask AD for trenchant
remarks on the subject - to make things work well in MacIE.

--
dorayme

Re: superimpose text divs

am 06.09.2007 06:02:50 von lws4art

dorayme wrote:
> In article ,
> "Jonathan N. Little" wrote:

>> >> "http://www.w3.org/TR/html4/strict.dtd">
>>
>>
>>
>>
>>
>> 2 column
>>
>>
>>
>>
>>
>>
>>


>>
>>
>>
>>
>>
>>
ItemPrice $
sample10.00
sample20.00
sample30.00
sample40.00

>>
>>
>>
>
> ...except that http://www.spam-free.org.uk/pages/table3.html
> works in MacIE5 while yours does not quite. After all, we all
> know how important it is - if unsure, ask ask AD for trenchant
> remarks on the subject - to make things work well in MacIE.
>

Works In MSIE5.01 on Windows and NN4.6 degrades okay so I would assume
that it degrades gracefully on MacIE5

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

Re: superimpose text divs

am 06.09.2007 09:49:26 von Andrew Bailey

Hi,

How about if you make a small $ image and put it in the left column but with
a right align?

LABEL

Andy

Re: superimpose text divs

am 06.09.2007 10:09:02 von Ben C

On 2007-09-06, Andrew Bailey wrote:
> Hi,
>
> How about if you make a small $ image and put it in the left column but with
> a right align?
>
>LABEL

There's no need to use an image, you can just use a float (align="right"
is just a deprecated way of floating an image these days anyway).

$ Price

Re: superimpose text divs

am 06.09.2007 10:20:28 von dorayme

In article ,
"Jonathan N. Little" wrote:

> dorayme wrote:
> > In article ,
> > "Jonathan N. Little" wrote:
>
> >> > >> "http://www.w3.org/TR/html4/strict.dtd">
> >>
> >>
> >>
> >>
> >>
> >> 2 column
> >>
> >>
> >>
> >>
> >>
> >>
> >>


> >>
> >>
> >>
> >>
> >>
> >>
ItemPrice $
sample10.00
sample20.00
sample30.00
sample40.00

> >>
> >>
> >>
> >
> > ...except that http://www.spam-free.org.uk/pages/table3.html
> > works in MacIE5 while yours does not quite. After all, we all
> > know how important it is - if unsure, ask ask AD for trenchant
> > remarks on the subject - to make things work well in MacIE.
> >
>
> Works In MSIE5.01 on Windows and NN4.6 degrades okay so I would assume
> that it degrades gracefully on MacIE5

It "degrades" I guess. Here let a picture save me a thousand
words, I was just about to launch into a raving lunatic plunge
into words galore before I remembered the incredible, screen grab
powers of a Mac machine:



--
dorayme

Re: superimpose text divs

am 06.09.2007 13:57:23 von daniel

On Sep 6, 4:20 am, dorayme wrote:
> In article ,
> "Jonathan N. Little" wrote:
>
>
>
>
>
> > dorayme wrote:
> > > In article ,
> > > "Jonathan N. Little" wrote:
>
> > >> > > >> "http://www.w3.org/TR/html4/strict.dtd">
> > >>
> > >>
> > >>
> > >>
>
> > >> 2 column
>
> > >>
>
> > >>
> > >>
>
> > >>


> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
ItemPrice $
sample10.00
sample20.00
sample30.00
sample40.00

>
> > >>
> > >>
>
> > > ...except thathttp://www.spam-free.org.uk/pages/table3.html
> > > works in MacIE5 while yours does not quite. After all, we all
> > > know how important it is - if unsure, ask ask AD for trenchant
> > > remarks on the subject - to make things work well in MacIE.
>
> > Works In MSIE5.01 on Windows and NN4.6 degrades okay so I would assume
> > that it degrades gracefully on MacIE5
>
> It "degrades" I guess. Here let a picture save me a thousand
> words, I was just about to launch into a raving lunatic plunge
> into words galore before I remembered the incredible, screen grab
> powers of a Mac machine:
>
>
>
> --
> dorayme- Hide quoted text -
>
> - Show quoted text -

Thank you all so much for your help! More than one way to skin a cat
I see.

Daniel

Re: superimpose text divs

am 06.09.2007 14:16:14 von lws4art

dorayme wrote:

> It "degrades" I guess. Here let a picture save me a thousand
> words, I was just about to launch into a raving lunatic plunge
> into words galore before I remembered the incredible, screen grab
> powers of a Mac machine:
>
>
>

Yes, I say it degrades satisfactorily, especially when one considers the
small fraction of visitors using a Mac then the minuscule fraction of
those using IE...

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

Re: superimpose text divs

am 06.09.2007 22:37:11 von dorayme

In article <3a3dd$46dfef73$40cba7be$3183@NAXS.COM>,
"Jonathan N. Little" wrote:

> dorayme wrote:
>
> > It "degrades" I guess. Here let a picture save me a thousand
> > words, I was just about to launch into a raving lunatic plunge
> > into words galore before I remembered the incredible, screen grab
> > powers of a Mac machine:
> >
> >
> >
>
> Yes, I say it degrades satisfactorily, especially when one considers the
> small fraction of visitors using a Mac then the minuscule fraction of
> those using IE...

OK, then I say this too.

--
dorayme