#2129 closed enhancement (wontfix)
left align the code tag
Reported by: | johnjosephbachir | Owned by: | robmiller |
---|---|---|---|
Milestone: | Priority: | lowest | |
Severity: | trivial | Version: | 2.0 |
Component: | Template | Keywords: | code-tag style bg|dev-feedback has-patch |
Focuses: | Cc: |
Description
I think this is better, for lines that wrap anyway. I suppose one could argue either way.
Attachments (2)
Change History (10)
#3
@
18 years ago
It certainly is:
http://www.w3.org/TR/REC-html40/struct/text.html#h-9.2.1
I'm pretty sure for code fragments that span multiple lines the correct usage is:
<pre> <code> void foo(bar) { baz(); } </code> </pre>
So, if you want them left-aligned, the text-align:left; should be applied to the <pre> in order to cascade down.
Note: See
TracTickets for help on using
tickets.
isn't the code tag usually used inline?