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

  • Home
  • SEARCH
  • 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 5994701
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T23:51:20+00:00 2026-05-22T23:51:20+00:00

Any ideas on why this code works perfectly in Firefox (that is, if the

  • 0

Any ideas on why this code works perfectly in Firefox (that is, if the text is longer than the width it continues below) but in Chrome it doesn’t work? (e.g the text keeps going to the right)

The CSS:

#leftnav {
 width: 18%;
 float: left;
 background-color: #fff;
 margin: 15px 0 0 0;
 margin-left: 5px;
 border: 1px solid #ddd;
 padding: 5px 5px 30px 5px;
 -moz-border-radius: 7px;
 -webkit-border-radius: 7px;
}
#leftnav h2 {
 font: normal 17px "Geneva", Helvetica, Arial, Tahoma, Verdana;
 letter-spacing: 0px;
 color: #ff4800;
 margin: 20px 0 5px 10px;
}

The PHP/HTML:

<h2>
<a href="index.php?site=<?php echo urlencode($value);?>"><?php echo $value;?></a>
</h2>

Thank you very much for any input!!!

  • 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-22T23:51:20+00:00Added an answer on May 22, 2026 at 11:51 pm

    Use word-wrap: break-word:

    #leftnav h2 {
     font: normal 17px "Geneva", Helvetica, Arial, Tahoma, Verdana;
     letter-spacing: 0px;
     color: #ff4800;
     margin: 20px 0 5px 10px;
     word-wrap: break-word;
    }
    

    http://jsfiddle.net/7nruR/2/

    http://webdesignerwall.com/tutorials/word-wrap-force-text-to-wrap

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

Sidebar

Related Questions

I have a page that works perfectly fine in Firefox, but is throwing an
Any idea why firefox acts so weird with this code? It works perfect in
The code below works perfectly fine with Firefox, however, I am having problems with
Here is the code, any ideas why I get this error? private SQLiteDataAdapter DA_Webfiles;
any idea how i can get the code below to produce this output? 1
This is simple text detection video made using an opencv. Any ideas how was
I can't quite figure this one out, the following code works perfectly with Python
I'm having some trouble getting this code to compile on Linux but it works
hi my dear friends : the below code works perfect in ie9 , but
I have this (attached)code which works perfectly on all the AVDs I create with

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.