Forums
This topic is locked
Does not show styles in design mode
Posted 24 Apr 2007 12:58:14
1
has voted
24 Apr 2007 12:58:14 stellan karlgren posted:
This is maybe a simple answer. But when designing in design mode, my stylesheet is not showing up. No images, backgrounds, styles or anything.When preview in IE, everything looks fine.
I´m using Dreamweaver 8 and here is a bit of the code:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="www.w3.org/1999/xhtml">
<link rel="stylesheet" type="text/css" href="style.css" media="screen" />
Does anyone have a solution for this issue?
Replies
Replied 30 Apr 2007 06:08:01
30 Apr 2007 06:08:01 Alan C replied:
unfortunately DW does not render all the styles exactly like a browser, and if you have bits of php on the page things get more tricky, sometimes you just have to upload them and see how they look in a browser.
My standard is to use firefox then check the pages in IE later
My standard is to use firefox then check the pages in IE later
Replied 04 May 2007 23:39:35
04 May 2007 23:39:35 Kenneth Halley replied:
Don't see an issue there but in DW8 it has an option to allow you to view styles for different nedia types- I notice you have specified your media type- make sure DW8 is set for this.... though I have a feeling thats not your issue.
Like Alan says DW can be a bit fussyif you have scripting on pages that can breaits local link to the style. You could try using a design time stylesheet- I find that works fine for me where I load styles via scripts.
-----------------------------------
www.halleynet.co.uk
Like Alan says DW can be a bit fussyif you have scripting on pages that can breaits local link to the style. You could try using a design time stylesheet- I find that works fine for me where I load styles via scripts.
-----------------------------------
www.halleynet.co.uk