HTML doc not attaching to style sheet but looks fine in DW. Problem

Hello once more,
I posted this problem the other day but it was mistaken for something else, this was my fault as I posted incorrectly.
The current problem with this page, is that it looks fine in Dreamweaver, but as soon as it is viewed in any browser, even firefox, it loses all of the style commands.  The problem is with the text on the page, the menu seems to be behaving fine and I cannot comment on whether it is interfering with the page in a manner which causes the text to not find the styles.
Here is a screenshot of how the page should be appearing:
http://postimage.org/image/wp16tgqid/
Here is the page live on the internet:
Page
Here is an except of one of the styles:
.readingtextborder9{
    width:471px;
    height:173px;
    background:url(../images/reading%20border9.png);
    margin-top: 20px;
    margin-left: 36px;
    margin-right: 10px;
    margin-bottom: 5 px;
    text-align:justify;
    padding-left: 180px;   
    padding-top: 10px;
    padding-right: 13px;   
The page did work fine up until a point which I cannot distinguish, but at one point the menu was working together with the page, correctly.  Hence why I find it hard to believe the menu is causing the problems.
Any help would be hugely appreciated.
Thank you

Validate code and fix reported errors. 
You have a messed up Meta tag on line 26 and an extra </div> tag on line 208.
http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.entasistours.com%2Freading.ht ml
On lines 4-11, you have this style inside comments.  Why?
<!--
.style24 {
font-size: 11px;
font-family: verdana;
color: #666666;
text-indent: 30px;
-->
On line 11 you have this which doesn't do anything. Remove it.
<style type="text/css"></style>
On lines 33-47, you have these styles.
<style type="text/css">
.style1 {font-size: 12px}
a:link {
color: #666666; }
a:hover {
color: #333333; }
.style2 {
font-size: 12px;
color: #666666; }
.style3 {color: #666666}
.style4 {font-size:12px; font-weight: normal; line-height:1; font-family: verdana; padding-top: 2px; margin-top: 5px; text-align:center; width: 100%;}
a:visited {
color: #333333; }
</style>
And even more styles on lines 58-71, also inside comments, why?
<style type="text/css">
<!--
body {
background-image: url(images/backgroundmain.jpg); }
.style37 {font-size: medium}
.clearfix:before .clearfix:after { content: ""; display: table; }
    .clearfix:after { clear: both; }
    .clearfix { zoom: 1; }
.style42 {
font-size: small;
font-family: verdana;
color: #666666; }
-->
</style>
Organize your code better.
Use meaningful .class names instead of style1, style2, style37, style42 which don't tell you what the style is being used for.
Put CSS code into your external style sheet. This will make problem solving and site management much easier.
Nancy O.

Similar Messages

  • When I try to attach my css style sheet Dreamweaver gives me an error saying that my .css file appears to be an .html file and will not attach. How do I fix this so I can attach my style sheet?

    I have built a css style sheet in Dreamweaver. When I try to attach it to my html website, it prompts me that my "css file appears to be an .html file and cannot attach". I've tried removing the /* */ as suggested by other forums, but this has not resolved the issue. I was using css style sheets with no problem 2 days ago. Now I get that error message. How do I fix this so I can attach my style sheet?

    What does the code of the CSS file look like?
    An external CSS file needs to be written in CSS only (no html tags like <html>, <body>, <head>, etc ).
    It also must have a .css file extension, if yours has a .html extension it won't work.

  • When I design with Muse and export as HTML Dreamweaver doesn't attach the style sheets. Any answers?

    When I design with Muse and export as HTML Dreamweaver doesn't attach the style sheets when I open the files with Dreamweaver. Essentially when I design with Muse the files don't render the same with Dreamweaver. Is this a bug? Any work arounds?

    Then you will have to install a local server and use live view.  It's not that DW isn't rendering it or isn't attaching it, it's that Muse decided to use server-side processing to include it which is ok for a CMS practice when you are combining stylesheets for better caching, but it really isn't ideal for a single style sheet.  This is a shortcoming of Muse and one of the reasons many professionals don't back the product at the moment.  That and you can't actually buy Muse, so unless you are on a subscription you don't have it.  It's trying to fill a void for those who don't want to invest in the professional design tools like Fireworks or Photoshop or Dreamweaver, but want a cross between them to make designs.  If you have invested in the subscription though and want a better way to make layouts I highly recommend coding it yourself and using Fireworks or Photoshop to do the layout for you.  There is an excellent tutorial on the devnet (3 parts) to show you how its done ( http://www.adobe.com/devnet/dreamweaver/articles/dw_fw_css_pt1.html ).  Once you start using Fireworks or Photoshop you will realize just how limited Muse is in design.

  • Automatically attaching CSS style sheets to new documents

    I wanted to alert everyone to a great new Community article published by Adobe Community Expert David Powers. The article details how to attach CSS style sheets automatically when you create new documents.
    Here's the article:
    http://kb2.adobe.com/community/publishing/505/cpsid_50564.html
    This handy option is easy to miss, especially if you don't use the New Document Dialog box to create documents, so big thanks to David for highlighting this.
    Furthermore, the appearance of such an article is a great example of how Community content can interact and live symbiotically with Adobe Help. We've linked directly to David's piece from our documentation, and this is indeed a great thing because David is able to go into much more detail about the process of automatically attaching style sheets than we are able to do in Help:
    Create a blank page
    Create a page with a CSS layout
    If you're interested in publishing Community articles of your own, you can download the Community Publishing AIR application and get right to work!

    Jon Michael Varese wrote:
    We've linked directly to David's piece from our documentation, and this is indeed a great thing because David is able to go into much more detail about the process of automatically attaching style sheets than we are able to do in Help:
    Can I ask why?
    David's excellent standard should be the minimum standard for Help files.
    The quality of software manufacturers' Help (not just Adobe) has deteriorated greatly over the past decade - to the point where it's now my last resort for learning.
    Software manufacturers seem to tacitly rely on 3rd party book authors (such as David's brilliant material), bloggers and online tutorials to explain their products these days.
    I'm happy not to have a printed book with my software any more because they were always out-of-date and hard to update. However the quality of PDF and online Help docs is so poor and sparse for my use that I prefer to get my answers by Googling, visiting forums or buying the occasional book.

  • Safari 5.0.3 not loading CSS style sheets 1st time through

    When I go to my ecommerce site's https payment screen, the page HTML loads OK but the formatting is missing (so the screen is really messed up). If I hit the page re-load function the page re-loads with all the formatting corrected. It behaves the same with both the Mac and Widows versions of Safari 5.0.3. The problem did not occur on earlier versions of Safari (i.e., the Mac I use for testing the site worked perfectly on the now problematic page until I upgraded to the latest version of Safari).
    The problematic page works fine with all the other browsers that I have tried (IE7, IE8, Firefox, Chrome)
    My guess is that it has something to do with some @import url("css style sheet") directives that are imbedded at the beginning of the master style sheet for the page.
    This problem will stop all Safari 5.0.3 users from navigating our site so it is quite serious.
    Any help on this issues would be greatly appreciated.

    Further investigation has revealed that the following error message is being generated within Safari during the first time the that the page is loading,
    "Refused to load from document base URL. URL found within request."
    The <base> directive in the HTML, in this instance, is referring to a different URL than the one that the page is running from. The page with the problem is running on a remote server and back referencing to the home server for the <base> reference. This fails when the page first loads but seems to be accepted if a page-reload is done. It also works on all other browsers that have been tested.
    Is this related to a security setting in the browser?

  • Trouble attaching css style sheet in DW MX

    Trouble attaching css style sheet in DW MX (NOT DW MX 4)
    I am currently using Dreamweaver MX , and for some reason, in
    design view, the style sheet does not attach (a least I can't see
    the change). My divs, and images are all stuck to the upper left
    corner, as though it were not attached.
    A friend told me it was because I have MX and Not MX 4 , does
    this matter?

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN"
    http://www.w3.org/TR/html4/loose.dtd">
    <html><!-- InstanceBegin
    template="/Templates/ovfl_temp.dwt" codeOutsideHTMLIsLocked="false"
    -->
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1">
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Schedules</title>
    <!-- InstanceEndEditable -->
    <!-- InstanceBeginEditable name="head" -->
    <!-- InstanceEndEditable -->
    <link href="styles.css" rel="stylesheet"
    type="text/css">
    <script language="JavaScript" type="text/JavaScript">
    <!--
    function MM_swapImgRestore() { //v3.0
    var i,x,a=document.MM_sr;
    for(i=0;a&&i<a.length&&(x=a
    )&&x.oSrc;i++) x.src=x.oSrc;
    function MM_preloadImages() { //v3.0
    var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new
    Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0;
    i<a.length; i++)
    if (a.indexOf("#")!=0){ d.MM_p[j]=new Image;
    d.MM_p[j++].src=a
    function MM_findObj(n, d) { //v4.01
    var p,i,x; if(!d) d=document;
    if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document;
    n=n.substring(0,p);}
    if(!(x=d[n])&&d.all) x=d.all[n]; for
    (i=0;!x&&i<d.forms.length;i++) x=d.forms[n];
    for(i=0;!x&&d.layers&&i<d.layers.length;i++)
    x=MM_findObj(n,d.layers
    .document);
    if(!x && d.getElementById) x=d.getElementById(n);
    return x;
    function MM_swapImage() { //v3.0
    var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new
    Array; for(i=0;i<(a.length-2);i+=3)
    if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x;
    if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    //-->
    </script>
    </head>
    <body
    onLoad="MM_preloadImages('images/leaguehistory2.gif','images/eventscalendar2.gif','images /community2.gif','images/allovflteam2.gif','images/sponsorship2.gif','images/contacts2.gif ','images/forms2.gif','images/links2.gif','images/join2.gif','images/photogallery2.gif')">
    <div id="container2">
    <div id="top_nav">
    <div id="ovfl_nav">
    <form name="ovfl" class="left_topnav">
    <img src="images/ovfl.gif" width="51" height="14">
    <select
    style="font-size:10px;color:#000000;font-family:arial,
    helvetica;background-color:#ffffff;" name="menu"
    onChange="window.open(document.ovfl.menu.options[document.ovfl.menu.selectedIndex].value) ;">
    <option value=''>OVFL SITES</option>
    <option value="
    http://www.ovflfootball.org">OVFL
    Football Site</option>
    </select>
    </form>
    </div>
    <div id="afc_nav">
    <form name="afc" class="topnav">
    <img src="images/afc.gif" width="44" height="14">
    <select name="menu"
    style="font-size:10px;color:#000000;font-family:arial,
    helvetica;background-color:#ffffff;"
    onChange="window.open(document.afc.menu.options[document.afc.menu.selectedIndex].value);" >
    <option value=''>AFC TEAMS</option>
    <option value="
    http://www.columbusblackhawks.com">Blackhawks</option>
    <option value="
    http://www.eteamz.active.com/WVCrash/index.cfm">Crash</option>
    <option value="
    http://">Flames</option>
    <option value="
    http://www.cincinnatigamblers.com/HOME.html">Gamblers</option>
    <option value="
    http://www.wkpunishers.org">Punishers</option>
    <option value="
    http://www.circlecitysoldiers.com">Soldiers</option>
    <option value="
    http://theohiostorm.tripod.com/id4.html">Storm</option>
    <option value="
    http://www.derbycitythunder.com">Thunder</option>
    <option value="
    http://eteamz.active.com/MarionWolfpack">Wolfpack</option>
    <option value="
    http://hardincountywolverines.com">Wolverines</option>
    </select>
    </form>
    </div>
    <div id="nfc_nav">
    <form name="nfc" class="topnav">
    <img src="images/nfc.gif" width="45" height="14">
    <select name="menu"
    style="font-size:10px;color:#000000;font-family:arial,
    helvetica;background-color:#ffffff;"
    onChange="window.open(document.nfc.menu.options[document.nfc.menu.selectedIndex].value);" >

  • Attaching CCS Style sheet

    When I go thru the process of attaching a style sheet to a line of text, it doesn't give me the preview option and doesn't attach the style to the text. I browse, select the saved CSS style that I created, but the preview button is grayed out. clicking Ok doesn't change anything. What am I doing wrong?

    So if I want to have 3 or 4 different type styles in my web page, I put them all in one CSS file and link the one file to my document?
    Yes.  In fact, one  external CSS file can contain ALL  styles for your entire website.
    Example CSS:
    h1 {font-size: 1.5em; color: #993300; text-transform: uppercase}
    h2 {font-size: 1.3em; color: #006633;}
    h3 {font-size: 1.1em; color:#666;}
    p {font-size: .90em; color: #000;}
    .center {text-align:center}
    .right {text-align:right}
    Example HTML:
    <h1>here is a main heading h1</h1>
    <h2>here is a sub-heading h2</h2>
    <h3>here is a sub-sub-heading h3</h3>
    <p>here is normal paragraph text</p>
    <p class="center">here is a centered paragraph</p>
    This is a scaled down version of how it  displays  on screen.
    Use the DW HTML and CSS properties inspectors to add styles to your text.
    HTML & CSS Tutorials - http://w3schools.com/
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • I just installed CC Lr 5.5 and it will not open on my laptop but works fine on my desktop.

    I just installed CC Lr 5.5 and it will not open on my laptop, but works fine on my desktop.

    Try this:
    https://helpx.adobe.com/lightroom/kb/unable-launch-lightroom-55.html

  • HP ProBook 5220m Fan not working with battery power but work fine with adapter plugged in

    Hi,
    Any one have this issue?
    HP ProBook 5220m (Bios Version F50) Fan not working with battery power but work fine with adapter plugged in.
    This issue was found in my replacement motherboard. the original mother do not have this issue.
    The origianl mother to be replace is due to can't power on after a power failure recovery. I believe was due to power surge killed the motherboard's power controller circuitry.
    Appreciate any one can provide clue for resolving the problem.
    I have tried to install speedfan to try my luck, but it can't any fan in the application to configure. (Bios Version F50) 

    @wheng 
    ‎Thank you for using HP Support Forum. I have brought your issue to the appropriate team within HP. They will likely request information from you in order to look up your case details or product serial number. Please look for a private message from an identified HP contact. Additionally, keep in mind not to publicly post ( serial numbers and case details).
    If you are unfamiliar with the Forum's private messaging please click here to learn more.
    Thank you,
    Omar
    I Work for HP

  • My ipod is not starting its turn on but looks like sync. and does not stop

    My ipod is not starting its turn on but looks like sync. and does not stop and screen is black

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer          
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
      Apple Retail Store - Genius Bar

  • TS1538 I have 6th gen iPod nano.  When I try to sync it my computer tells me it has malfunctioned and Windows does not  recognize it.  My iPhone syncs fine so the problem must be the iPod.  I have reset the iPod several times and no luck.  Any suggestions

    . I have 6th gen iPod nano.  When I try to sync it my computer tells me it has malfunctioned and Windows does not  recognize it.  My iPhone syncs fine so the problem must be the iPod.  I have reset the iPod several times and no luck.  Any suggestions?

    Hello Alexdad,
    We've an article that can help get your iPod Nano working with your computer.
    iPod nano: Error message saying that iPod 'could not be identified properly'
    http://support.apple.com/kb/TS3218
    Cheers,
    Allen

  • All reds are rendered a rust color in Photoshop, but look fine in other programs.

    All reds are rendered a rust color in Photoshop, but look fine in other programs.

    Can you please post screenshots so we can get a better understanding of your problem?
    Thanks,
    Julia

  • "@font-face" problem only with firefox. I have attached a style sheet while i was embedding my personal fonts into a website, but Firefox won't load them. Why?

    I was hand coding my new website. This time i was trying to embed some personal fonts into my website, so i used a style sheet to embed which is coded like
    "@font-face {
    font-family:Sofia;
    src:url(../fonts/Sofia-Regular.otf);
    All the font work fine in the root folder of my site. But whenever i am creating dreamweaver templates and using them on pages which are in different folders but in the same root directory, the fonts are set back to default font. This problem is only with Firefox. Chrome, IE, Opera etc. works fine. Please Help!

    i run into the same problem the last days.
    using bootstrap and the fontawesome iconfonts.
    everythings fine with chrome an ie, but no fonticons with firefox...
    found alot of solutions, but none of them worked.
    then, using the webdeveloper console (i used firebug all the time before) i see the error why the webfont was not loaded:
    [14:18:36.161] GET http://www.example.com/font/fontawesome-webfont.ttf?v=3.2.0 [HTTP/1.1 401 Authorization Required 21ms]
    yes, the site is behind a '''htaccess''' login.
    first load after login is => everything ok!
    after following an internal link => no webfonts!
    after disabeling the htaccess login, everything works fine!
    but that can only be a workaround!
    why firefox didnt recognize the login/authorization like chrome does?!
    what todo if you have your site behind htaccess and want to use webfonts?!

  • In dreamweaver- why is my html index not attached to my css file?

    Why oh why is my html not attached to my css?
    <!-- my html is written below-->
    <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Untitled Document</title>
    <link href="boilerplate.css" rel="stylesheet" type="text/css">
    <link href="style.css" rel="stylesheet" type="text/css">
    <style type="text/css">
    </style>
    <script src="respond.min.js"></script>
    </head>
    <body>
    <body id="background">
      <div class="gridContainer clearfix">
      <div id="div1" class="fluid">Use Insert Panel for additional Fluid Grid Layout Elements. Note: All Fluid Layout tags must be contained within the "gridContainer" div tag.</div>
      </div>
    </body>
    </html>
    /*my CSS is written below*/
    @charset "UTF-8";
    /* CSS Document */
    #background {
      background-color: rgba(30,30,30,30.98);
      background-image: url('images/me_atsunsetbackground.JPG');
      background-repeat: repeat-y;
      margin-left: 50px;
      margin-top: 200px;
      margin-right: 50px;
      margin-bottom: 200px;

    attaching html to css wrote:
    I added the second image as you suggested but there is no scroll bar on the right and I can't see if it is below.
    Do you know what I do to see the scroll bar?
    Yep, background images won't force scrollbars to appear. You need to add more html content to your page, over your background images, to get scrollbars.
    The background image is still quite large. Should I reduce the size of the original image? I thought that is done in CSS.
    Images online should be reduced to the smallest pixel size and lowest possible quality setting as they can be, while still looking acceptable to you. Use Photoshop's Save For Web and Devices option to get a 4 up version of your image at varying settings. When it's the smallest pixel size you want, with the "lowest still good" quality settings, click that version and save it to your site. That will cut out unnecessary file size and help your site load much faster.
    If you want to use a larger image for your background, and resize it with css, you need to use the background-size attribute: CSS3 background-size property however, this is not well supported on old browsers and may not resize to your settings.
    I can't see things in DW Design I have to go to live preview
    Design View is a bit of a misnomer. It can't and won't ever show you your exact design, in all honesty, it should be renamed something along the lines of Framework View or Click to Select View. There have been some rumblings that it's going to go the way of the dinosaurs, with the advent of Live View Editing, but so far it's just hearsay. Always use the actual browsers you plan to support with Preview in Browser during development. Live View is much better than Design View at showing you your actual site, but it's only a webkit rendering (Chrome or Safari) and doesn't show you the subtle differences from IE compared to modern, standards-compliant browsers.

  • New to CSS! Attach a Style sheet to exsisting website

    Hi
    Im self taught so I need help in a really basic style please!!
    Ive got a website which Ive made my self, learning via youtube etc!! Im trying to figure out the css business!  After ALOT of trial and error I think im slowly getting to grips but I could do with a little help!
    Basically what I THINK Ive been doing is adding styles to a single page, and Ive found that I can now carry on the styles via copy and pasting the css code from the top of each page and pasting in the next page individually.. BUT I suspect the proper way of doing this would actually be to set up a separate style sheet which applies to the whole website, However, A) im not sure how to do this, and B) My site is working OK at the mo, so will this mess up the site if its added AFTER the site is already working?
    Idiot proof answers please! x

    Hi Every one,
    I just want to say a really really really big thank you! with your help I have now got the basics of css! It seems so simple now, but when I first tried is was REALLY daunting and I couldnt figure it out, I just needed a little point in the right direction,!
    I dont know if you get paid for the help for if you just to do it to be nice, but I just wanted to say a great big thanks to every one above! Your help and patience is very much appriciated!
    THANK YOU!

Maybe you are looking for