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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T06:59:51+00:00 2026-06-17T06:59:51+00:00

I created a Chat application, I kept the parent div related to chat application

  • 0

I created a Chat application, I kept the parent div related to chat application as position:fixed. here is the excerpt code:

#chat-outline
{
    background-color: gray;
    width: 16%;
    height: 45%;
    min-height: 300px;
    min-width: 200px;
    max-height: 450px;
    max-width: 300px;
    position: fixed;
    bottom: 25px;  //even tried by giving 'em', no use
    right: 10px;
    padding: 2px;
}  

The problem is that in IE8, I need to give more value to bottom property to make it completely visible(the below part is cutting down). If I do so, In chrome, the chat application is going more top than usual.

Any fix to this?

I am doing this in asp.net so, there is no need to worry about doctype.(as it provides the template)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

EDIT:

HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
  <title></title>
   <script src="Scripts/jquery-1.8.3.min.js" type="text/javascript"></script>
   <script src="JSfiles/file.js" type="text/javascript"></script>
   <link href="Styles/style.css" rel="stylesheet" type="text/css" />
   <!--[if lte IE 8 ]><html class="ie_8"><![endif]-->
     <!--[if (gt IE 8)|(!IE)]><!-->
        <html>
    <!--<![endif]-->
</head>
<body>
    <div id="#chat-outline"></div>
</body>
</html>
  • 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-17T06:59:53+00:00Added an answer on June 17, 2026 at 6:59 am

    Add a conditional HTML class for IE8. Change your <html> tag to this

    <!--[if lte IE 8 ]><html class="ie_8"><![endif]-->
    <!--[if (gt IE 8)|(!IE)]><!-->
    <html>
    <!--<![endif]-->
    

    and then in your css have this

    .ie_8 #chat-outline {
        bottom: 25px  //OR whatever it needs to be
    }
    

    This will mean that the increased bottom will not affect any other browser:

    See here for more info: Link

    EDIT

    Your html is invalid:

    Try This:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <!--[if lte IE 8 ]>
        <html xmlns="http://www.w3.org/1999/xhtml" class="ie_8">
    <![endif]-->
    <!--[if (gt IE 8)|(!IE)]><!-->
        <html xmlns="http://www.w3.org/1999/xhtml">
    <!--<![endif]-->
    <head id="Head1" runat="server">
      <title></title>
       <script src="Scripts/jquery-1.8.3.min.js" type="text/javascript"></script>
       <script src="JSfiles/file.js" type="text/javascript"></script>
       <link href="Styles/style.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    <div id="#chat-outline"></div>
    </body>
    </html>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a browser based chat application where individual div's are created for each
newbie here. I successfully created a chat server using c# (server partial code below,
I have created a chat application using the Jabber Smack API. I'm successfully receiving
I'm folowing this tutorial to create php/jquery based chat application. In short, this code
I created a chat application and seems to work just fine except that it
I created a basic chat application using SignalR 1.0.0 alpha 2 . Now when
I am beginner in jQuery and asp.net. I created a simple chat application using
I created a multithreaded client-server chat application and want to test my application with
I am trying to build a bluetooth chat application using j2me. I created a
I've created a chat application. But my problem is that I don't know how

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.