Re: HTML tables with Firefox

2006-07-25 Thread Uri Even-Chen

OK, I put an example online:
http://www.speedy.co.il/___test1___/

Any suggestions?

Uri.


Diego Iastrubni wrote:

ביום שני, 24 ביולי 2006, 18:13, נכתב על ידי Uri Even-Chen:


Hi people,

I have a technical problem.  I need to create a table with HTML, and the
size of the table would change with the size of the window.  The table


width? height?

(blabla..)

Show the code, patches will come ;-)




=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: HTML tables with Firefox

2006-07-25 Thread David Suna

You just need to change line 185 from

td class=td4/td
to

td class=td4nbsp;/td

and it lines up properly in Firefox. 



I don't know if this is a bug in Firefox or correct behavior when you 
have a cell with no content and only a background image.



I prefer to layout my tables differently.  Here is the bottom row of 
your table as I would lay it out.  It looks correct in both Firefox and 
IE for me.



Code below (I hope the formatting doesn't get to messed up)



tr
td
 table width=100% border=0 cellspacing=0 cellpadding=0
  tr
   td width=20img src=Images/Gener_Table_Blue_Botm_L.gif alt= 
width=20 height=39 //td

   td
table width=100% border=0 cellspacing=0 cellpadding=0
 tr
  td width=100% bgcolor=#dcdcee height=11/td
 /tr
 tr
  td width=100%
   table width=100% border=0 cellspacing=0 cellpadding=0
tr
 td class=td4nbsp;/td
 td width=52 align=right valign=topimg 
src=Images/Gener_Table_Blue_Botm_But_L.gif alt= width=52 
height=28 //td
 td width=120 align=center valign=top 
class=buttontda href=ohadWillDoNew BlaBla Record/a/td
 td width=28 align=right valign=topimg 
src=Images/Gener_Table_Blue_Botm_But_R.gif alt= width=28 
height=28 //td

/tr
   /table
  /td
 /tr
/table
   /td
   td width=21img src=Images/Gener_Table_Blue_Botm_R.gif alt= 
width=21 height=39 //td

  /tr
 /table
/td
/tr
---

David Suna
[EMAIL PROTECTED]



Uri Even-Chen wrote:

OK, I put an example online:
http://www.speedy.co.il/___test1___/

Any suggestions?

Uri.


Diego Iastrubni wrote:

ביום שני, 24 ביולי 2006, 18:13, נכתב על ידי Uri Even-Chen:


Hi people,

I have a technical problem.  I need to create a table with HTML, and 
the

size of the table would change with the size of the window.  The table


width? height?

(blabla..)

Show the code, patches will come ;-)




=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]





=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: HTML tables with Firefox

2006-07-25 Thread Uri Even-Chen

Thanks a lot!  It works!  I didn't know about this bug/feature in Firefox.

I agree with you that it's better to nest tables than to use rowspan and 
colspan.  You are right.  I received this code from my graphic designer.


Do you recommend any specific HTML editor that can do such things 
automatically?  Such as nesting tables instead of using rowspan and 
colspan?  Or at least, makes it easier for me to do it?


Uri.


David Suna wrote:

You just need to change line 185 from

td class=td4/td
to

td class=td4nbsp;/td

and it lines up properly in Firefox.

I don't know if this is a bug in Firefox or correct behavior when you 
have a cell with no content and only a background image.



I prefer to layout my tables differently.  Here is the bottom row of 
your table as I would lay it out.  It looks correct in both Firefox and 
IE for me.



