CSS - how do I remove/change styles for one image?

Hi,
In my CSS I have the following rule which styles all the images within the 'main_text' div with a border, background colour and padding:
#main_text img{
    border: 1px solid #666;
    padding: 5px;
    background-color: #C0BEB6;
However I have one image on one page where I want to remove this styling and I can't find a way of doing it.
I've tried applying a class to the image I want to change:
.exclaim {
    border-style: none;
    float: left;
    margin-right: 10px;
    padding: 0px;
The .exclaim rule appears after '#main_text img' in the stylesheet.
The float and margin both work but the border and padding are retained from the other selector.
I know I could just have 2 classes and apply them as necessary but eventually I am likely to have quite a few images throughout the site that need the border and padding and just the one that doesn't.
The site in question is here: http://www.elitejoiners-shopfitters.co.uk/
The page that contains the image that doesn't need the border is the error page: http://www.elitejoiners-shopfitters.co.uk/error404.html
Thanks
Mick

Will .exclaim always be inside #main_text?
If so, increase the CSS "weight" of .exclaim by targetting it more specifically so that it trumps #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;

Similar Messages

  • How do I remove the requirement for one of my family members to ask for approval to download an app?

    Approval to download app

    Hi daviddrake20,
    If you are talking about the Ask to Buy feature of Family Sharing, you can find the instructions for turning it on or off for any member under the age of 18 in the following article:
    Request and make purchases with Ask to Buy - Apple Support
    Regards,
    - Brenden

  • How can I remove default alarm for events in iCal on devices ios?

    Whenever I add an event to my iCal calendar in Mounain Lion it will automatically add one default alert only on my iphone and ipad. These default alarms are not displayed on my macbook or icloud.com
    Default alarms are disabled in macbook, icloud.com, and my ios devices.
    How can I remove default alarm for events in iCal on devices ios?
    Thanks and sorry for my english.
    MacBook Pro, Mac OS X 10.8

    OK, so I have had this issue for the past several months. I think it all started when I upgraded to ML from SL and migrated my calendars and contacts to iCloud. That was a couple months ago. But now I am running 10.8.2, and about two weeks ago I upgraded my iOS devices to 6.0.1.
    I don't seem to be having any issues with events that I create now, but all those old events that were migrated to iCloud a couple months ago, many of those sound alerts on the iOS devices even though there was no alert defined when the event was originally created. I have always had alerts off by default both in iCal and on the iOS devices.
    So here's the question: is there a way to go through and disable all these spurious event alerts? I've been disabling them as the event reminders come up, but it's irritating. It would be nice if there was a way to turn them off all in one shot somehow.

  • How to see the change logs for billing document

    Dears,
    Could you please how to see the change logs for billing document.
    My client is using ECC 6.0 & if i use VF03 > Environment > changes > does not show the changes i had made.
    Thanks in advance
    Ranjan

    hello, friend.
    you should be able to see changes done after the initial creation and saving, by going thru Environment > Changes.  try it again, and this time make sure that changes were done to the billing document prior to posting to accounting.
    normally, when configuration of Billing is done correctly, there will be little or no instances of changing anything in the Billing document,  as saving the document after creation will post this to Accounting.  of course, inclusion of a posting block in the billing type will provide you the opportunity for changes. 
    regards.

  • How do I remove an alert for a calendar item that has long since been deleted? and yet goes off mysteriously, un-deletably, and un-editably every single ****** week !!

    How do I remove an alert for a calendar item that has long since been deleted? and yet goes off mysteriously, un-deletably, and un-editably every single ****** week !!

    I have the same problem with my iPhone.  I set up a recurring calendar event for every Thursday.  That event is no longer happening during the summer, so I went in and chose one from the current month and selected Delete.  Then it gve me two choices, one of which was to Delete All Future Events of this one, and that's what I chose.  I figured, this way, I'll still be able to see the ones from the past, but won't have to see (or hear the alert) for the future ones.
    The following week, my phone alerted me to the appointment, and even showed it on the initial screen, even though it wasn't in the calendar.  I went in to the calendar and NOTHING was scheduled for that day.  So why is this happening?
    So I set up a new recurring event, for in the past, then went in and deleted all furture occurances, and it did the same thing... still alerted to an event that was no longer in the calendar.
    I hope somebody else has found a fix, or at least a reason for why this is happening.

  • How to see the changes made for iPad in iTunes on my iPad?

    How to see the changes made for iPad in iTunes on my iPad? I've been transferring some pdf-files and changed the name on them in iTunes under the index books for my iPad device, but the changes do not show in iBooks-PDF. What to do?

    Yes I tried syncing a lot of times, but the changes still wouldn't show, so I did as you said by beginning from the start by adding the PDF's once again.
    Thanks for your help, it works now :-)

  • How do i remove an offer for a free subscription to a magazine?

    How do I remove an offer for a "free" subscription to a magazine that was offered on my ipad? There is no "option" except to subscribe. It wont go away.

    Never had this happen.  Might be something on this link.
    Canceling a Digital Subscription
    http://gadgetwise.blogs.nytimes.com/2011/10/14/qa-canceling-a-digital-subscripti on/
    Might try by subscribing and then cancel.
     Cheers, Tom

  • How can I remove Personal Hotspot for the iPad

    How can I remove Personal Hotspot for the iPad, I use apple configurator but I still can NOT do it. any idea?

    I mean hide it, or remove it or delete it. I just don't wanna anyone on my enterprises use it because my data plan gonna be high cost.
    supported by my carrier, I asked my carrier if they can remove it ? they said they can NOT.

  • How to set a change pointer for a perticular table?

    Hi,
    Please let me know how to set a change pointer for a perticular table.

    what do you mean by 'change pointer'? normally this idiom is used for sending ÍDOCs from one system/client/org-unit to another ...
    do you generally want to record changes to a specific table? then set parameter rec/client using RZ10 for your instance profiles and restart the instances in order for the parameter to take effect.
    set the table to 'record all changes' using SE11.
    you might re-consider if the table has a lot of  data and is accessed very often for performance-resons.
    change protocols can be evaluated using tx, SCU3.

  • Change Style for text (PE12)

    When I insert a text, i can change style just one time. It is not possible to change style for other text. I must stop the program and start up for changing style at each time I request to change style.
    Solution?

    Peru Bob,
    Thank you for linking to the Muvipix thread. Not sure what happened in PrE 12, but this Styles Bug looks pretty serious, as Styles allow a user to do so much, regarding attributes for Shapes and Text.
    Appreciated,
    Hunt

  • How do you remove os support for png?

    how do you remove os support for png?
    #EasyModeOff

    Time to dial down on the crazy and explain the reasoning behind such a drastic move.
    ICMP is part of the TCP/IP stack, you can't just pull it out like a block on top of a tower, your NIC will stop working if you try to mess with it.
    However, you can put your computer in stealth mode, which it will ignore various incoming requests.

  • How can I remove people tags from MULTIPLE images in Organizer 13?

    How can I remove people tags from MULTIPLE images in Organizer 13?  The strategy for removing keyword tags does not work. It appears that keyword tags and People tags are considered something completely different in 13.  I highlight multiple images, right click, and under keyword tags it says there are no keyword tags. There does not appear to be an option for people or other tags. Can anyone help? It is going to take literally hundreds of hours for me to do this one photo one tag at a time.  ??

    Comp. 792 wrote:
    Hi, my linked images all have dashed lines at the bottom of the images. I searched for an answer and someone said to add:
    img a {text-decoration:none:}
    to the end of my CSS,
    That CSS is complete nonsense. The correct way to remove borders from around links is here: http://forums.adobe.com/thread/417110.
    If you want to get rid of dotted lines, they are almost certainly caused by the outline property. However, outlines around links are there for a reason: it provides a visual "you are here" clue to people who navigate the web with the keyboard, either through preference or because of disability. You shouldn't remove the dotted outline without providing a different visual clue.

  • How to approve the request only for one time for human task in BPM Worklist

    Hi All,
    I'm having a requirement where i have made the hierarchy in the .task file where in created two users for which i need an approval in a hierarchical manner. But when i'm approving the request from worklist app for one user and the request is going sucessfully to the second user and if i approve it over there it once again coming to first user where i have approve it once again to get the request processed. how to get request processed only for one time when it is approved. Do we need to customize anything
    If you did it can anybody can share thoughts on this please. Your help is highly appreciated.
    I am not able to see the rejected request at all. where to see the rejected request.
    Regards,
    CH

    Hi,
    Following are the some important points you should understand about ESS Leave Request Workflow
    1. The Visualization ( how should it appear in UWL and what should happen when you click on a particular workitem) is defined in SWFVISU. Check for TS12300097. Generally, it invokes com.sap.xss.hr.lea.appl/LeaveRequestApprover Java WebDynpro application. Just check whether you are able to get the correct Leave Processing application called when you execute your workitem from UWL?
    2. In general it should have option to process the leave request either approve/reject. When the leave request gets approved/rejected the status of the Leave Request document gets changed ( in workflow it is &REQ.STATUS&
    3. There is a need to schedule a background job for program RPTARQPOST which will pick up all the documents in APPROVED status and creates an absence record for the same.
    4. Apart from schedule job as mentioned above, you also have to schedule a background job for program  RPTARQEMAIL, which is basically used to send e-mails for all the documents which are yet to be approved to correct manager.
    as you say , you can not see Approve/Reject options from UWL, it looks to me that correct javawebdynpro application is not being called for this task. Just check this !!
    Good Luck !!
    Regards
    Krishna Mohan

  • I have the same songs showing up on 2 playlists on my Ipod. How do I remove the songs from one playlist and leave them on the other playlist?

    I have the same songs showing up on 2 playlists on my Ipod. How do I remove the songs from one playlist and leave them on the other playlist?

    Hi tmilbut,
    Welcome to the Support Communities!
    The information below may be able to answer your questions about how to delete items from a playlist on an iPod.
    iPod Nano User Guide - Remove items from a playlist - page 23
    http://manuals.info.apple.com/MANUALS/1000/MA1624/en_US/ipod_nano_user_guide.pdf
    Remove items from a playlist:
    1 On the Home screen, tap Music > Playlists, then tap the playlist you want to edit.
    2 Flick down, then tap Edit.
    3 Tap next to the item you want to delete, then tap Delete when it appears on the right.
    4 When you finish, tap Done.
    Delete a playlist:
    1 On the Home screen, tap Music > Playlists.
    2 Flick down, then tap Edit.
    3 Tap next to the playlist you want to delete, then tap Delete when it appears next to the playlist.
    If you tapped the wrong playlist, tap the one you want to remove.
    4 Tap Delete, or tap Cancel if you change your mind.
    5 When you finish, flick up, then tap Done (or swipe right to return to the Home screen if you cancel).
    Cheers,
    - Judy

  • How do you remove face tagging icon from images.  I cannot get them off some images.

    How do you remove face tagging icon from images.  I cannot get them off!  This is for adobe photoshop elements 6.   Thanks

    The links below have instructions for deleting photos.
    iOS and iPod: Syncing photos using iTunes
    http://support.apple.com/kb/HT4236
    iPad Tip: How to Delete Photos from Your iPad in the Photos App
    http://ipadacademy.com/2011/08/ipad-tip-how-to-delete-photos-from-your-ipad-in-t he-photos-app
    Another Way to Quickly Delete Photos from Your iPad (Mac Only)
    http://ipadacademy.com/2011/09/another-way-to-quickly-delete-photos-from-your-ip ad-mac-only
    How to Delete Photos from iPad
    http://www.wondershare.com/apple-idevice/how-to-delete-photos-from-ipad.html
    How to: Batch Delete Photos on the iPad
    http://www.lifeisaprayer.com/blog/2010/how-batch-delete-photos-ipad
    (With iOS 5.1, use 2 fingers)
    How to Delete Photos from iCloud’s Photo Stream
    http://www.cultofmac.com/124235/how-to-delete-photos-from-iclouds-photo-stream/
     Cheers, Tom

Maybe you are looking for

  • Journal voucher print

    Hi, expert my client wants when i take a print out of a journal voucher it should be print the details like company name & address of the header, in SAP standard format it is not showing ? can it be make any changes or not ? regards gk

  • How to locate photos in finder through the Photos for Mac app?

    Hi, is there an option to locate where the photos are saved in finder through the Photos app. This feature was available in iPhoto but I am unable to locate it in Photos.

  • Shutting down causes a request to continue an update

    When I shut down my imac, I frequently get a window asking if I want to continue my update (to what I don't know).  If I click "continue", I get a message saying it can not find a file that is needed for the update.  This file has a very long name, s

  • MacBook shuts down randomly

    MacBook shuts down randomly while using or while sitting idle. It then needs a min before the power button seems to function. The charger will not start charging right away after the computer comes back on. I also notice the date and time goes back t

  • Command button selects whole text box

    I thought the keyboard shortcut for moving between paragraphs was command + up or down arrow, however as soon as I press the command button it selects the whole text box??