Hi, I've got one simple question.
I know that when there is more than one space in HTML file, they all are removed and only one is left.
I'd like to know, is it possible to disable this feature for one tag? I want to create "code" tag, text appearing inside it should be monospaced, inside border etc.:
.sdl_cfg_code
{
BORDER-RIGHT: gray 1px solid;
BORDER-TOP: gray 1px solid;
BORDER-LEFT: gray 1px solid;
BORDER-BOTTOM: gray 1px solid;
MARGIN-TOP: 0;
MARGIN-LEFT: 5;
MARGIN-RIGHT: 5;
MARGIN-BOTTOM: 5;
PADDING: 5 5 5 5;
DISPLAY: block;
color: blue;
font-size: 10pt;
font-family: "Courier New", Courier, monospace;
}
Is there any other property that can help me? I know of & nbsp; hack, but it's irritating to write sth like this:
[Video]
screen_size_x = 640
screen_size_y = 480
color_depth = 32
while I could (theoretically) write sth like this:
<pre class="sdl_cfg_code">
[Video]
screen_size_x = 640
screen_size_y = 480
color_depth = 32
</pre>
Thx for your help!