Closed Bug 241891 Opened 20 years ago Closed 20 years ago

Table won't resize from pixels to percent of window. Just stays in pixels. See exact example on URL above that I made for you.

Categories

(SeaMonkey :: Composer, defect)

defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 244834

People

(Reporter: aperey, Assigned: glazou)

References

()

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)
Build Identifier: Mozilla 1.7b

The table and page were made entirely in Mozilla which I downloaded yesterday. 
The table won't change from 538 pixels a percent of the window.

<table style="width: 538px; text-align: left; margin-left: auto; margin-right: 
auto;" border="1" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><br>
</td>
</tr>
</tbody>
</table>

see example online)


This is a serious error because it makes the composer completely unusable for 
anybody who want to make a page with relative sizes.

Because of this error in Netscape 6.1 composer, I had to abandon using 
Netscape and look for another WYSIWYG html editor a year or so ago.

I hope you can fix it.

Reproducible: Always
Steps to Reproduce:
I left-clicked on the table to select it.
I right-clicked on the table for the drop-down menu.
I chose table cell properties.*
I clicked on the "table" tag.
I changed 538 pixels to 85%.
The table remained the same.
I went back into table properties and found the pixels hadn't changed to 
percent. 

------------------------------
*("table cell properties" really should read "table / cell properties" because 
it looks like you are just selecting the cell)

Actual Results:  
<table style="width: 538px; text-align: left; margin-left: auto; margin-right: 
auto;" border="1" cellpadding="2" cellspacing="2">
  <tbody>
    <tr>
      <td style="vertical-align: top;"><br>
      </td>
    </tr>
  </tbody>
</table>


Expected Results:  
<table style="width: 85%; text-align: left; margin-left: auto; margin-right: 
auto;" border="1" cellpadding="2" cellspacing="2">
  <tbody>
    <tr>
      <td style="vertical-align: top;"><br>
      </td>
    </tr>
  </tbody>
</table>
<br>


This is similar to a bug reported earlier, numbers 197859 and 235446 and 
others which come up when searching for: TABLE, RELATIVE, ABSOLUTE .... or 
searching for TABLE, PIXEL, PERCENT

To have a good composer available which also responds to CSS, as the Mozilla 
does, would be a great boon. Otherwise, it's on to Dreamweaver, I'm afraid.
Over to composer, but is this CSS editor?  Glazou, can you take a look?
Assignee: general → composer
Component: Browser-General → Editor: Composer
QA Contact: general
Taking. Component is ok. Not confirmed yet.
Assignee: composer → daniel
I'm not sure if this is what I'm seeing or not, but I think there are some
serious problems with the table dialog in recent versions of Composer (Macintosh
OSX 1.7.3 tested tonight).  I see the problem in this bug.  Confirming.

I also see problems where when I switch to HTML source and then back to Normal
and use the table properties dialog, I can't change the cell's background color
or other properties that I originally set.  Is there a serializer issue?  (Is
this really two bugs?)
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Hardware: PC → All
brade, your problem is the same as bug 237268, bug 239476 and bug 265145.

I don't understand the reference to Netscape 6.1 though.
Product: Browser → Seamonkey
This appears to be fixed with the checkin for Bug 244834.

*** This bug has been marked as a duplicate of 244834 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.