English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Below is the HTML code for page, which does not seem to work with stylesheet externalstyle1.css.
I suspect my following syntaxt for defining it as external CSS may not be correct:


but I am not sure. I tried different additions to the code in front of "EnrollmentForm_file" path:
// or ..// or / or ../ , but neither one would work.

By way of explaining more, after creating an .html webpage with EnrollmentForm, I created a new folder with name EnrollmentForm_files
and copied externalstyle1 CSS into it.

Can somebody help figure out where is error ?




Testing CSS externalstyle1




Link to Yahoo

2007-05-16 12:27:35 · 6 answers · asked by AT 1 in Computers & Internet Programming & Design

6 answers

Try this code then and see if it's any better:




Testing CSS externalstyle1





Link to Yahoo

2007-05-16 12:57:51 · answer #1 · answered by bob_eponge64 2 · 0 0

Could be wrong here but it looks like you're missing the css file extension when you declare the location of the file.

Try

2007-05-16 12:50:51 · answer #2 · answered by Nick O 3 · 0 0

Your linking to the stylesheet should be something like this:



The stylesheet file must have the file extension: stylesheetname.css
And make sure the path to the stylesheet is correct. If it's up one level, it would be ../stylesheetname.css

2007-05-16 12:33:57 · answer #3 · answered by dubbarob 5 · 0 0



there is a space between file and ref. Put a period there.



this is what you want.



and you must put that between the tags. There is no reason that shouldn't work.

2007-05-16 12:32:08 · answer #4 · answered by jayztttight 4 · 0 0

you do not necessarily have to do it in dreamweaver. you can do it outside dreamweaver. open the file with a text editor such as notepad~! and then specify the location of the CSS file

2016-04-01 05:01:48 · answer #5 · answered by Anonymous · 0 0

and since ur going to have only one css file.. make it easier.. and call it css.css

good luck : )

2007-05-16 12:52:03 · answer #6 · answered by MoooMoo 2 · 0 0

fedest.com, questions and answers