CSS - how to remove/change the styles for a single image?

Hello

In my CSS, I have the following rule which images in the div "main_text" with a border, background color and padding of the styles:

#main_text img {}
border: 1px solid #666;
padding: 5px;
background-color: #C0BEB6;
}

However, I have an image on a page where I want to remove this style and I can't find a way to do it.

I tried to apply a class to the image I want to change:

{.exclaim}
border-style: none;
float: left;
margin-right: 10px;
padding: 0px;
}

The rule of .exclaim appears after "img #main_text" in the style sheet.

The float and the margin that both work, but the border and fill are retained other selector.

I know that I could just have 2 classes and apply them as needed but finally I'm likely to have images everywhere on the site requiring the border and fill and just one that isn't.

The site in question is here: http://www.elitejoiners-Shopfitters.co.UK/

The page that contains the image that has no need of the border is the error page: http://www.elitejoiners-Shopfitters.co.UK/Error404.html

Thank you

Mick

. Exclaim will always be inside the #main_text?

If so, increase the 'weight' of .exclaim CSS by addressing specifically so that it outweighs #main_text img:

change

{.exclaim}
border-style: none;
float: left;
margin-right: 10px;
padding: 0px;
}

TO

#main_text .exclaim {}
border-style: none;
float: left;
margin-right: 10px;
padding: 0px;
}

Tags: Dreamweaver

