![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
|'&v_printable=1'||'">Printable</A /tr |
#2
| |||
| |||
|
|
Here's an example of what I'm trying to do: table tr style="text-align:left; font-size:10pt; font-weight:bold" !-- I want this word to align to the left -- ' ||CRPT|| ' !-- I want this link to align to the right -- A HREF=" REPORT?v_rpt='|| v_rpt ||'&v_printable=1'||'">Printable</A /tr /table I thought that the first row would be aligned left, and the second row would float on top of it to the right. Instead, there are two rows aligned to the left. Now, I'm wondering if using "float" is the way to go about this. |
#3
| |||
| |||
|
|
Here's an example of what I'm trying to do: table tr style="text-align:left; font-size:10pt; font-weight:bold" !-- I want this word to align to the left -- ' ||CRPT|| ' !-- I want this link to align to the right -- A HREF=" REPORT?v_rpt='|| v_rpt ||'&v_printable=1'||'">Printable</A /tr /table I thought that the first row would be aligned left, and the second row would float on top of it to the right. |
#4
| |||
| |||
|
|
Allie wrote: Here's an example of what I'm trying to do: table tr style="text-align:left; font-size:10pt; font-weight:bold" !-- I want this word to align to the left -- ' ||CRPT|| ' !-- I want this link to align to the right -- A HREF=" REPORT?v_rpt='|| v_rpt ||'&v_printable=1'||'">Printable</A /tr /table I thought that the first row would be aligned left, and the second row would float on top of it to the right. 1. Where do you see two rows? You have only one. 2. A TR can't contain text. It can only contain TDs and THs. |
|
|'&v_printable=1'||'">Printable</A /p |
#5
| |||
| |||
|
|
On Dec 6, 1:25 pm, Harlan Messinger hmessinger.removet... (AT) comcast (DOT) net> wrote: Allie wrote: Here's an example of what I'm trying to do: table tr style="text-align:left; font-size:10pt; font-weight:bold" !-- I want this word to align to the left -- ' ||CRPT|| ' !-- I want this link to align to the right -- A HREF=" REPORT?v_rpt='|| v_rpt ||'&v_printable=1'||'">Printable</A /tr /table I thought that the first row would be aligned left, and the second row would float on top of it to the right. 1. Where do you see two rows? You have only one. 2. A TR can't contain text. It can only contain TDs and THs. okay. sorry for the confusion. here we go: tr p align="left" ' ||CRPT|| ' /p /tr tr p style="float:right <A HREF=" REPORT?v_rpt='|| v_rpt ||'&v_printable=1'||'">Printable</A /p /tr |
#6
| |||
| |||
|
|
On Dec 6, 1:25 pm, Harlan Messinger hmessinger.removet... (AT) comcast (DOT) net> wrote: 2. A TR can't contain text. It can only contain TDs and THs. okay. sorry for the confusion. here we go: tr p align="left" ' ||CRPT|| ' /p /tr tr p style="float:right <A HREF=" REPORT?v_rpt='|| v_rpt ||'&v_printable=1'||'">Printable</A /p /tr |
#7
| |||
| |||
|
|
Allie wrote: On Dec 6, 1:25 pm, Harlan Messinger hmessinger.removet... (AT) comcast (DOT) net> wrote: 2. A TR can't contain text. It can only contain TDs and THs. okay. sorry for the confusion. here we go: tr p align="left" ' ||CRPT|| ' /p /tr tr p style="float:right <A HREF=" REPORT?v_rpt='|| v_rpt ||'&v_printable=1'||'">Printable</A /p /tr I notice this is considerably different from your first post and its amended version. This is (one reason) why we prefer a URL to pasted code. What motivatition would people have to reply constructively to you if you don't read the replies you get? Beyond which, that's one wacky-looking URL in the HREF. Makes me think you're plugging the URL string directly into a DB query. But editing URLs is trivially easy, so I wonder how secure your site is. -- John Pondering the value of the UIP:http://improve-usenet.org/ |
#8
| |||
| |||
|
|
someone told me that what I wanted to do to solve my problem was use float to the right and align to the left. |
|
That's all I was able to get from him. I created this message to hopefully get some help, because I have very little html experience. Anyway, after messing around with it, i think that I'll just use 2 different rows. |
#9
| |||
| |||
|
|
On 6 déc, 18:54, Allie <arcrev... (AT) gmail (DOT) com> wrote: someone told me that what I wanted to do to solve my problem was use float to the right and align to the left. If you read carefully the CSS 2.x specification, you'll see that floating a table row is either formally discouraged or its effect can not be defined. |
#10
| |||
| |||
|
|
Here's an example of what I'm trying to do: table tr style="text-align:left; font-size:10pt; font-weight:bold" !-- I want this word to align to the left -- ' ||CRPT|| ' !-- I want this link to align to the right -- A HREF=" REPORT?v_rpt='|| v_rpt ||'&v_printable=1'||'">Printable</A /tr /table I thought that the first row would be aligned left, and the second row would float on top of it to the right. Instead, there are two rows aligned to the left. Now, I'm wondering if using "float" is the way to go about this. |
![]() |
| Thread Tools | |
| Display Modes | |
| |