Dropbox

FredeGail

It's full of stars
Guru
Gold Member
Local time
12:02 AM
Messages
2,360
Location
Denmark
Hello SevenForums!

It's a pretty popular feature that you can upload your .txt and .html file into your Dropbox, and then be able to read it directly from your browser, without downloading it.

In my case, I use .html and make different tags like <h1> <p>, all simple tags like that.

Take THIS example. You see, it's all there. Look even at the URL, it's defiantly from my Dropbox, and it's public!

So now to the actual question.
The path on my Dropbox i'm uploading this .html file to, is a little folder called "Project". In that folder, the .html file is there.

I want to upload a .css file, as a Stylesheet, and expect it's working.

Now, is this possible? By this, I can create different designs, and uploading them. I've tried it, but the .html doesn't apply the .css.

All suggestions are welcome!
FredeGail
 

My Computer

Computer Manufacturer/Model Number
Brewed
OS
Microsoft Windows 7 Ultimate: x64 (SP1)
CPU
Intel® Core™ i5-2500K Processor
Motherboard
ASUS P8Z68-V PRO
Memory
Kingston DDR3 HyperX 1600MHz 8GB
Graphics Card(s)
ASUS GTX 560 TI DirectCU II 900MHz
Sound Card
Realtek® ALC892 8-Channel High Definition Audio CODEC
Monitor(s) Displays
ACER LCD P246HBD 1920x1080 (24") - Dell 1280x800
Screen Resolution
ACER LCD P246HBD ~ [1920X1080] - DELL ~ [1280x800]
Hard Drives
500 GB WD Caviar SE116 7200rpm SATA2
PSU
Corsair 750W Power Supply
Case
Coolermaster CM Scout
Cooling
Zalman FS-C77 Fatal1ty CPU Cooler
Keyboard
Logitech G15
Mouse
Coolermaster Sentinel Advanced
Internet Speed
[↓ 10 MB/s DL] [↑ 1 MB/s UL]
Other Info
- ROCCAT™ Kave – Solid 5.1 Surround Sound Gaming Headset
- Not overclocking
Clicking on your Example, gets me to a 403 page saying I don't have access.
 

My Computer

Computer Manufacturer/Model Number
Self-Built in July 2009
OS
Windows 7 Ultimate x64
CPU
Intel Q9550 2.83Ghz OC'd to 3.40Ghz
Motherboard
Gigabyte GA-EP45-UD3R rev. 1.1, F12 BIOS
Memory
8GB G.Skill PI DDR2-800, 4-4-4-12 timings
Graphics Card(s)
EVGA 1280MB Nvidia GeForce GTX570
Sound Card
Realtek ALC899A 8 channel onboard audio
Monitor(s) Displays
23" Acer x233H
Screen Resolution
1920x1080
Hard Drives
Intel X25-M 80GB Gen 2 SSD
Western Digital 1TB Caviar Black, 32MB cache. WD1001FALS
PSU
Corsair 620HX modular
Case
Antec P182
Cooling
stock
Keyboard
ABS M1 Mechanical
Mouse
Logitech G9 Laser Mouse
Internet Speed
15/2 cable modem
Other Info
Windows and Linux enthusiast. Logitech G35 Headset.
yep - 403 here too

are you sure your project folder is in your public folder?
 

My Computer

Computer Manufacturer/Model Number
mickey megabyte 1234
OS
ultimate 64 sp1
CPU
i5 2500K [email protected]
Motherboard
MSI P67A-GD53
Memory
8 gigs GSkill Ripjaws 1600
Graphics Card(s)
amd hd6950
Sound Card
creative x-fi gamer
Monitor(s) Displays
samsung 24"
Screen Resolution
1920x1080
Hard Drives
ocz vertex 2e 60 gig, samsung f3 1tb, buffalo 2tb ext
PSU
antec 550
Case
antec three hundred
Cooling
i'm a cooling fan
Keyboard
saitek eclipse ii
Mouse
logitech g3
Internet Speed
about 4 Mbps
Other Info
i love win7

My Computer

Computer Manufacturer/Model Number
Brewed
OS
Microsoft Windows 7 Ultimate: x64 (SP1)
CPU
Intel® Core™ i5-2500K Processor
Motherboard
ASUS P8Z68-V PRO
Memory
Kingston DDR3 HyperX 1600MHz 8GB
Graphics Card(s)
ASUS GTX 560 TI DirectCU II 900MHz
Sound Card
Realtek® ALC892 8-Channel High Definition Audio CODEC
Monitor(s) Displays
ACER LCD P246HBD 1920x1080 (24") - Dell 1280x800
Screen Resolution
ACER LCD P246HBD ~ [1920X1080] - DELL ~ [1280x800]
Hard Drives
500 GB WD Caviar SE116 7200rpm SATA2
PSU
Corsair 750W Power Supply
Case
Coolermaster CM Scout
Cooling
Zalman FS-C77 Fatal1ty CPU Cooler
Keyboard
Logitech G15
Mouse
Coolermaster Sentinel Advanced
Internet Speed
[↓ 10 MB/s DL] [↑ 1 MB/s UL]
Other Info
- ROCCAT™ Kave – Solid 5.1 Surround Sound Gaming Headset
- Not overclocking
i'm still getting a 403 error for your link.

i've just made a very quick webpage here in my dropbox folder linking to an external stylesheet - it's all working as expected. i didn't have to do anything special - i just followed the normal rules for html and css.

my very simple htm:

HTML:
<html>
<head>

<link rel="stylesheet" type="text/css" href="style.css" media="screen">
 
</head>
<body>

<p>hello world</p>

</body>
</html>

and my css:

Code:
p { color: blue;
font-size:48pt;
}

then i went into my dropbox public folder and copied the public link: http://dl.dropbox.com/u/22096449/css/hello.htm

as you can see, the text is big and blue. :)
 

My Computer

Computer Manufacturer/Model Number
mickey megabyte 1234
OS
ultimate 64 sp1
CPU
i5 2500K [email protected]
Motherboard
MSI P67A-GD53
Memory
8 gigs GSkill Ripjaws 1600
Graphics Card(s)
amd hd6950
Sound Card
creative x-fi gamer
Monitor(s) Displays
samsung 24"
Screen Resolution
1920x1080
Hard Drives
ocz vertex 2e 60 gig, samsung f3 1tb, buffalo 2tb ext
PSU
antec 550
Case
antec three hundred
Cooling
i'm a cooling fan
Keyboard
saitek eclipse ii
Mouse
logitech g3
Internet Speed
about 4 Mbps
Other Info
i love win7
Hello Mickey!

So the whole thing is about uploading it to the public folder eh?
Awesome!

+1 Rep for all posers,
FredeGail
 

My Computer

Computer Manufacturer/Model Number
Brewed
OS
Microsoft Windows 7 Ultimate: x64 (SP1)
CPU
Intel® Core™ i5-2500K Processor
Motherboard
ASUS P8Z68-V PRO
Memory
Kingston DDR3 HyperX 1600MHz 8GB
Graphics Card(s)
ASUS GTX 560 TI DirectCU II 900MHz
Sound Card
Realtek® ALC892 8-Channel High Definition Audio CODEC
Monitor(s) Displays
ACER LCD P246HBD 1920x1080 (24") - Dell 1280x800
Screen Resolution
ACER LCD P246HBD ~ [1920X1080] - DELL ~ [1280x800]
Hard Drives
500 GB WD Caviar SE116 7200rpm SATA2
PSU
Corsair 750W Power Supply
Case
Coolermaster CM Scout
Cooling
Zalman FS-C77 Fatal1ty CPU Cooler
Keyboard
Logitech G15
Mouse
Coolermaster Sentinel Advanced
Internet Speed
[↓ 10 MB/s DL] [↑ 1 MB/s UL]
Other Info
- ROCCAT™ Kave – Solid 5.1 Surround Sound Gaming Headset
- Not overclocking
yes - it has to be in your public folder for others to have access to it. all other folders are private.

also, there's no rep in the chillout room.
 

My Computer

Computer Manufacturer/Model Number
mickey megabyte 1234
OS
ultimate 64 sp1
CPU
i5 2500K [email protected]
Motherboard
MSI P67A-GD53
Memory
8 gigs GSkill Ripjaws 1600
Graphics Card(s)
amd hd6950
Sound Card
creative x-fi gamer
Monitor(s) Displays
samsung 24"
Screen Resolution
1920x1080
Hard Drives
ocz vertex 2e 60 gig, samsung f3 1tb, buffalo 2tb ext
PSU
antec 550
Case
antec three hundred
Cooling
i'm a cooling fan
Keyboard
saitek eclipse ii
Mouse
logitech g3
Internet Speed
about 4 Mbps
Other Info
i love win7
Help is most appreciated.
I promise, i'd like to give you rep in another thread.

Best Regards,
FredeGail
 

My Computer

Computer Manufacturer/Model Number
Brewed
OS
Microsoft Windows 7 Ultimate: x64 (SP1)
CPU
Intel® Core™ i5-2500K Processor
Motherboard
ASUS P8Z68-V PRO
Memory
Kingston DDR3 HyperX 1600MHz 8GB
Graphics Card(s)
ASUS GTX 560 TI DirectCU II 900MHz
Sound Card
Realtek® ALC892 8-Channel High Definition Audio CODEC
Monitor(s) Displays
ACER LCD P246HBD 1920x1080 (24") - Dell 1280x800
Screen Resolution
ACER LCD P246HBD ~ [1920X1080] - DELL ~ [1280x800]
Hard Drives
500 GB WD Caviar SE116 7200rpm SATA2
PSU
Corsair 750W Power Supply
Case
Coolermaster CM Scout
Cooling
Zalman FS-C77 Fatal1ty CPU Cooler
Keyboard
Logitech G15
Mouse
Coolermaster Sentinel Advanced
Internet Speed
[↓ 10 MB/s DL] [↑ 1 MB/s UL]
Other Info
- ROCCAT™ Kave – Solid 5.1 Surround Sound Gaming Headset
- Not overclocking
thanks, i never turn down rep :)

let us know how you get on with your css linkage.

then you can mark the thread as 'solved'.
 

My Computer

Computer Manufacturer/Model Number
mickey megabyte 1234
OS
ultimate 64 sp1
CPU
i5 2500K [email protected]
Motherboard
MSI P67A-GD53
Memory
8 gigs GSkill Ripjaws 1600
Graphics Card(s)
amd hd6950
Sound Card
creative x-fi gamer
Monitor(s) Displays
samsung 24"
Screen Resolution
1920x1080
Hard Drives
ocz vertex 2e 60 gig, samsung f3 1tb, buffalo 2tb ext
PSU
antec 550
Case
antec three hundred
Cooling
i'm a cooling fan
Keyboard
saitek eclipse ii
Mouse
logitech g3
Internet Speed
about 4 Mbps
Other Info
i love win7
Hmm.. I tried putting both .css and .html on my desktop, and the CSS applies to the HTML so that's perfect, but when I upload the Stylesheet and the HTML-codings .. it just won't apply the CSS.

Best Regards,
FredeGail
 

My Computer

Computer Manufacturer/Model Number
Brewed
OS
Microsoft Windows 7 Ultimate: x64 (SP1)
CPU
Intel® Core™ i5-2500K Processor
Motherboard
ASUS P8Z68-V PRO
Memory
Kingston DDR3 HyperX 1600MHz 8GB
Graphics Card(s)
ASUS GTX 560 TI DirectCU II 900MHz
Sound Card
Realtek® ALC892 8-Channel High Definition Audio CODEC
Monitor(s) Displays
ACER LCD P246HBD 1920x1080 (24") - Dell 1280x800
Screen Resolution
ACER LCD P246HBD ~ [1920X1080] - DELL ~ [1280x800]
Hard Drives
500 GB WD Caviar SE116 7200rpm SATA2
PSU
Corsair 750W Power Supply
Case
Coolermaster CM Scout
Cooling
Zalman FS-C77 Fatal1ty CPU Cooler
Keyboard
Logitech G15
Mouse
Coolermaster Sentinel Advanced
Internet Speed
[↓ 10 MB/s DL] [↑ 1 MB/s UL]
Other Info
- ROCCAT™ Kave – Solid 5.1 Surround Sound Gaming Headset
- Not overclocking
as i 'said' above, i didn't need to do anything special - i just have the html and css files in my dropbox public folder.

how are you linking the css file?

like this, in the <head> of the html?

Code:
<link rel="stylesheet" type="text/css" href="style.css" media="screen">
 

My Computer

Computer Manufacturer/Model Number
mickey megabyte 1234
OS
ultimate 64 sp1
CPU
i5 2500K [email protected]
Motherboard
MSI P67A-GD53
Memory
8 gigs GSkill Ripjaws 1600
Graphics Card(s)
amd hd6950
Sound Card
creative x-fi gamer
Monitor(s) Displays
samsung 24"
Screen Resolution
1920x1080
Hard Drives
ocz vertex 2e 60 gig, samsung f3 1tb, buffalo 2tb ext
PSU
antec 550
Case
antec three hundred
Cooling
i'm a cooling fan
Keyboard
saitek eclipse ii
Mouse
logitech g3
Internet Speed
about 4 Mbps
Other Info
i love win7
as i 'said' above, i didn't need to do anything special - i just have the html and css files in my dropbox public folder.

how are you linking the css file?

like this, in the <head> of the html?

Code:
<link rel="stylesheet" type="text/css" href="style.css" media="screen">

Yeah the code is totally like that.
The only difference is the href src is called "css.css" here, which makes no differences.
Yeah, it's in the <head> :)

Best Regards,
FredeGail
 

My Computer

Computer Manufacturer/Model Number
Brewed
OS
Microsoft Windows 7 Ultimate: x64 (SP1)
CPU
Intel® Core™ i5-2500K Processor
Motherboard
ASUS P8Z68-V PRO
Memory
Kingston DDR3 HyperX 1600MHz 8GB
Graphics Card(s)
ASUS GTX 560 TI DirectCU II 900MHz
Sound Card
Realtek® ALC892 8-Channel High Definition Audio CODEC
Monitor(s) Displays
ACER LCD P246HBD 1920x1080 (24") - Dell 1280x800
Screen Resolution
ACER LCD P246HBD ~ [1920X1080] - DELL ~ [1280x800]
Hard Drives
500 GB WD Caviar SE116 7200rpm SATA2
PSU
Corsair 750W Power Supply
Case
Coolermaster CM Scout
Cooling
Zalman FS-C77 Fatal1ty CPU Cooler
Keyboard
Logitech G15
Mouse
Coolermaster Sentinel Advanced
Internet Speed
[↓ 10 MB/s DL] [↑ 1 MB/s UL]
Other Info
- ROCCAT™ Kave – Solid 5.1 Surround Sound Gaming Headset
- Not overclocking
and the css file is in the same public folder as the html?

i'm sorry, but i don't have any more ideas nor help - it just works for me as i've said.
 

My Computer

Computer Manufacturer/Model Number
mickey megabyte 1234
OS
ultimate 64 sp1
CPU
i5 2500K [email protected]
Motherboard
MSI P67A-GD53
Memory
8 gigs GSkill Ripjaws 1600
Graphics Card(s)
amd hd6950
Sound Card
creative x-fi gamer
Monitor(s) Displays
samsung 24"
Screen Resolution
1920x1080
Hard Drives
ocz vertex 2e 60 gig, samsung f3 1tb, buffalo 2tb ext
PSU
antec 550
Case
antec three hundred
Cooling
i'm a cooling fan
Keyboard
saitek eclipse ii
Mouse
logitech g3
Internet Speed
about 4 Mbps
Other Info
i love win7
and the css file is in the same public folder as the html?

i'm sorry, but i don't have any more ideas nor help - it just works for me as i've said.

Yeah it is. Could also be my coding is wrong. Who knows.
I'll let you know when I fixed it :geek:

Best Regards,
FredeGail

Update: All public documents has a broken URL for a short time.

This is a snap of the Public Folder.
Udklip.PNG

HTML:
<html>

<head>
[B]<LINK REL=StyleSheet HREF="stylesheet.css" TYPE="text/css" MEDIA=screen>[/B]
</head>

<body>
<b>This is my HTML document, you should be able to see this in your browser.
To prove that the <h..> tags are working, look below</b>
<br />
<h1>test</h1>
<h2>test</h2>
<h3>test</h3>
<h4>test</h4>
</body>


</html>

Code:
body {
	background-color:lightblue;
}
 

My Computer

Computer Manufacturer/Model Number
Brewed
OS
Microsoft Windows 7 Ultimate: x64 (SP1)
CPU
Intel® Core™ i5-2500K Processor
Motherboard
ASUS P8Z68-V PRO
Memory
Kingston DDR3 HyperX 1600MHz 8GB
Graphics Card(s)
ASUS GTX 560 TI DirectCU II 900MHz
Sound Card
Realtek® ALC892 8-Channel High Definition Audio CODEC
Monitor(s) Displays
ACER LCD P246HBD 1920x1080 (24") - Dell 1280x800
Screen Resolution
ACER LCD P246HBD ~ [1920X1080] - DELL ~ [1280x800]
Hard Drives
500 GB WD Caviar SE116 7200rpm SATA2
PSU
Corsair 750W Power Supply
Case
Coolermaster CM Scout
Cooling
Zalman FS-C77 Fatal1ty CPU Cooler
Keyboard
Logitech G15
Mouse
Coolermaster Sentinel Advanced
Internet Speed
[↓ 10 MB/s DL] [↑ 1 MB/s UL]
Other Info
- ROCCAT™ Kave – Solid 5.1 Surround Sound Gaming Headset
- Not overclocking
Back
Top