How to change the color of the div tag with source code?

I know that there should be a way to change the colors of only some text as boxes this. It should be as simple as a code of color at the beginning and at the end of the tag like

<div><color="#FF0000">This text should be RED</color></div>

I tried and it came with the error "Invalid markup, this is not the right format of an HTML tag."

I'm about 99% certain you can change the colors of the specific divs using color codes without giving them an Id and make a rule css for them, I don't know how. It is a simple question, and it should be a simple answer.

Greatestdan wrote:

I know that there should be a way to change the colors of only some areas of text like that. It should be as simple as putting a color at the beginning and at the end of the tag as a code

This text should be RED

I tried and it came with the error "Invalid markup, this is not the right format of an HTML tag."

I'm about 99% certain you can change the colors of the specific divs using color codes without giving them an Id and make a rule css for them, I don't know how. It is a simple question, and it should be a simple answer.

FIX:

This text should be RED

Tags: Dreamweaver

Similar Questions

  • How to hide the div tags when the value inside is empty?

    I'm creating a tab bar using jQueryTabs.

    I want to hide a tab when the value inside is empty.

    It is perfectly feasible to hide the real on the ground when notting to show is, however, the tab is always in the tabs on top.

    Here is the code:

    as you can see in the tabs 4 and 5 I'm hidding values that are inside the field is it not there no. The tab is still there

     <script type="text/javascript">
    // BeginOAWidget_Instance_2140022: #jQueryTabs
    
    
    
    
              $(function() {
          $("#jQueryTabs").tabs({
                        event:"click",
                        collapsible: false,
                        selected:'0',
                        fx: { opacity: 'none', duration: 1 }
            }).tabs( "none" , 1 , false ); 
              });
    
    
    // EndOAWidget_Instance_2140022
           </script>
          <div id="jQueryTabs">
            <ul>
              <li><a href="#tabs-1">Description</a></li>
              <li><a href="#tabs-2">Specification</a></li>
              <li><a href="#tabs-3">Video</a></li>
              <li><a href="#tabs-4">Audio</a></li>
              <li><a href="#tabs-5">Downloads</a></li>
            </ul>
            <div id="tabs-1">
              <p><?php echo $row_Recordset1['Full_Description']; ?>
            </div>
            <div id="tabs-2">
              <p><?php echo $row_Recordset1['Specification']; ?></p>
            </div>
            <div id="tabs-3">
              <p><?php echo $row_Recordset1['Video']; ?></p>
            </div>
            <div id="tabs-4">
              <p><?php if (!is_null($row_Recordset1['Audio1'])) { ?><a href="<?php echo $file_wav.$row_Recordset1['Audio1']; ?>"><img src="files/Images/audio_image1.jpg" width="50" height="50" ></a><?php } ?></p>
            </div>
            <div id="tabs-5">
              <p><?php if (!is_null($row_Recordset1['Brochure'])) { ?>
              <a href="<?php echo $file_pdf.$row_Recordset1['Brochure']; ?>"><img src="files/Images/pdf_image1.jpg"></a>Brochure<?php } ?></p>
              <p><?php if (!is_null($row_Recordset1['User_Guide'])) { ?><a href="<?php echo $file_pdf.$row_Recordset1['User_Guide']; ?>"><img src="files/Images/pdf_image1.jpg"></a>User Guide<?php } ?></p>
            </div>
    
    

    RiaandSteve1 wrote:

    Thanks for your quick response,

    I tried this,

     

    ">

    I'm not able to click on the tab now, but he is always visible (in this case telling audio). I must be something to do with this code

  • Audio
  • above the actual div for the tab.  Do not know how to remove the tab

    Well Yes if you want to hide the tab too then you must surround the

  • tag in a similar way:

  • Audio
  • How to change the mac address with a mac myself?

    Hello

    I need help to change the MAC address of one of my VM in a configuration.

    I need it because I need to do some testing on a program and the program's tie to the MAC address.

    I see how to reset the MAC, but not how set one I want... could someone help me with this.

    Lafa91

    BTW I have french speaking first of all sorry in advance for my bad English.

    Lafa im not very familiar with labmana. but the alternative is that you change your MAC address in the guest NETWORK adapter settings OS

  • How to change the drive letter with installed applications?

    My window is installed on the C: drive, and the application is installed on the D: drive,

    I just buy a new HARD drive and put it into drive E:, everything is copied from drive D: to E: drive and want to switch between the letter D: and E:.

    I tried to put in DISKPART, but when I restart my XP, the drive letter remains the same,

    If I change the drive letter directly in XP, it cannot be changed, because the applications are running.

    Does anyone have any suggestions?

    Thanks in advance for your suggestions

    Make sure any DVD/CD or USB keys are not connected or set F assignments or beyond (MY DVD is S & T).

    Shut down the computer; power off. Disconnect the old drive (now D). Connect the new drive (now a copy of the old D). Power and boot to the desktop. Go into disk management and make sure the drive that contains Windows, the original C drive is always c. assign the new drive as D. Reboot the desktop. Check operation.

    Shut down the computer; power off. Plug the old drive. Restart the desktop computer. Enter Disk Management and assign it to E.

    Restart, then check the operation.

    Tom Ferguson

  • How to change the Total report with a different name

    Hello

    I have a report and the last line display total report (using default apex - check check sum).

    My last appear as follows: full report | 10. 20. 30. 2 ¾ 100

    What I want to do is to change the name of 'total report' "Grand Total" or something else of my taste. Is - it there anyway that I can can be achieved. Any help would be appreciated.

    Thank you

    Matt

    On the report attributes tab, find the section break, formatting is a text box labeled: view this text when you print the report amounts, you can enter your text to replace the total report...

    Thank you

    Tony Miller
    Webster, TX

  • How to change the win8 international dialing access codes

    By default the international dialling code for my country is 00. I want to change it to 01 X.

    In previous versions of windows, the solution was to edit the Telphon.ini file, but I couldn't find in Windows 8.

    No one knows how to do?

    I don't have an answer to that.

    I solved it by using the option of calling card in 'phones and Modems.

    I created a new calling card in which the sequence of composition includes the prefix X 01, I need to get the international provider of my choice.

  • How to change the value returned with. by SQL / PL/SQL function

    I found on the community service of coracle that rounds and add the zeros to the right if necessary to dynamically add zeros to the right but the result is returned in constains format. Te 999.99 but I need to get 999.99, how do I solve this problem

    Modify the function to replace the. characters in, character.  Look at the function of string to replace oracle: REPLACE

    Thank you

    Tony Miller
    Software LuvMuffin
    Ruckersville, WILL

  • How can I control or change the ID3 tags with the new v12.4 of iTunes?

    On the latest version of iTunes (12.3), right click on a file gave the option "Convert ID3 Tags"... ».

    But with the new iTunes (12.4), this option has disappeared and I can't find a way to control the tag on mp3s.

    Mr Apple, why put obstacles for those working?

    It is still possible, but is no longer a part of the menu of right - or control-click option.  Now, it is available at:

    • File / create new Version...

    Don't know why it was deleted, but Apple say:

    http://www.Apple.com/feedback/itunesapp.html

  • RH9: How can I get a CSS class or id defined style applies to Word or PDF output using the &lt; div &gt; tags?

    HR I wrote the following:

    This is the code-behind:

    The 'DivNote' CSS id is defined:

    However, when I generate the printed output, I get this:

    OutputImage_DivNote.jpg

    The style of the Note disappeared.

    I created a class = "Note"...:

    .. .and applied to the div tag with similar results, but with some of the style through:

    OutputImage_classNote.jpg

    The output HTML (.chm) seems, like the display of the preview (Ctrl + W).

    Your help is appreciated gracefully.

    Steve Roehrig

    In RoboHelp you map to a Word template or simply by selecting a CSS?

    I assume that you are by selecting a CSS and that the solution might be to map to a Word template, where you can map the. Note the style.

    Mapping to take word longer to set up the first time, but once done, you may be easier to get the desired results.

    See www.grainge.org for creating tips and RoboHelp

    @petergrainge

  • Change the icons associated with files - it is still possible; It was child's play.

    How can I change the icon associated with a file? For example, if I change the default program for an .ini file, the default icon of a page with a gear in the corner becomes a simple page and I'd rather the icon does not change... just the program I use to open the file. In the previous veersions of Windows, if you want to change the icon associated with a file, you could simply enter properties and continue. Please advise on how to adopt this change of WinVista Home Premium.

    It is not easy and involves editing the registry (this is far from as easy it was XP, that's why you're having trouble).  Here is the procedure: http://www.webtlk.com/2009/03/20/how-to-change-the-icon-assiciated-with-a-file-in-windows-vista-and-windows-7/.  I recommend before starting that you back up your registry database just to be safe.  Here's how: http://www.adamsdvds.co.uk/tutorials/vista/regedit/backup.php.

    I hope this helps.

    Good luck! Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How to change the color of pre-rendered screen.

    My question is how to change the color of the page that is displayed before a site is fully charged. So let's say I go to a site where the background color is red. Before the end of Firefox loading it will appear as white. Also yes I have known that I have an add-on which changes the default color of YouTube. However the first picture comes on all websites no matter if their background is white or not.

    You can try the userChrome.css code or elegant.

    Add code to the file userChrome.css below default @namespace.

    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    
    browser {background-color:#f0f0f0!important}
    

    The file userChrome.css (UI) customization and userContent.css (Web sites) are located in the folder of chrome in the Firefox profile folder.

    You can use this button to go to the current Firefox profile folder:

    • Create the folder chrome (lowercase) in the .default < xxxxxxxx > profile folder if the folder does not exist
    • Use a text editor like Notepad to create a userChrome.css (new) file in the folder chrome (file name is case sensitive)
    • Paste the code in the userChrome.css file in the Editor window
    • Make sure that the userChrome.css file starts with the default @namespace line
    • Make sure that you select "All files" and not "text files" when you save the file via "save file as" in the text editor as userChrome.css.
      Otherwise, Windows can add a hidden .txt file extension and you end up with one does not not userChrome.css.txt file
  • It is difficult to see how to change the color of the scrollbar in gray on gray background?

    It is difficult to see how to change the color of the scrollbar in gray on gray background?

    I think you should probably use an extension or theme to replace the default colors.

    If you are not interested in all the changes that might come with a new theme, is the next extension compatible with Linux?

    https://addons.Mozilla.org/firefox/addon/noiascrollbars/

  • How to change the background of the playlist window colors in iTunes

    The background color of my playlist 'window' in iTunes is black, which is difficult to read.  How to change the background of all the playlists to a light color.

    All the indications are that the selected background colors are random and cannot be changed. If someone knows a way to change them please let us know.

  • How to change the color of the mailbox that contains new messages

    I have Thunderbird sort my incoming mail into different mailboxes based on different criteria.

    Until recently, the arrival of new messages in any box, the title of this box (in the list, the left pane) became Red - which makes it easy for me to identify what boxes necessary to my attention. For some reason, it stopped. The incremental number indicating the number of unread to messages always changes, but the color of title remains black.

    Someone knows how to change the behavior in order to highlight the mailboxes containing new messages please?

    Thank you...

    by using a theme? or a userchrome file?

  • How I change the fonts and colors of default return?

    I changed the font and the color of the text through the Tools button and the button options and the tab content. I can't find anything tell me how to change the fonts and colors to the colors and fonts by default. Can you advise me? I use Windows 7 Home Premium OS. Thank you.

    Hi Brenda19605,

    You can use this article to set the fonts and colors: https://support.mozilla.org/en-US/kb/change-fonts-and-colors-websites-use?esab=a & s = do & r = 0 & s = as

    The default settings for the police are in this article:
    https://support.Mozilla.org/en-us/KB/some%20text%20shows%20up%20bold%20after%20upgrade

    Unfortunately for the default color has no good reference. For the text, but it is black (most lower-left), the background is white (color above left). Unvisited links is blue (column 8, line 5) and the visited link is purple (column 9, line 5).

    Let me know if you need help more!

    Lordfreak

Maybe you are looking for