cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox 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: 

Displaying html and css for webpage mock-up

Displaying html and css for webpage mock-up

ictetu
New member | Level 2
Go to solution

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

Jay
Dropbox Staff
Go to solution
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: Interested in Community Groups? Click here to join!

View solution in original post

4 Replies 4

Jay
Dropbox Staff
Go to solution
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: Interested in Community Groups? Click here to join!

ictetu
New member | Level 2
Go to solution

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

Rich
Super User II
Go to solution

@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">

 

ictetu
New member | Level 2
Go to solution
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.
Need more support?
Who's talking

Top contributors to this post

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