CSS Just Went Crazy & Needs Your Quick Advice
Posted: 26 June 2007 07:03 PM   [ Ignore ]
Newbie
Rank
Total Posts:  2
Joined  2007-06-26

Hi. I just started using Dreamweaver and used a CSS template. I previewed the site and then opened it up in different browsers and it looks crazy. My friend says it’s this problem but I don’t know how to fix it.

the address is http://www.chilesadvertising.com

How it is supposed to look is attached.

My friend said. :

    11:13 am (4 hours ago)
<link rel=“stylesheet”
href=“file:///Mac HD/Users/lawtonchiles/Desktop/emx_nav_left.css”
type=“text/css”>

should be

<link rel=“stylesheet” href=“emx_nav_left.css” type=“text/css”>

I don’t know how to fix this…

Profile
 
 
Posted: 26 June 2007 11:02 PM   [ Ignore ]   [ # 1 ]
Newbie
Rank
Total Posts:  21
Joined  2007-05-05

when you upload the file to the server (along with the css) you need to refer to the css’s new location .. ie if it is in a folder called css in your root directory use http://mysite.com/css/thecss.css instead of the file link operator..

Profile
 
 
Posted: 07 September 2007 02:22 PM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  2
Joined  2007-09-07
Chiles - 26 June 2007 07:03 PM

Hi. I just started using Dreamweaver and used a CSS template. I previewed the site and then opened it up in different browsers and it looks crazy. My friend says it’s this problem but I don’t know how to fix it.

the address is http://www.chilesadvertising.com

How it is supposed to look is attached.

My friend said. :

    11:13 am (4 hours ago)
<link rel=“stylesheet”
href=“file:///Mac HD/Users/lawtonchiles/Desktop/emx_nav_left.css”
type=“text/css”>

should be

<link rel=“stylesheet” href=“emx_nav_left.css” type=“text/css”>
I don’t know how to fix this…

I think this is correct:
<link href=“style.css” rel=“stylesheet” type=“text/css” />
The problem is not in this, it’s another. Check the “CSS Syntax”.
It’s may this: A class or id cannot start with a number.

Profile
 
 
Posted: 21 September 2007 08:24 PM   [ Ignore ]   [ # 3 ]
Newbie
Rank
Total Posts:  4
Joined  2007-09-21

Dreamweaver uses the file locater syntax until you define your site. As a rule of thumb with DW always define a site then begin the construction. Also the use of absolute links is not really needed, at least for css. If you define your site after construction DW should make changes to the page(s). If not you will need open the page(s) eliminate the link to the css and relink the css.

Profile