Code below (I hope the formatting doesn't get to messed up)



tr
td
 table width=100% border=0 cellspacing=0 cellpadding=0
  tr
   td width=20img src=Images/Gener_Table_Blue_Botm_L.gif alt= 
width=20 height=39 //td

   td
table width=100% border=0 cellspacing=0 cellpadding=0
 tr
  td width=100% bgcolor=#dcdcee height=11/td
 /tr
 tr
  td width=100%
   table width=100% border=0 cellspacing=0 cellpadding=0
tr
 td class=td4nbsp;/td
 td width=52 align=right valign=topimg 
src=Images/Gener_Table_Blue_Botm_But_L.gif alt= width=52 
height=28 //td
 td width=120 align=center valign=top class=buttontda 
href=ohadWillDoNew BlaBla Record/a/td
 td width=28 align=right valign=topimg 
src=Images/Gener_Table_Blue_Botm_But_R.gif alt= width=28 
height=28 //td

/tr
   /table
  /td
 /tr
/table
   /td
   td width=21img src=Images/Gener_Table_Blue_Botm_R.gif alt= 
width=21 height=39 //td

  /tr
 /table
/td
/tr
---

David Suna
[EMAIL PROTECTED]



Uri Even-Chen wrote:


OK, I put an example online:
http://www.speedy.co.il/___test1___/

Any suggestions?

Uri.


Diego Iastrubni wrote:


ביום שני, 24 ביולי 2006, 18:13, נכתב על ידי Uri Even-Chen:


Hi people,

I have a technical problem.  I need to create a table with HTML, and 
the

size of the table would change with the size of the window.  The table



width? height?

(blabla..)

Show the code, patches will come ;-)




=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]









=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: HTML tables with Firefox

2006-07-25 Thread Uri Even-Chen
Just one more thing: The empty space can change with text size, so I 
replaced it with a 1x1 pixel transparent image:


img src=Images/spacer01.gif alt= width=1 height=1

instead of nbsp;

Uri.


David Suna wrote:

You just need to change line 185 from

td class=td4/td
to

td class=td4nbsp;/td

and it lines up properly in Firefox.

I don't know if this is a bug in Firefox or correct behavior when you 
have a cell with no content and only a background image.



I prefer to layout my tables differently.  Here is the bottom row of 
your table as I would lay it out.  It looks correct in both Firefox and 
IE for me.



Code below (I hope the formatting doesn't get to messed up)



tr
td
 table width=100% border=0 cellspacing=0 cellpadding=0
  tr
   td width=20img src=Images/Gener_Table_Blue_Botm_L.gif alt= 
width=20 height=39 //td

   td
table width=100% border=0 cellspacing=0 cellpadding=0
 tr
  td width=100% bgcolor=#dcdcee height=11/td
 /tr
 tr
  td width=100%
   table width=100% border=0 cellspacing=0 cellpadding=0
tr
 td class=td4nbsp;/td
 td width=52 align=right valign=topimg 
src=Images/Gener_Table_Blue_Botm_But_L.gif alt= width=52 
height=28 //td
 td width=120 align=center valign=top class=buttontda 
href=ohadWillDoNew BlaBla Record/a/td
 td width=28 align=right valign=topimg 
src=Images/Gener_Table_Blue_Botm_But_R.gif alt= width=28 
height=28 //td

/tr
   /table
  /td
 /tr
/table
   /td
   td width=21img src=Images/Gener_Table_Blue_Botm_R.gif alt= 
width=21 height=39 //td

  /tr
 /table
/td
/tr
---

David Suna
[EMAIL PROTECTED]



Uri Even-Chen wrote:


OK, I put an example online:
http://www.speedy.co.il/___test1___/

Any suggestions?

Uri.


Diego Iastrubni wrote:


ביום שני, 24 ביולי 2006, 18:13, נכתב על ידי Uri Even-Chen:


Hi people,

I have a technical problem.  I need to create a table with HTML, and 
the

size of the table would change with the size of the window.  The table



width? height?

(blabla..)

Show the code, patches will come ;-)




=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]









=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: HTML tables with Firefox

2006-07-24 Thread Diego Iastrubni
ביום שני, 24 ביולי 2006, 18:13, נכתב על ידי Uri Even-Chen:
 Hi people,

 I have a technical problem.  I need to create a table with HTML, and the
 size of the table would change with the size of the window.  The table
width? height?

(blabla..)

Show the code, patches will come ;-)

-- 
diego, kde-il translation team

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]