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 6198697
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T04:03:41+00:00 2026-05-24T04:03:41+00:00

I have some Sharepoint-produced HTML markup which is not the best you’ve seen, and

  • 0

I have some Sharepoint-produced HTML markup which is not the best you’ve seen, and cannot interfere in the markup, but have to style it via CSS.

The markup goes more or less like this:

<div id="searchbox">
<table>
<tr>
<td>
<table class="mstable">
<tr>
<td><input></input></td>
<td><select><option></option><option></option></select></td>
</tr>
</table>
</table>
<div id="fontsize">
<a href=""/>
<a href=""/>
</div>
</div>

Here is the CSS applied

#searchbox {
    float: right;
    margin-right: 15px;
    margin-top: 10px;
    text-align: right;
    width: 40%;
}

#fontsize {
    float: right;
    width: 46px;
}

.mstable {
    border-collapse: collapse;
    margin-left: 2px;
    margin-top: 2px;
    width: 100%;
    color: #000000;
    font-family: Verdana;
    font-size: 0.7em;
    font-style: normal;
    font-weight: normal;
}

What I am trying to do is put the fontsize div, next to the table. Currently, after the table there’s a break and the fontsize id goes under it.
here's how it looks

I set display:inline to all the table descendants of searchbox and the fontsize div, and in Firefox I get the desired result, but in IE (all versions 8 and below) it ignores it..

I know my solution would be to remove these tables and make it div-only but I don’t know if I have this possibility..

Edit: I resolved the problem by setting float:left to both table and fontsize div AND setting a width in pixels to the table itself such as to limit it from expanding to the whole searchbox div.

  • 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-24T04:03:43+00:00Added an answer on May 24, 2026 at 4:03 am

    This should do it for you :

    http://jsfiddle.net/nULYR/8/

    works in ie7+

    EDIT

    <table>
    <tr>    // here is 
    <td>    // the problem
    <table class="mstable">
    <tr>
    <td><input></input></td>
    <td><select><option></option><option></option></select></td>
    </tr>
    </table>
    </table>
    

    With : http://jsfiddle.net/nULYR/13/

    Without : http://jsfiddle.net/nULYR/12/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For some time I’ve seen employers demanding Sharepoint knowledge from programmers, but I have
I have some stuff to do in SharePoint for my departure, but i am
I have some event handlers which are tracking list items in my SharePoint lists.
I've made test Program for some Sharepoint WSS3 features but I have run into
I have seen numerous examples on some SharePoint blogs regarding the use of the
I have some code which I am attempting to use to rollback a sharepoint
I have a sharepoint server on which some files are hosted. I have some
I have some code which replicates list templates files for new sites in SharePoint
I have a shared site in sharepoint and have some RSS feed webpart in
I have a SharePoint DLL that does some licensing things and as part of

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.