Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3975234
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T04:39:39+00:00 2026-05-20T04:39:39+00:00

Rails 2.3.5 (internal work server – stuck at this version for inside apps) The

  • 0

Rails 2.3.5 (internal work server – stuck at this version for inside apps)

The company ‘standard’ browser where I work is IE and about 70% of users are using IE7.

What I’ve slowly been learning (IE7 only) is that if you have FORM beginning or end tags inside a TR or TD, IE7 will create extra lines, sometimes doing very odd things. My solution so far is to put FORM beginning and end tags outside the TABLE tags.

Then, because I want a single line break between tables … if I use a
tag after tables in IE7 only I’ll get 3 blank lines between tables where in every other browser there will just be a single line.

Right now I’m dealing with a simple table list of users with a form on each line (delete or change access level). After playing around A LOT with this, IE7 messes up the least when I place the FORM and FORM END tags inbetween table tags like:

<table class="table_standard_blue">
  <tr>
    <td>
      FOO
    </td>
  </tr>
  <% users.each do |user| %>
    <% form_for(user) do |f| %>
      <tr>
        <td>
            SOME SELECT / SOME BUTTON
      </td>
      </tr>
    <% end %>
  <% end %>
</table>

While the ‘guts’ of the table will look fine this way, the problem this leaves behind is basically what looks like an extra line break above and below the table (in IE7 only). If I have a couple of tables like this, the effect magnifies and it looks like two blank lines between tables (where in IE8/Firefox) there will be no blank lines.

I know there’s something about RAILS putting extra spaces in with FORM tags (and there’s suppose to be some fix in RAILS 3 – which I can’t use of course at work). Does anyone have any idea how I could fix or hide what’s going on in IE7?

Thanks – much appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T04:39:40+00:00Added an answer on May 20, 2026 at 4:39 am

    Thanks for the help. Span tags didn’t have any affect at all. Also, I went throught multiple doc types and none of them mand any difference. I kept google searching and found a solution though. I’m not 100% sure but it seems to be a problem with IE7 and forms in general (not something a RAILS form_for is doing). Adding this into my stylesheet fixed everything:

    FORM
    {
        display: inline;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am just trying to use mysql with rails with a mongrel server. I
I am used to doing Rails development work on a Mac. However, now other
We're updating our ancient internal PHP application at work. Right now, we gather extensive
I'm starting my adventure with Ruby on Rails and as IDE I choose Netbeans.
I've setup Ruby 1.9.1 (p234) on a Ubuntu server. I'm trying to deploy a
Within my Rails application, I'd like to generate requests that behave identically to genuine
Rails can't load (404 error) CSS & JS files on production but has no
I'm trying to do a raw POST to an internal page from a unit
I'm lucky enough to have full control over the architecture of my company's app,
I am to build a web application which will accept different events from external

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.