Attempting to add the css stylesheet in an old fashioned html file.

I have several old html files that I have worked regularly during the past 25 years.  Recently, I recognized the value of separate css style sheets.

I implemented the old html files in folders separated like this-

_CSS

_images

_notes

_scripts

.htaccess

index

View profile

_css folder contains a file named style.css that looks like this-

@charset "utf-8";

/ * CSS document * /.

< style type = "text/css" >

H1 {make-size: 250%; do-family: "Comic Sans MS"; color: #66FFFF; text-align: center ;}}

H2 {make-size: 120%; do-family: "Comic Sans MS"; color: red; text-align: center ;}}

p {make-size: 100%; do-family: "Comic Sans MS"; color: #EEEEEE ;}}

< / style >

< body style = "" background-color: #55035F "; "

}

I open the index with DW file. -I click on "class" at the bottom of the page. -I click on "join" style sheet. -shows file/url: "_css/style.css" - I clicked 'OK' - it says "_css/style.css file seems to be an html file and cannot be opened as css.

I copy the content of style.css on a new css file empty and save it as a css file.

I go through the same routine and the same thing again and again.

Ken called me and was a great help.  I have to water the plants, but I'll get back to this as soon as possible.  It explains a lot of things for me and I think I'm close to understand things.

Tags: Dreamweaver

