html - CSS: style is reset after `<pre>` element -


there web-site nodeclipse foss project http://www.nodeclipse.org/

i not quick @ web development , styles, , there problem don't know how approach:

on main page http://www.nodeclipse.org/index.html there <pre> element (source line) , after style different @ pragraph start.

example

i guess there's in applied http://www.nodeclipse.org/pipe.css" (source), for? (as not pre element happens after it)

foss project needs web.

as can see, <pre> tag usage inside <p> tag breaks dom structure

enter image description here

so text after pre tag not enclosed inside <p> tag.

it not advised use pre tag display content doesn't lose it's meaning if not pre-formatted.

so use <a> tag or other suitable tags span (if don't want clickable link) display url , style accordingly.


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -