English 中文(简体)
a. 预设的单一、横向可变的线路?
原标题:Single, horizontally scrollable line in a pre?
  • 时间:2012-05-10 23:49:42
  •  标签:
  • html
  • css

我有一个很简单的超文本轨道,我试图(而且不错)适当格式。 我基本上有以下要素:

<pre>http://myserver.com:9000/something/REQUEST/124125125125?username=username&password=password</pre>

我基本上需要弄清你在我前面看到的东西。 我需要有一个单一的行文,作为单一行文,必要时在横向滚动之前。

到目前为止,所有尝试都失败了。 <代码><pre>作为儿童存在于<td>:

<table>
    <tbody>
        <tr>
            <td>
                Behold some incredible, glowy sample text, and then a URL:
                <pre>...</pre>
            </td>
        </tr>
    </tbody>
</table>
最佳回答

平均流量

overflow: auto;
width: auto;

在<代码><pre>的母集装箱内有明确的宽度(730px)。

问题回答

暂无回答




相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签