How can I force < pre > (or [code] bbcode) tags for the return to the line?

I recently spent 12 Opera to Firefox.

I use the world of Warcraft UI and Macros forum a lot and I use the {code} tag when posting scripts or macros.

In Opera, {code} tags would be word wrap nicely, allowing me to see the whole code block;
http://i.imgur.com/AhJJwHH.jpg

However, in Firefox, the {code} tag not dress and gives me a horizontal scroll bar;
http://i.imgur.com/CC6nwSi.jpg

How can we force pre or {code} tags to word wrap in FIrefox? I guess I could get around this behavior with the CSS styles, but I'm a complete noob to how to start even with that. A tutorial step by step would be best.

Thanks in advance.

Then, you add the selector code as well.

code, pre {
white-space:pre-wrap !important;
word-wrap:break-word !important;
}

Tags: Firefox

Similar Questions

  • How can I force Acrobat Professional 11 users to use the "save under" verses "Save"?

    How can I force Acrobat Professional 11 users to use the "save under" verses "Save"?  I want users to type in a form to fill out, but not to save their changes to the original formula.  I want them to be able to save with a different file name.

    You can not force it really, but you can encourage it... For example, you can set the file read-only and add a statement to do it before the file is saved using a script.

  • How can I make a cell formula will apply for the entire column? For example D2 appears B2 - C2. How can I copy this formula for each cell in the column?

    How can I make a cell formula will apply for the entire column? For example D2 appears B2 - C2. How can I copy this formula for each cell in the column?

    If you want the formula is the same (B2 - C2) in the cell of each column you must change it as ($B$ - 2$ C$ 2). Then copy it, select the whole column and paste.

  • How can I change my mood Message in Skype for the Web?

    How can I change my mood message in Skype for the Web?

    People of good news: you can now change your mood message in Skype for the Web

    Just click on the picture at the top left of your profile, and then click the small icon of pencil next to the message of change in activity.

  • How can I get a replacement adapter to recharge for the pencil of Apple?

    I've already lost my charger. How can I get a replacement adapter to recharge for the pencil of Apple?

    If you have lost, you have to pay for a new.

  • How can I add "Shut down" as an option for the action of the Power button if it is not available

    How can I add "Shut down" as an option for the action of the Power button if it is not available.

    Hello

    Welcome to the Microsoft Community and thanks for posting the question. Looks like you want to add shut down as an option for the power button.

    Visit this link and try the steps mentioned:

    There are two ways to change what happens when you press the power button on your computer. You can change what happens when you press the power button on your computer case (or the edge of your laptop) and you can change what happens when you press the close button in the start menu.

    Change what happens when you press the power button on your computer

    http://Windows.Microsoft.com/en-us/Windows7/change-what-happens-when-you-press-the-power-button-on-your-computer

    Hope this information helps. If you have questions to answer us and we will be happy to help you.

  • How can I send my site map of Muse for the approval of the customer?

    How can I send my site map of Muse for the approval of the customer? Thank you.

    Hello

    There are many options for a file sharing - you could copy it to a company network server, or send the file back, or use a service like Dropbox, SendThisFile, Adobe SendNow file sharing or Creative cloud sync, among others.

    What is right for you depends on the size of your file, how many times you send the file back and personal preferences

  • How can I get rid of this annoying tag at the end of my posts wordpress: / / <! [CDATA [< div id = "" class = "_mp3rocket_overlay_style" style = "left:; top:; width:;]]

    Whenever I post on my blog, it appears at the bottom:

    // <![CDATA[
    <div id="" class="_mp3rocket_overlay_style" style="left: ; top: ; width: ; height: ">
    // ]]>
    

    How can I get rid of him?

    Is the mp3rocket name ring a Bell? It may be related to a browser add-on. You might check and possibly disable or remove such an add-on here:

    Orange Firefox button or classic menu Tools > Modules

    Try the Extensions and Plugins categories.

    If she seems not related to an add-on, perhaps it's something added by a Wordpress plugin or theme of your blog. If you provide a link to your blog, a volunteer here could take a look and see if they get the same text.

  • How can I remove Yahoo as a search engine for the bad written URL?

    I've installed a plugin that put Yahoo as my default search engine.
    Meanwhile, I could remove most of it and I'm able to use Ixquick again.
    But when I get a bad URL in the url bar, e. g. motsilla.org, me always looking for Yahoo.
    How can I remove this?
    I saw nothing in the subject: config.

    I have it!
    It had nothing to do with the proxy settings, it was actually a software called "Panda Security. I hate programs like this.
    But thanks a lot for your efforts!

  • How can I force reload a page in Firefox for Android?

    I use Firefox for Android. Can how I force reload a page that Firefox does not account for the content in the cache?

    Firefox is not properly rendered http://news.google.com/ (page makes simply as a small white rectangle). I want to force Firefox to force the reloading of the page of the site rather than use the content corrupted in my cache. On the desktop, I can do that by pressing the SHIFT key and select Refresh from the menu.

    Many issues of the site can be caused by corrupted cookies or cache. To try to solve these problems, the first step is to clear cookies and cache.
    The Firefox cache temporarily stores images, scripts and other parts of websites while you browse.

    Note: This will be you temporarily disconnect all sites, you're connected to.
    To clear the cache and cookies, follow these steps:

    1. Tap the top right menu. It is the icon with 3 bars. On older Android devices, you will need to press menu hardware key, and then click more.
    2. Press settings.
    3. After that, you will pass to the settings screen. In the display settings, look under the privacy and security section, and then select clear private data.
    4. You will then pass a list of which can be erased. Select the 2 following for deletion:
      • Cookies & active connections
      • Cache
    5. After they have been selected, press the clear data button to actually clear the cache and cookies.

    This will help you with your problems? Please let us know!

  • How can I unsubscribe from a monthly automatic renewal for the Washington Post?

    I don't want to get the Washington Post more. It automatically renews each month and I pay on my Apple account. How can I stop it?

    There are instructions on this page to manage and automatic shutdown iTunes-renewal of subscriptions: view, change or cancel your subscription - Apple Support

  • How can I move my app ireal old android for the new iphone pro

    Hi, I bought iReal for my Samsung phone and now have an iPhone, how can I get my app purchased on my new phone please?

    Thanks, Lucaz

    In the Google game store purchases are not transferable to the iOS App Store. You must purchase a new copy of the new platform.

    TT2

  • When I rt - click message how can I move "Delete msg" of last resort for the first option

    You want to move the Message 'remove' the last option when you right click for the first option.

    I don't know how it's easy that would be, but if you left click ONCE to highlight the message, or if it is already highlighted, you can press the delete key to remove the message.

  • How can I make another computer my main computer for the use of synchronization

    my main computer is going to be one that generates change tabs and bookmarks. When I first
    set up synchronization I used a secondary computer, not realizing that this would be the primary computer. How can I change
    the status of computers. now merged all my data I need to clean and maintain to
    the new main computer. Thank you Miles

    Check the synchronization options when you used before Sync and you want to keep the data previously stored on the server.

    • Click on the "Synchronization Options" button at the bottom to select which, for synchronization (Sync Options only affect the first synchronization)

    Select this if you want to restore the data from the server:

    • "Replace all data on this device with my sync data".
  • How can I create two Windows XP ins journal for the same profile account

    How to create two window XP account but after I'm in the same document and connection setting? can anyone help? I am urgently use...

    for example

    I create UserB, wear and two user account
    the nest of access profile is userA
    what I need is UserA, connect you will see UserA profile, including all the settings such as the office and the document.
    When UserB connect it will also see the same thing as UserA is the profile of UserA. Can I know how to do? I know it's something on the registry.
    Here's a link, but I really understand now
    http://support.Microsoft.com/kb/314045
    Thanks in advance

    You cannot use them with the same profile, but you can copy the user profile to B.

    See here for more help: to copy a user profile

    You must be logged in as an administrator to do and you can't copy to or from the account to which you are connected.  If you want to copy the profile to the profile B, you need to be connected on that C and C must be a member of the Administrators group, you will have to create this account C if it is not already available (or use the built-in Administrator account).

    John

Maybe you are looking for