Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

jayeskreezy

macrumors 65816
Original poster
Mar 3, 2005
1,137
0
Ok so I'm coding a site using CSS and dreamweaver to edit it. It's working fine on my computer but when I send the files to someone else it shows up, but basically without the CSS look even when the files are saved in the exact same folder.

Can someone help me out with this? Is the only way I can go about doing this is uploading them directly from dreamweaver? If so then how do I do that?
 
Hows your linking?

What do you have between your <head> tags?

You should have something along the lines of:

Code:
<link rel="stylesheet" href="http://www.yoursite.com/your_style.css" type="text/css" media="screen" />
 
When CSS doesn't show up, you probably have some bad syntax. Its hard to say without you giving us anymore information though. If you were a bit more specific I'm sure someone out here could help you out.
 
yeah, that's the problem....i dont see any bad syntax and the editor isnt catching anything....i have everything listed like this except the media screen part at the end and the /> tag to close it

<link rel="stylesheet" href="http://www.yoursite.com/your_style.css" type="text/css" media="screen" />
 
thanks...that helped soooo much...I have a question though...what does this mean?

No error or warning found

To work as intended, your CSS style sheet needs a correct document parse tree. This means you should use valid HTML.
 
jayeskreezy said:
thanks...that helped soooo much...I have a question though...what does this mean?

Are you getting any errors in the HTML validator? If your <link> or <style> tags aren't formatted properly you can see that error. Also make sure you've got a valid DOCTYPE and language setting in your <head>.
 
thankssssss....yes...i got quite a few errors in the html one, but I don't know how to correct them all

...most of the errors were for closing tags ... i didn't know that you closed all tags with /> after...i thought that was only for things that were clearly defined as open....
 
rower can I send you my corrections sheet or my 2 pages and you help me out?

thanks...
 
You don't have to make it public - bury it inside a folder or change the file name to something other than index/default and we can check it out w/out the whole world finding it.
 
This is why I always say that Dreamweaver is not good. People think they know how to build sites but basically they can drag and drop in dreamweaver. Learn HTML coding . USE Bbedit. Then you can understand whats going on. Make sure at the very top of your source code your in DHTML try that sometimes xhtml doesnt like to work with the style sheets.
 
Espnetboy3 said:
This is why I always say that Dreamweaver is not good. People think they know how to build sites but basically they can drag and drop in dreamweaver. Learn HTML coding . USE Bbedit. Then you can understand whats going on. Make sure at the very top of your source code your in DHTML try that sometimes xhtml doesnt like to work with the style sheets.


although I do use DW extensivly for all my work I agree, ppl should learn HTML by hand WAAAY before they touch DW. I had a strong handle on HTML, heck I even validated!
So when it comes to using DW I use it because it's faster and easier for me, but you definatly gotta keep an eye on what it's doing.
 
People think they know how to build sites but basically they can drag and drop in dreamweaver. Learn HTML coding .

actually I do know HTML coding, I have taken courses in school as well as learned the basics before that...the problem is that with Dreamweaver as an "editor" it changes some things and lets some things go...another thing is I check my code as I go along, but I know html, not Xhtml or Dhtml so that is probably part of the problem

...anyway i'll check out bbedit...i dont really like dreamweaver 7 much anymore....i thought 6 was better anyway...at least for what I had to do...never had one site jacked up in 6...oh well...


bbedit is for macs only and I havent used my mac yet
 
Yes bbedit is a great program. I mean you could code in notebook but bbedit is great with the css and html palettes.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.