Similar Questions

  • Processor 'Add the current Date' added to old date

    Hello

    The processor to add the current Date added sometimes old date in time real scenario. Once the web service is bounced, it works fine.

    Can shed you some light on why this is happening?

    Kind regards

    Ravi

    I just confirmed the suspicion that precedes in a web service test.

    So the answer is to change the option on the processor to add the current Date and timestamp will be correct for each request.

  • The CSS stylesheet using custom

    I try to use a custom CSS stylesheet and cannot operate. I created my style sheet and downloaded to only show under the shared components > > Cascading Style Sheets.

    Displaying the source code for my pages currently indicates a reference to what I think is the default style sheet.
    <link rel="stylesheet" href="/i/css/apex_3_1.css" type="text/css" />
    But no reference to the one I uploaded. So I guess I need to add a new reference pointing to my sheet.

    So questions-
    -How and where can I add this reference?
    -Is the right way to do things if I want to use my own styles?

    West Indies,

    Go to your shared components > Temples > select the page template, you want to ask your CSS and in the "Header" area, you will see references to the CSS of the APEX, something like:

    
    

    Now, just add your CSS reference after reference CSS of the APEX.

    I hope this helps.

    -Chris

  • Detach the CSS stylesheet

    Hey hey folks

    How would I file a stylesheet of a page? Looking at my screen, under the tab 'index' (index being the page I'm working on), it says "source code, gallery_css.css, gallery_css_copy.css. I want to delete the file gallery_css.css of origin of this list, so 1) I get not confused about who css I'm adding styles to and 2) so I can play with the gallery_css_copy.css file and does not affect the original work that I did.

    Thank you

    Hello

    In your head, look content for a line that contains the link (or import), the css file and either remove the line or comment on him.

    PZ

  • How can I add the CSS styles used by Firefox player mode?

    When loading from the view of the reader, the text is aligned to the left by default. I would like to be well to the left and right justified. At present, I can arrange this by editing the css style in the view "Inspect element", but it's not permanent (and we don't know where the player load css style). Is there a way to make such a change in the permanent reader view css style?

    See also:

    • chrome://global/skin/aboutReaderControls.CSS
    • chrome://global/skin/aboutReaderContent.CSS

    The main switch is #moz - player - content

  • Dreamweaver closes when I add the css code

    I put a sample of zip to http://www.tdrd.karoo.net/sample.zip

    When I edit index.htm and add the following code:

    {.portfolioH}

    high:-109px;

    left:-18px;

    }

    {.aboutH}

    high:-109px;

    left:-18px;

    }

    {.contactH}

    high:-109px;

    left:-18px;

    }

    who needs to improve the positions of the top menu.

    However, Dreamweaver no longer works and wants to close every time, and enter debug mode...

    Please can someone shed some light on why this is?

    I'm trying to get a menu horizontal and vertical, working on the same page - therefore, there are variants h and v classes.

    Thank you

    Terry

    Always add the statement to your HTML documents, so that the browser knows what type of document to expect.

  • Call "HostNetworkSystem.UpdateVirtualSwitch" for the error of the object when you attempt to add the second NETWORK card

    Hi there - first post here, so please be nice :-).

    We are just trying to place an ESX4.1 own deployment in our environment (no previous installation of VMWare) to our main office, using Dell M610 and blades blades M600 to what would become our DR - two sites site hosting VMS on Equallogic iSCSI SAN disks.

    I configured 4 of our blade M610 with ESX 4.1 successfully and they work very well.  These blades have double NIC onboard, and after the initial installation of ESX, I could go to the virtual switch and add in the second NIC like vmnic1 (because one had already been detected during installation).  This fine workd for 4 guests on the M610 blades.  However, I came today to make my first installation on one of the old M600 blades and I encountered a problem.

    Installation went without any problems and I was able to add the host in my vCenter.  I can change all the settings without problem (created the Port of VMKernal for my connection to SAN iSCSI etc, but as soon as I try to add in the second NETWORK card, he paused for a while, and then I get the following error message:)

    Call 'HostNetworkSystem.UpdateVirtualSwitch' of object 'networkSystem-56 "on vCenter Server"VCEN01." ournetwork.local"failed. (network name has been changed for post).  When this happens, it locks up again for several seconds, and when the system returns, I can no longer communicate with the ESX host (Observer of events in vCenter watch 'host is not responding' and I find that I can not ping the host unless I reboot it.)

    If anyone has any suggestions I would appreciate it that I don't want to proceed down to the line with our Installer if theres an underlying issue and I need to redo everything.

    Concerning

    EFIN.

    Do you get the same error when you try to add the network adapter by using the command line?

    1. esxcfg-vSwitch - L vmnic1 vSwitch0

    If you have found this or other useful information, please consider awarding points to 'Correct' or 'useful '.

  • Attempting to add the new swatch library, I get "" cannot open, select HAVE 8 or superior or EPS ' "

    I try to add the "Roland color systems Library.ai' in ID CS6.  I added the same file without problem to AI CS3, but when I try to add to ID, I get:

    "Cannot open the file, please select an Adobe Illustrator 8 or above document or file EPS or an Indesign Document from Adobe"

    I also tried to convert it to an EPS in artificial intelligence, then re-import in ID, but I get the same error, also tried to save in legacy versions.  I see in the swatch library folder in the ID, she seems to have a lot of files ACB which are files default swatchbook.  Is there maybe a way to convert this ACB file and drop it right in this folder, or any other suggestions?

    Select all the nuances in the Illustrator Swatch Panel; then click on the button in the swatches Panel menu and save the as ASE Swatch Library.

  • Newbie? Why did the CSS stylesheet work in some browser &amp; amp; not in others?

    I'm new to DW - always used GoLive - make the transition.

    I created styles in an internal style sheet and them moves on an external style sheet. The page works fine on my computer with the external style sheet in every browser I check it in but... When I download the page with the external stylesheet to the server-it only works in Safari, Opera, Windows IE-6. It does work in FireFox 2 and Netscape 9. It is as if there is no stylesheet attached to the document. Can someone explain what is happening? I tried everything but can not understand. Don't know enough to ask the right questions in google.

    http://www.summitcom.NET/PII/index5.html

    Any help really appreciated.

    Thank you

    Jim



    Osgood,

    Thanks for the suggestion. You were quite correct. I have contacted my server company, sent the URL you provided to them so the owner could see what the problem was and would be able to fix it. They didn't believe me at first.

    They just called and said that they fixed. It now works correctly.

    Thanks for the help.

    Jim

  • How can I get the tags to import bookmarks from an html file?

    I tried to import bookmarks to a Firefox created the html file. However, the tags don't matter. Currently using Firefox 13.0 to import current PC and the same version created the file on another PC.

    Firefox Sync will get all Firefox personal data transferred from the old PC to the new PC.

    See this:

    https://support.Mozilla.com/en-us/KB/what-Firefox-sync

    Set up synchronization on the old PC that has the data you want to transfer to the new PC.

    https://support.Mozilla.org/en-us/KB/how-do-i-set-up-Firefox-sync

    Then add the new PC as an additional device.

    https://support.Mozilla.org/en-us/KB/add-a-device-to-Firefox-sync

  • I have the favorite place of chrome in an html file, but firefox does not matter to them.

    I followed the procedure to import bookmarks from chrome as described by firefox, but firefox does not import the html file. I get to the last step of the procedure and it just doesn't work. You can suggest something. Thanks, Dan

    This works: https://support.mozilla.com/en-US/kb/Importing%20bookmarks%20from%20Google%20Chrome?s=import+bookmarks & r = 1 & as = s

  • Windows Vista is not look right after the virus scan (looks like old fashioned)

    I ran a test and test of computer optimization after what my Windows Vista is very old looking shaped with square blocks and the screen seems also very dark. Can I make the screen brighter, but need to do this each time I start up. But my main thing is to get Windows Vista normal looking again. I tried updates, but not worked.

    Can someone give me some advice please?

    Hello

    I'm curious to know what it was: 'computer optimisation test '.

    Normally, you lose your Vista theme after the graphics drivers are not updated.

    That's why I was wondering what you were doing.

    Try this:

    Go to the website of your computer manufacturer > drivers download Section > then key in your computer model number > find your operating system > find two graphics / video or from the Chipset drivers and download and install.

    __________________________________________

    It would also be a good idea to run the System File Checker tool to see if you have corrupted files

    "How to use the System File Checker tool to fix the files on system missing or corrupted on Windows Vista or Windows 7"

    http://support.Microsoft.com/kb/929833

    Use the (SFC.exe) System File Checker tool to determine which file is causing the problem and then replace the file. To do this, follow these steps:

    1. Open an elevated command prompt. To do this, click Start, click principally made programs, Accessories, right-click guest, and then click run as administrator. If you are prompted for an administrator password or a confirmation, type the password, or click allow.
    2. Type the following command and press ENTER:
      sfc/scannow

      The sfc/scannow command analyzes all protected system files and replaces incorrect versions with appropriate Microsoft versions.

    See you soon.

  • The DPS continues to NOT work with html files

    Hi guys Adobe... I try 2 days download a blank page with a html (1 MB) file... the procedure fails all time... I see the message "Error during download". And the server seems to produce abnormal of big files (156 of 417 MB)...IMG_0006.jpg

    The other 2 projects has been achieved before your DPS updated and contains several html files... A reason for this? Thank you

    This isn't a DPS support site, but rather a community forum. You must contact Adobe through your support contract if you need technical assistance.

    The sounds of question related to how you are trying to use HTML files. We have HTML articles each month and you don't have any problems.

    My only thought is that the folder that you choose to include when you import your HTML articles a lot of additional data, which is bloating the size of the folio.

  • How do I access the Captivate object in javascript in an HTML file?

    I'm still struggling with this and would appreciate any help/advice you can.

    Here's what I have right now:

    1. var g_bIsInternetExplorer = navigator.appName.indexOf ("Microsoft")! = -1 ;
    2. document. Write ("< P > < H1 > g_bIsInternetExplorer =" + g_bIsInternetExplorer + "< / H1 > < / p >");
    3. document. Write ("< P > < H1 > setting objCP... < / H1 > < / p >");
    4. var objCp = g_bIsInternetExplorer? Captivate: document. Captivate;
    5. document. Write ("< P > < H1 > set objCP... < / H1 > < / p >");
    6. Description var = objCp.cpEIGetValue ("m_VarHandle.cpInfoDescription");
    7. document. Write ("description < P > < H1 > =" + description + "< / H1 > < / p >");

    I just publish the captivate project... I've then run it and then launch the html file that contains this code

    It inflicts everyting through and including line 3

    But it seems to fail on line 4...

    Any /suggestions ideas?

    Thanks in advance.

    Hi Tom,

    You don't need to make any kind of browser detection.  I would like to write your JavaScript like this:

    var objCp = document.Captivate;
     var description = objCp.cpEIGetValue("m_VarHandle.cpInfoDescription");
    

    In addition, if you want to debug your code, document. Write() will not work for you because it will overwrite the content of the browser.  Try to use console.log () or alert() statements.

    Jim Leichliter

  • How to do not include the path when creating pdf of many html files?

    I use "merge into one file" to create a PDF from many html files. However, the generated pdf file have html files path information. I wonder how to generate a pdf file without path information.

    Go to CREATE > create a PDF file of the Web Page > click the SETTINGS button in the dialog box that follows > uncheck "place headers and footers on the new page.

    Thank you!

Maybe you are looking for