473,499 Members | 1,593 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

jQuery change article background color

oll3i
679 Contributor
How do i set the color of an article?
in the code by data-id

Expand|Select|Wrap|Line Numbers
  1. <section class="offers" id="featured-offers">
  2. <article id="item-3929173859" class="offer promo-bold" data-id="3929173858" data-location="Nysa">1</article>
  3. <article id="item-3929173859" class="offer promo-bold" data-id="3929173857" data-location="Nysa">2</article>
  4. <article id="item-3929173859" class="offer promo-bold" data-id="3929173856" data-location="Nysa">3</article>
  5. <article id="item-3929173859" class="offer promo-bold" data-id="3929173859" data-location="Nysa">4</article>
  6. </section>
Feb 13 '14 #1
1 1263
Dormilich
8,658 Recognized Expert Moderator Expert
with the CSS attribute selector.
Feb 13 '14 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
5917
by: Itay L. | last post by:
Dear all, I am trying to figure out how to change the background color of my menubar under Windows. I've tried the following: from Tkinter import * root = Tk()
2
4323
by: Sean | last post by:
Hi all, I have a treeview and because I subclass the treeview and allow multiple selection to be done on the treeview, I have a problem changing the background color of the treeview. The...
1
3457
by: HS1 | last post by:
Hello I can change the background of each page of a TabControl but cannot change the background (BackColor) of this tabcontrol. I did not see it in the properties page. If you know how to...
0
1386
by: Bharathi Kumar | last post by:
Hi, Iam working in a windows application using .Net framework 2.0, VS.NET 2005 and CR X. Scenario : When we create a report using CR by default they will be assigned some background colors.
1
1353
by: yxq | last post by:
There are two picturebox controls(A and B) on a form, the A's background color will become blue while clicks A(here, the B's background color will become control color), the B's background color...
5
2923
by: christele | last post by:
Hello I am new to java, and I can not get my stuff to work. For my defense i had the worst teacher ever, and I am trying to learn by myself!!!! I am trying to have a pop up menu with a set width...
13
49396
by: shapper | last post by:
Hello, I see in many web sites, such in Google, inputs that when i click on them to write something they change their style. This works both in Firefox and IE (These are the ones with which I...
1
10644
by: rengaraj | last post by:
Hello I have a question about create a Form on J2ME Midlet. How could we change the Background Color Of Form? Is it possible? Thanx a lot.
6
2324
by: AdamOnAccess | last post by:
Hi all, I'm in Windows XP, Access 2007. I need to create either a tabular subform or a list box that, from a query, returns a list of records showing amounts of money sorted in descending...
2
5838
by: michaelmaria313 | last post by:
Hi All, I am brand new (like 2 weeks) to ASP.NET and VB. I have a series of linkbuttons that are generated dynamically inside a repeater. I need the background color of the selected linkButton...
0
7132
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7009
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7178
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6899
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5475
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3103
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3094
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
665
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
302
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.