New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

CSS woes


Post Reply New Thread Subscribe

 
Thread Tools
samthedrums

 
Member Since: Dec 19, 2009
Posts: 5
samthedrums is on a distinguished road

samthedrums is offline
Hi there. I have built a site in Dreamweaver and have uploaded it to my iDisk: web/sites/. When I look at the url: Trio Con Brio. Wedding Music.
it does not seem to be finding the CSS and is not formatting anything. The index page points to the CSS fine and it works locally on my computer.

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Trio Con Brio. Wedding Music.</title>
<link href="style.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>
QUOTE Thanks
louishen

 
louishen's Avatar
 
Member Since: Oct 22, 2007
Location: London
Posts: 8,951
louishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant future
Mac Specs: Mac Mini Core i7 2012 | White 2009 MacBook 2 Ghz | 733 Mhz G4 Quicksilver

louishen is offline
I downloaded that page and one of the linked files was style.dms.

Make sure there is a plain text file with the extension css in the same directoty as index.html and the page works fine

It maybe just a wrong file extension on a file

Member of the Month September 2008 & August 2012 | Found advice useful? use the rep system
QUOTE Thanks
samthedrums

 
Member Since: Dec 19, 2009
Posts: 5
samthedrums is on a distinguished road

samthedrums is offline
Hi there. Thanks for your reply - it is much appreciated as I am a bit new to CSS (as I expect you guessed!)

The CSS file is definitely a .css extension. I even downloaded it back to my mac and looked for the 'dms' file and could not find it. The index.html accesses the .css file fine on my computer, but not when in my .mac webspace.

I have deleted the files on .mac and have re-uploaded, but the problem persists. I have also added the other pages and they all cant find the CSS either.

Sorry to be such an idiot, but if you can help again I would be so grateful,

Thanks

Sam

...and now Safari says "'index.html' contains an application bla bla bla". It did not do that before I re-uploaded the files. Spooky....
QUOTE Thanks
xstep

 
xstep's Avatar
 
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
It is a puzzle. Everything looks right to me and in its place. As you describe it looks like the css is being ignored. I downloaded the assets and set it up the same as your code indicates and it looked proper on my local machine.

CameraTime - Time lapse photography for novice and advanced users.

When asking questions, post the version of your software. You'll receive better answers.

Please post your results to the thread as it is good feedback.
QUOTE Thanks
thetechguyblog

 
Member Since: Dec 29, 2009
Location: The Internet
Posts: 21
thetechguyblog is on a distinguished road
Mac Specs: Macbook Pro 15" 2.66GHz Intel Core 2 Duo and 4GB Ram Running Snow Leopard

thetechguyblog is offline
you could try using an absolute url to reference your css....IE instead of just "style.css" uses http://yourwebsitehere.com/locationo...heet/style.css.

Worth a shot.
QUOTE Thanks

Post Reply New Thread Subscribe


« Rapidweaver vs. Dreamweaver | More album headaches with iWeb »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Good CSS Book/Resource MrChris Web Design and Hosting 13 01-03-2008 01:12 PM
Can someone help me with CSS? vicariousgeorge Web Design and Hosting 6 10-17-2007 09:40 PM
trouble with CSS and Dreamweaver hippy.green Web Design and Hosting 2 06-18-2007 06:56 AM
My first tableless CSS layout ChicoWeb Web Design and Hosting 17 01-18-2005 03:57 PM
CSS strangeness in Safari only!? stevenjohn Web Design and Hosting 1 03-29-2004 08:08 AM

All times are GMT -4. The time now is 05:39 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?