Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started by: lawsonk on March 25, 2014, 07:12:53 AM
-
Is it possible for the ulx_motd.txt file to link and use a style sheet just such as a regular .html would?
Example being:
<link rel="stylesheet" href="style.css" type="text/css" media="screen">
If so I'm having difficulty getting it to read the CSS files.
Or must the styling be done in the ulx_motd file itself?
-lawsonk
-
Hello there,
I'd recommend uploading your MOTD to a webspace of your choice, and set "ulx showMotd" to http://www.yourwebspace.com/motd.html (http://www.yourwebspace.com/motd.html)
-
Source html, not ULX, won't allow other files (css/js/jpg/gif/whatever) to be referenced on the local file system from a local html file unless it's hosted on a publicly accessible http server somewhere.
ie, <style=css href="http://mysite.com/mystyle.css">, but if you're going that far, might as well use your own web server link as Avoid suggest.
If only using the local txt file, it would need to be done inside the original file. HTML/CSS is fine, within limits of what the Source HTML/Gmod allows for. (I remember having issues with dynamic div tags/dropdown years ago, it might be better now)