Web design help needed with Dreamweaver

By Lightingbird
May 3, 2009
Topic Status:
Not open for further replies.
  1. So annoyed with this problem.

    I'm not much of a CSS website maker but I figured I'd give it a try. I'm very familiar with HTML and moderate java but new to CSS. I've just bought the domain spartansupport.com for a business venture. I've found a a template that I downloaded to edit in Dreamweaver. Here is the template:

    http://www.freecsstemplates.org/preview/bestfriends

    I plan on editing the words and images. I just like the setup of this template. So I downloaded that file. Then I had to open the index file in the zip file I downloaded to get the full CSS code. At this point, I'm lost. I know how to edit the code but I'm having all kinds of problems. I need help editing the webpage and getting it set up on my website. I'm using this on a 32bit Vista OS and using Dreamweaver cs3. I'm open to another CSS editor since I'm having such a hard time.

    My first problem is I am not able to preview my code in either internet explorer or firefox. I've editing it several times and even mapped the browsers myself. I've already defined my site but no matter what I do my selections are greyed out. Any way to fix this?
  2. jobeard

    jobeard TS Ambassador Posts: 13,029   +222

    First, that template is a FRAMESET, which are more difficult that simple HTML:
    Code:
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    	<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
    	<title>Template Preview (bestfriends) - Free CSS Templates</title>
    	<meta name="keywords" content="" />
    	<meta name="description" content="" />
    	[COLOR="Red"]<link rel="stylesheet" type="text/css" href="/site/style.css" />[/COLOR]
    </head>
    
    <[B]frameset[/B] rows="93,*">
    	<frame scrolling="no" src="/preview/x/bestfriends" />
    	<frame src="/preview/y/bestfriends" />
    </[B]frameset[/B]>
    </html>
    
    Second, that link for the stylesheet *MUST* be included in every < frame > as well as this page :( big boo boo imo in the implementation)

    Lastly, to enable you to test on your PC without an upload to ANY webserver,
    do not use this form
    Code:
    <link rel="stylesheet" type="text/css" href=[COLOR="Red"]"/site/style.css"[/COLOR] />
    but rather use a RELATIVE location like
    Code:
    <link rel="stylesheet" type="text/css" [B]href="./style.css" />[/B]
    which will cause your browser to look in the same directory as the source TEST.HTML page.

    Highly recommend you learn CSS w/o framesets first and then move to framesets later when you're more comfortable
  3. deazy86

    deazy86 Newcomer, in training Posts: 42

    Jobeard has suggested the right thing you should do it in the same manner it will work.
Topic Status:
Not open for further replies.


Add New Comment

TechSpot Members
Login or sign up for free,
it takes about 30 seconds.
You may also...


Get complete access to the TechSpot community. Join thousands of technology enthusiasts that contribute and share knowledge in our forum. Get a private inbox, upload your own photo gallery and more.