You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
ictetu
7 years agoNew member | Level 2
Displaying html and css for webpage mock-up
Hi. I am using Dropbox for a college class, and I have to put a web design project in my shared folder for my prof to view. I tested all my links from my desktop folder, and everything worked, but w...
- 7 years agoHi there, are you trying to preview HTML files? If so, they won’t be able to preview using shared links, as this has been disabled since 2016 for Basic users.CSS files however should preview as a text file on the Dropbox site.If I’m misunderstanding something, please let me know!
ictetu
New member | Level 2
Yes, they are html files. My professor must be planning to download and save them then. Thank you.
Rich
7 years agoSuper User II
ictetu wrote:
My professor must be planning to download and save them then.
Make sure all links within the HTML file are relative, to the HTML file, otherwise they will not work for anyone else viewing the file.
A link to a CSS file that looks like this:
<link rel="stylesheet" type="text/css" href="C:\Users\YourName\Dropbox\FolderName\styles\mystyle.css">
... will only work for you. Instead, it's needs to use a relatvie path, and when downloaded by someone else, they need to keep the folder structure the same.
<link rel="stylesheet" type="text/css" href="styles\mystyle.css">
- ictetu7 years agoNew member | Level 2Thanks. I'll check to make sure this is set correctly, but unless Dropbox changed my links when I uploaded the files, they should all be relative.
About View, download, and export
Need support with viewing, downloading, and exporting files and folders from your Dropbox account? Find help from the Dropbox Community.
Need more support
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!