Similar Questions

  • How can I change the pixels for photos on the iphone 6? IOS 9.1

    How can I change the pixel for photo taken on my iphone 6? 9.1 IOS I opened the camera and there only HDR power...  Help, please!

    You do not change the pixel setting.

  • How can I change the time for windows live?

    How can I change the time for windows live?

    This is the message I get. I need to change to continue working with this program.

    Hi stevenwiley,

    1. when exactly you get this message?

    2 are you facing any problem with Windows Live?

    If this happens only with a Windows Live program, you can post your request in the Windows Live forum for assistance.

    Check the link for Windows Live support:

    http://windowslivehelp.com/

    Hope this information is useful.

  • How to manually change the ports for HTTP on the server vCenter Server

    Hello Experts,

    We have Windows Server 2008 SP2 machine where we v5.1 installed with other SSO components, inventory services, vCenter Server and Update Manager.

    So we went from SSO, the inventory services and vCenter Server fine however, vCenter Server has stopped working. While we were to modernize SSO, the service could not start after the upgrade and the recd suite error "Service VMware KDC service could start.". So, we found the article on the VMware site that said port 88 to cause the problem. To find out more by using the netstat command, we found vpxd.exe used port 88. That is why, we stopped this service and proceeded to the upgrade of the SSO. The upgrade is complete following the inventory service and vCenter Server. While we were upgrading vCenter Server, we found that port 88 was used for HTTP communication.

    So we wasted on the use of the port. The upgrade has been completed successfully, however, we can not connect to vCenter server using vSphere Client version 5.1 or 5.5. We even tried to start the VMware VirtualCenter server using the services.msc console and it failed.

    So we assume the port changes happened during upgrade of the SSO meets the HTTP port by vCenter server usage. We need help on how to manually change the ports for HTTP on the vCenter server.

    Suggestions forward. This problem is with the production servers.

    Thank you

    Karan

    This has been resolved... port has been changed manually and works very well.

  • How can I change the style of police in After Effects CS6?

    How can I change the style of police in After Effects CS6?

    Basics of EI: go to the window > character or select Workspace > text

    In the timeline panel, select the layer in the Comp panel, with the tool selected text or text and the layer selected in the timeline panel, select the text you want to change

    In the character Panel, change the attributes of police...

    Take a look at this short video. You will learn how to find the police Panel, change the style and the base line of paragraph:

    Please, since your question tells me that you're very new to After Effects start here: Basic Workflow

  • What the devil? How can I change the color of a single border?

    public static Border createSimpleBorder(XYEdges edges,
                                            XYEdges colors,
                                            int style)
    

    How can I change the color of a single border and why in the world is the setting of colors, a type of XYEdges?

    What the devil? How is it used? I threw in random numbers in the hope of a change in color, but I have nothing other than a black border.

    b = BorderFactory.createSimpleBorder(new XYEdges(1, 1, 1, 1), new XYEdges(77, 55, 22, 33), Border.STYLE_SOLID);
    

    255 should work much better than 256.

  • How to permanently change the font for all emails color

    How can I change the color of the font for all my emails constantly?

    E-mail address is removed from the privacy *.

    Hello Msmouser,

    What mail client do you use?
    If you use Outlook, I suggest to look at this article:
    If you use your web mail from Verizon, I would say that to visit the Verizon Mail support page:
    If you use Windows Live Mail, please visit:
  • How can I change the password for Agent DSCC on ODSEE 11.1.1.7?

    Hello

    Someone at - he met how to change the password for the DSCC Agent? I found not yet all orders that allows it.

    Mohammad

    Hello

    Sylvain, the links you give are not 11.1.1.7 for previous versions.

    There is no CLI to change the password of DSCC agent in 11.1.1.7. As agent DSCC has no data, I suggest to delete and recreate your agent by using the following path:

    • dsccreg remove-agent
    • dsccagent delete
    • create a dsccagent (use the same port as before)
    • dsccreg add agent

    No change on the servers of DS/DPS is necessary (no new registration...), if you keep the same port.

    It will be useful,

    Carole

  • How can I change the thumbnails for different genres on my iTunes and iPod Touch?

    Thumbnails are generic images that I did not choose and that you don't like. Is it possible to customize the thumbnails or at least use album art instead of those chosen by iTunes?

    Hello there, pdhicks.

    Looks like you want to change the album cover used for songs/albums in iTunes for Mac. The following Knowledge Base article provides information about how to do it:

    12 iTunes for Mac: add artwork to songs and other items

    Music and video that you buy on the iTunes Store or download music from Apple come from works of art. You can also add your own creations to any song or other item in your library.

    You can add many types of files of still images, including JPEG, PNG, GIF, TIFF, and Photoshop. You must convert WAVfiles to another format before you can add artwork to them.

    You can also change the work for any playlist in your library.

    Add artwork to music and video

    Add artwork to a single item: select an item in your iTunes library, choose file > get info, click artwork, and do one of the following:

    • Click Add artwork, select an image file and click Open.

    • Drag the image file to the work area.

    Add a the same picture on several items: select them, choose file > get info, click on Info and drag an image file to the work area.

    Retrieve album art from the iTunes Store for a song in your library: the song control key and choose Get Album artwork. Command-click to select several pieces.

    Thank you for being a part of the communities of Apple Support.

    See you soon.

  • How can I change the password for wifi on Apple TV 4?

    I changed my password for wifi and when I go into settings wifi on Apple TV, the network is there, but when I click on the name of the network, nothing happens.  He asks me the password.  It was a half hour and it still does nothing.  I tried to do a system restart and still nothing.  How can I change the password so I can reconnect to my network?  Is there a way to tell him to forget the network as on my iPad and iPhone?

    (btw, I changed the password to "*".)  I feel like the punchline of a cosmic joke.   )

    Do a reset.

    Also, not a good idea to post your password on a public forum

  • How can I change the style of fonts?

    When I first came to Wikipedia for example, there is a type of policy that is entirely decorated with too and I have trouble reading.  Could someone tell me how I can change the font type and size of it so I can read it better. All I need is an old ordinary writing.

    Thank you
    Leeflea

    Sorry you want to change the font on wiki and just wiki?  You can change the default font, use your computer in Control Panel.  You cannot change the uses of wiki policy or how you view a single web page.

  • How can you change the style out of your records

    Hello

    Is there a way you can change the style or the icon off all your records

    Thank you

    Goryon

    Hello

    If you are referring to the customization of the folder that includes the display of folders, the etc folder icon change, then you can check out the link below.

    Behavior and change folder views

    http://Windows.Microsoft.com/en-us/Windows-Vista/change-folder-views-and-behavior

    Change the thumbnail size details and file

    http://Windows.Microsoft.com/en-us/Windows-Vista/change-thumbnail-size-and-file-details

    How to modify your folder view settings or customize a folder

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

  • (How) Can I change the priority for execution vi when running

    Hi all

    I use the demons (free running VI) and I communicate them through queues.

    They are part of my architecture of device driver and use a producer (of the Acquisition) architecture or Architecture consumer (for control)

    I have a single VI demon I deploy an 'object of device' using a class polymorphic implimentation.

    This implimentation has a deficit of subtle,

    I'm not able to change the priority for execution to the launch

    There is a property node taunts that it is possible, but the assistance (and run the error message) says not available during execution.

    Anyone know of another method?

    Here's what I thought about so far:

    1. do you have 5 different demons with different priorities [Distasteful for the maintenance of the Code]

    2. make low priority and ensure that at least 1 VI in the driver has a highest priority [do not know if it works, mask implimentation]

    Kind regards

    Tim L.

    You might think about putting a timed loop or timed sequence in your daemon and then passing a value of digital priority to your demon. This is the best solution I can think.

  • How can I change the username for my windows?

    How can I change the username

    Hi there, what do you mean by "Windows Central"?  I know a Web site by that name, but don't know if that's what you're talking about (and it is not owned by Microsoft, it's just a Web site where people are talking about Windows).

  • How do you change the style of arrowheads on a series of lines in Illustrator?

    I don't want to redraw all, but I want to select the whole group and to change the style of arrowhead. I work in CS4 on Mac.

    Then, open the appearance Panel. You will find the effect existing of arrowheads. You can double-click it and change arrowhead.

    If all of these arrows have the same attributes, just cloud create you a graphic style and apply it.

Maybe you are looking for

  • How to identify the password from the airport

    I am trying to install Netflix on my BluRay LG player via my wireless network.  I entered the password of the network wireless several times and it does not accept it.  On the chance I can enter the PW wrong, how can I confirm that the network is PW?

  • Scan multiple pages in the same file on the computer

    How can I scan multiple pages on the same computer file on my HP Officejet Pro 8600 Plus?  Currently, it will scan each page to a separate computer file only.  Scan a document and then when asked if I want to scan another page I say Yes and the scann

  • Java has more than 24 hours to install and always current

    I have a new HP Pavilion dv6-7028TX laptop. There is no java at all on this subject. So so I'm trying to download and install without success. If anyone has had this problem and what can I do to fix this?  It took more than 24 hours to install and th

  • No installed SP support...

    I have a laptop with Windows Vista Home Basic installed without any installed MS... And Microsoft has announced that Support for Windows Vista without any service packs will end on 13 April 2010. Right? so, the question is: if I update my windows Vis

  • TAB IDEA S6000, cannot install app (incompatible)

    Hi there, help needed please install some apps on my new s6000 tab idea, I tried installing severally google gaming market, but complain of inconsistent with this tablet.