ID:863915
 
Keywords: css, dm, html, link, stylesheet, tag
Redundant
Applies to:DM Language
Status: Redundant

This feature has already been implemented, or is already achievable with existing methods.
I wanted to suggest that DM support using the <link> tag for external .css files. I tried it before and it didn't work out. I had to do CSS in the text file.

Basically, I want to be able to do this:
var/html = {"
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
etc...
</body>
</html>
"}

mob/Login()
..()
src << browse(html)


While this is valid HTML and won't produce any errors, it won't link to style.css. I'd very much like to be able to keep separate .css files that I can edit easily without having to open up DM.
You forgot to call browse_rsc() to deliver that CSS file to the user. It's the same thing you'd do for an image.
Lummox JR resolved issue (Redundant)