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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T13:22:20+00:00 2026-06-13T13:22:20+00:00

I have HTML code as given in http://jsfiddle.net/Lijo/FRBqJ/ . In internet explorer it works

  • 0

I have HTML code as given in http://jsfiddle.net/Lijo/FRBqJ/. In internet explorer it works fine – the header text comes with an underline. But in Firefox and Chrome the line is not coming as underline.

  1. What is the reason for this incorrect behavior?

  2. How can we correct it (using CSS) ?

Firefox

enter image description here

IE

enter image description here

HTML

    <div id="searchContainer" class="searchContainer">
                        <div id="searchHeader" class="searchHeader">
                            <span id="detailContentPlaceholder_lblSearchHeading" class="searchContentHeadingText">
                                Business Testing Act</span>
                            <img alt="Expand" src="Images/PlusIcon.GIF" class="expandSearchIcon" />
                            <img alt="Collapse" src="Images/MinusIcon.GIF" class="collapseSearchIcon" />
                        </div>
   </div>

CSS

.searchHeader
{
width:100%; 
border-bottom:2px solid #fcda55;
padding:0 0 2px 0;
margin:0 0 0 0px;
font:bold 13pt Arial;
line-height:10pt;
color:#00A6B5;
}

REFERENCE:

  1. CSS text-underline rendering difference between FF/IE and Chrome


profile for Lijo at Stack Overflow, Q&A for professional and enthusiast programmers

  • 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-06-13T13:22:22+00:00Added an answer on June 13, 2026 at 1:22 pm

    Since you’re using float, you should also addoverflow: auto; to the parent element so that it accounts for the floated element:

    .searchHeader
    {
        width:100%; 
        border-bottom:2px solid #fcda55;
        padding:0 0 2px 0;
        margin:0 0 0 0px;
        font:bold 13pt Arial;
        line-height:10pt;
        color:#00A6B5;
        overflow: auto;  /* Right here */
    }
    

    Demo: http://jsfiddle.net/FRBqJ/1/

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

Sidebar

Related Questions

i have created a coverflow using the code given by http://android.jmsliu.com/138/android-infinite-loop-gallery.html . And it
Here's a fiddle where I can't get it to work http://jsfiddle.net/mjmitche/rAPcQ/22/ I have html
I have used a code given in tutorial http://mylifewithandroid.blogspot.com/2010/12/expandable-list-and-checkboxes.html I have attached an image
I have downloaded the Android source code by following the steps given here http://source.android.com/source/downloading.html
I have the following html code (in the given order) <div id=content>...</div> <div id=footer>...</div>
I have this html code <html> <head> <title>JQuery Problem 2</title> <script type=text/javascript src=jquery-1.4.min.js></script> <script
This is the code I'm working from: http://jsfiddle.net/njDvn/36/ The weird thing is, the autosuggest
I have a html file which select images from user's computer.code is given bellow
Given the html code below: <tr> <td>Some text <a href=>Some link</a> <button>Some Button</button></td> </tr>
I have some JavaScript code that dynamically injects an iframe in a given HTML

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.