Jump to content

table widths with explorer....


mabog

Recommended Posts

Why the "R w50" text is not on the right?? How can I fix it?

Also the first "w30" has not correct width.........?

 

tables.jpg

 

<table border=1 cellpadding=5 cellspacing=0>
  <tr>
    <td style=\"width:30px;\">w30</td>
    <td>n</td>
    <td style=\"text-align:right; width:50px;\">R w50</td>
  </tr>
  <tr>
  <td colspan=3>
    <table border=1 cellpadding=5 cellspacing=0 bordercolor=red width=100%>
      <td style=\"width:30px;\">w30</td>
      <td>n n n n n n n n n n n n n n n n n n n</td>
      <td style=\"text-align:right; width:50px;\">R w50</td>
    </table>
    </td>
  </tr>
</table>

Link to comment
Share on other sites

explorer is very very stupid crazy bad ugly bowser

you shouldn't try to do that on explorer

Chrome,Firefox,Opera and Netscape are enough

 

I totally agree! But I can't prevent other people to browse my site with it...

I like to design websites, but trying to make everything work correctly on explorer is very very frustrating  >:(

 

Anyway, I solved the alignment problem (page's other code was affecting it) but the widths are still not correct.

Here'a a sample page

 

Which is looking like this to me:

tables2.jpg

 

I need those smaller tables to be 30 & 50 pixels wide but the center one to be a "flexible" one.

 

Does anyone have any clue how to fix it?

Maybe it's just not possible....

 

Link to comment
Share on other sites

explorer is very very stupid crazy bad ugly bowser

you shouldn't try to do that on explorer

Chrome,Firefox,Opera and Netscape are enough

That is the worst advice to give to anyone.

 

 

As far as to make this work, assign width to each <td> so don't forget the middle one.

Link to comment
Share on other sites

As far as to make this work, assign width to each <td> so don't forget the middle one.

 

But I don't want to assign width to the middle <td>.

 

The first and last <td> contains always short text, but the middle one just sometimes.

I want the middle one to disappear when it's empty (= looks like there's only two <td>).

 

Has anyone created a site where browsing with explorer is totally prevented.....?

I could do that. Would give more time to actually improve the site..........

Link to comment
Share on other sites

But I don't want to assign width to the middle <td>

I hope you do realize that widths come in fixed and fluid forms....?

 

Has anyone created a site where browsing with explorer is totally prevented.....?

Probably yes, but only idiots that never had a decent client and refuse to read up would do that. Most people that blame on IE, do not understand that IE does not compensate errors made by the person himself. And yes IE 5 and 6 have some weird things, but it will take you only a day to read about it and apply it. Also conditional comments are perfect for that. And seriously with IE9 they did a very good job!

 

In my opinion anyone that recommends not to design for clients that use IE, should start selling vegetables at a real life market.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.