Tal
Tal

Reputation: 1231

Internet explorer Div alignment issue

My code works fine on chrome and firefox but in I.E (latest version) , "px" thing is shown in next line. I tried display:inline , that does the trick but disturbs the alignment badly. Is their any other way by which i can make them align on same line ? Thanks

<div class="dfs_config_group">
    <div class="dfs_config_field_label">Font Size</div>
    <div class="dfs_config_field">
        <div class="dfs_config_append mini">
            <input type="text" name="dg_footer_wrapper_inner[font-size]" value="12">
            <div class="add_on">px</div>
        </div>
    </div>
</div>

Upvotes: 0

Views: 53

Answers (2)

user5387736
user5387736

Reputation:

Try using display:inline-block

Upvotes: 1

Tal
Tal

Reputation: 1231

I used style="display:inline" and my issue was fixed.

Upvotes: 0

Related Questions