cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to make sure we keep you updated on the ideas that other users have shared here on the Community? Us too! Check them out over here.

View, download, and export

Need support with viewing, downloading, and exporting files and folders from your Dropbox account? Find help from the Dropbox Community.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
1
Ask
2
Comments

Displaying html and css for webpage mock-up

Displaying html and css for webpage mock-up

ictetu
New member | Level 2

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 when I put the files into Dropbox with the same organization and file names, it didn't display properly. Each page will open when I click on it from Dropbox, but none of them are linked to each other, and the style sheet is not attached, either.  Do I need to change a setting, or is something else going on? I would greatly appreciate any feedback or advice you can offer.

1 Accepted Solution

Accepted Solutions

Re: Displaying html and css for webpage mock-up

Jay
Dropboxer
Hi 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!

Jay
Community Moderator @ Dropbox
dropbox.com/support


Heart Did this post help you? If so, give it a Like below to let us know.
:arrows_counterclockwise: Need help with something else? Ask me a question!
:pushpin: Find Tips & Tricks Discover more ways to use Dropbox here!
:arrows_counterclockwise: What do you think about the Community? Fill out our survey here!

View solution in original post

4 Replies 4

Re: Displaying html and css for webpage mock-up

Jay
Dropboxer
Hi 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!

Jay
Community Moderator @ Dropbox
dropbox.com/support


Heart Did this post help you? If so, give it a Like below to let us know.
:arrows_counterclockwise: Need help with something else? Ask me a question!
:pushpin: Find Tips & Tricks Discover more ways to use Dropbox here!
:arrows_counterclockwise: What do you think about the Community? Fill out our survey here!

Re: Displaying html and css for webpage mock-up

ictetu
New member | Level 2

Yes, they are html files. My professor must be planning to download and save them then. Thank you.

Re: Displaying html and css for webpage mock-up

Rich
Super 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">

 

Re: Displaying html and css for webpage mock-up

ictetu
New member | Level 2
Thanks. 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.
Who's talking

Top contributors to this post

  • User avatar
    ictetu New member | Level 2
  • User avatar
    Rich Super User II
  • User avatar
    Jay Dropboxer
What do Dropbox user levels mean?
Need more support?