Debutant Fraizer Campbell scored the winner as Cardiff won at Leeds United to maintain their lead at the top of the Championship.
Campbell, signed from Sunderland, scored with his first touch after coming off the bench, turning in Craig Bellamy's shot.
David Marshall made two good saves in either half to deny Ross Barkley and Tom Lees.
Cardiff are now 10 points clear at the top after a fifth successive away win.
Cardiff made a positive start and from their first attack Paddy Kenny was forced to tip Aron Gunnarsson's lobbed cross over the bar.
Kenny and opposite number Marshall had very little to do for most of the first half as the game failed to find its flow.
Luke Varney blasted over Marshall's crossbar while ex-Cardiff striker Ross McCormack's drive, following El-Hadji Diouf's short free-kick, was blocked by Ben Turner.
Marshall was finally called into action to block a close range shot from the unmarked Barkley following a flick on from Diouf's cross.
During a first half in which chances had been at a premium, Bellamy did put the ball in the back of the Leeds net in the closing minutes.
The Wales striker poked the ball past Kenny from Tommy Smith's flick on but the goal was ruled out for offside.
Leeds last defeated Cardiff with a 1-0 away victory in the old Second Division in February 1984, five months after achieving a similar result at Elland Road.
Leeds started the second half brightly but Michael Brown's effort from outside the area following Diouf's corner went high and wide.
For the visitors, Kim Bo-Kyung created an opening for Tommy Smith but the ex-QPR player sliced his ball wide from six yards.
That proved to be Kim's final contribution as he was replaced by Campbell, making his debut off the bench following his move from Sunderland.
And Campbell made an immediate impact within two minutes of his introduction when he broke the deadlock with his first touch on 64 minutes.
Bellamy pounced on a mistake in the area by defender Sam Byram and Campbell directed the ball past Kenny from six yards.
Leeds rallied after falling behind with McCormack curling a 25-yard free-kick over the crossbar, before Rodolph Austin's shot was blocked by Andrew Taylor.
As they searched for an equaliser, the home side introduced one of their own new additions, Habib Habibou, to the action in place of Diouf with 18 minutes remaining
They piled on the pressure with Byram's header blocked by Mark Hudson then Marshall saved brilliantly to keep out Lees' point blank header.
The defeat ended a run of six successive home league wins for Leeds while Cardiff are 10 points clear of second placed Leicester.
Leeds United manager Neil Warnock:
"It is a cruel game sometimes. Everything about today was cruel. We missed open goals and the young lad (Byram) made a schoolboy error.
"I thought Mike Dean was brilliant but he didn't see the handball, when we all appealed, because he was in a bad position and should have been in a better one.
"He had three or four bodies in the way. The linesman could have helped him out, but they don't, do they. Then there was another handball in the 93rd minute that wasn't given."
Cardiff City manager Malky Mackay:
"I've never had an easy game at Elland Road in my life and we knew it would be tough today, especially as they had an incredible, very well deserved win against Spurs last week.
"But we applied ourselves really well. David Marshall made an excellent save for us in each half and I will take limiting Leeds to two chances at Elland Road."
Live Text Commentary
Full Time The referee ends the match.90:00 +3:03
The ball is swung over by Michael Brown, Aron Gunnarsson makes a clearance.90:00 +2:59
Ross Barkley crosses the ball, clearance by Ben Turner.90:00 +1:29
Rodolph Austin gives away a free kick for an unfair challenge on Heidar Helguson. Direct free kick taken by Aron Gunnarsson.89:39
Free kick awarded for an unfair challenge on Tom Lees by Fraizer Campbell. Direct free kick taken by Patrick Kenny.88:43
Rodolph Austin gives away a free kick for an unfair challenge on Aron Gunnarsson. David Marshall restarts play with the free kick.88:08
Free kick awarded for an unfair challenge on Rodolph Austin by Aron Gunnarsson. Free kick taken by Michael Brown.82:50
Matthew Connolly concedes a free kick for a foul on Luke Varney. Free kick crossed right-footed by Michael Brown from left wing, clearance by Mark Hudson.79:44
Tom Lees fouled by Fraizer Campbell, the ref awards a free kick. Free kick taken by Patrick Kenny. Mark Hudson challenges Ross McCormack unfairly and gives away a free kick. Rodolph Austin restarts play with the free kick, Ross McCormack takes a shot from 25 yards.78:49
Corner from the right by-line taken by Ross Barkley, Samuel Byram takes a shot. Blocked by Mark Hudson. Tom Lees takes a shot. Save made by David Marshall.77:47
Michael Brown delivers the ball from the free kick right-footed from left channel, clearance by Mark Hudson.77:47 Substitution
Substitution Heidar Helguson replaces Craig Conway.77:47 Booking
Booking Caution for Mark Hudson.77:33
Mark Hudson challenges Ross Barkley unfairly and gives away a free kick.76:55
Luke Varney gives away a free kick for an unfair challenge on Mark Hudson. David Marshall takes the free kick.76:41
The offside flag is raised against Craig Bellamy. Free kick taken by Tom Lees.72:50
Centre by Fraizer Campbell.71:56
David Marshall takes the free kick.71:56 Substitution
Substitution Habib Habibou joins the action as a substitute, replacing El-Hadji Diouf.71:56
The offside flag is raised against El-Hadji Diouf.
Rodolph Austin fouled by Ben Turner, the ref awards a free kick. Free kick taken by Patrick Kenny.70:30
El-Hadji Diouf gives away a free kick for an unfair challenge on Ben Turner. David Marshall takes the free kick.70:06
Free kick awarded for a foul by Ross McCormack on Matthew Connolly. David Marshall takes the free kick.69:42
Cross/shot by Luke Varney, Mark Hudson gets a block in.69:13
Mark Hudson gives away a free kick for an unfair challenge on Luke Varney. El-Hadji Diouf takes the free kick.67:52
Rodolph Austin has an effort at goal from outside the box which goes wide right of the goal.66:08
Free kick awarded for an unfair challenge on Luke Varney by Matthew Connolly. Ross McCormack has a direct shot on goal from the free kick.65:40
Fraizer Campbell is flagged offside by the assistant referee. Free kick taken by Patrick Kenny.65:08
Luke Varney gives away a free kick for an unfair challenge on Mark Hudson. Free kick taken by David Marshall.63:07
Samuel Byram gets a block in.63:07 Goal scored
Goal! - Fraizer Campbell - Leeds Utd 0 - 1 Cardiff Fraizer Campbell finds the back of the net with a goal from close in to the bottom left corner of the goal. Leeds 0-1 Cardiff.62:59
Shot by Aron Gunnarsson.62:34
Drilled left-footed shot by Peter Whittingham. Blocked by Samuel Byram.62:10
Luke Varney takes the chance to get an effort at goal. Blocked by Mark Hudson.60:48 Substitution
Substitution Fraizer Campbell on for Bo-Kyung Kim.59:40
Unfair challenge on Luke Varney by Bo-Kyung Kim results in a free kick. Aidan White delivers the ball from the free kick left-footed from left wing.59:09
Foul by Rodolph Austin on Bo-Kyung Kim, free kick awarded. Direct free kick taken by Peter Whittingham.55:00
Ben Turner fouled by Ross McCormack, the ref awards a free kick. David Marshall restarts play with the free kick.54:54
Ross Barkley sends in a cross, Ben Turner makes a clearance.54:22
Centre by Craig Conway, Tom Lees manages to make a clearance.53:41
Shot from close range by Tommy Smith misses to the right of the target.52:01
Craig Conway gives away a free kick for an unfair challenge on Michael Brown. Direct free kick taken by Lee Peltier.47:25
Corner taken right-footed by El-Hadji Diouf, Michael Brown produces a right-footed shot from just outside the box that misses to the right of the target.47:04
El-Hadji Diouf produces a cross, Aron Gunnarsson makes a clearance.46:34
Corner taken right-footed by El-Hadji Diouf from the right by-line to the near post, clearance made by Aron Gunnarsson.46:04
Free kick awarded for an unfair challenge on Luke Varney by Matthew Connolly. El-Hadji Diouf crosses the ball from the free kick right-footed from left wing, Mark Hudson gets a block in.45:17
Bo-Kyung Kim fouled by Samuel Byram, the ref awards a free kick. Free kick crossed left-footed by Peter Whittingham, clearance made by Rodolph Austin.45:01
The second half kicks off.45:00 +0:57 Half time
Half Time The ref blows to signal half-time.45:00 +0:57
Peter Whittingham crosses the ball, Tom Lees makes a clearance.45:00 +0:23
Inswinging corner taken right-footed by Craig Bellamy, Rodolph Austin makes a clearance.44:46
Peter Whittingham takes the inswinging corner, Lee Peltier manages to make a clearance.42:53
A cross is delivered by Craig Conway. Craig Bellamy is caught offside. Patrick Kenny takes the free kick.41:35
The ball is crossed by Aidan White.40:46
Craig Conway produces a left-footed shot from outside the penalty area and misses left.40:22
Foul by Michael Brown on Bo-Kyung Kim, free kick awarded. Bo-Kyung Kim restarts play with the free kick.38:01
Shot by Rodolph Austin from 35 yards. Ben Turner gets a block in. Ross Barkley has an effort at goal from just outside the box which goes wide of the right-hand upright.37:15
The ball is delivered by El-Hadji Diouf.36:19
Centre by Ben Turner, Tom Lees makes a clearance.35:14
Corner taken left-footed by Peter Whittingham, save by Patrick Kenny.33:18
Ross McCormack fouled by Matthew Connolly, the ref awards a free kick. El-Hadji Diouf produces a cross, Ross Barkley takes a shot from 6 yards. David Marshall makes a save.33:06
Ben Turner concedes a free kick for a foul on Ross McCormack. Michael Brown takes the free kick.31:51
Unfair challenge on Craig Conway by Aidan White results in a free kick. Free kick taken by David Marshall.30:58
Free kick awarded for an unfair challenge on Ross McCormack by Mark Hudson. Free kick crossed right-footed by El-Hadji Diouf from left channel, Mark Hudson manages to make a clearance.30:39
Lee Peltier concedes a free kick for a foul on Craig Bellamy. Peter Whittingham takes the direct free kick.28:41
Free kick awarded for a foul by Ben Turner on El-Hadji Diouf. Free kick crossed by Tom Lees, Mark Hudson makes a clearance.26:02
Craig Conway delivers the ball, Headed effort from inside the area by Ben Turner misses to the left of the target.24:38
Unfair challenge on Aidan White by Craig Conway results in a free kick. Lee Peltier restarts play with the free kick.23:53
El-Hadji Diouf takes a inswinging corner from the left by-line to the near post, Peter Whittingham manages to make a clearance.22:44
El-Hadji Diouf takes the indirect free kick. Ross McCormack produces a drilled right-footed shot from 18 yards. Ben Turner gets a block in.22:44 Booking
Booking Craig Bellamy is shown a yellow card.22:23 Booking
Booking David Marshall receives a yellow card.21:32
Samuel Byram sends in a cross.21:25
The ball is sent over by Samuel Byram, clearance made by Mark Hudson.20:22
Lee Peltier gives away a free kick for an unfair challenge on Aron Gunnarsson. The free kick is swung in right-footed by Craig Bellamy, Luke Varney makes a clearance.19:55
El-Hadji Diouf crosses the ball, David Marshall makes a comfortable save.19:47
Michael Brown crosses the ball.19:04
Ben Turner gives away a free kick for an unfair challenge on El-Hadji Diouf. Lee Peltier crosses the ball in from the free kick.18:37
Rodolph Austin sends in a cross.16:18
A cross is delivered by Ross McCormack, comfortable save by David Marshall.15:34
Outswinging corner taken from the right by-line by El-Hadji Diouf.14:40
The referee blows for offside against Craig Bellamy. Patrick Kenny takes the free kick.13:54
Direct free kick taken by Peter Whittingham.13:54 Booking
Booking Rodolph Austin shown a yellow card.13:50
Unfair challenge on Aron Gunnarsson by Rodolph Austin results in a free kick.12:40
Craig Bellamy is flagged offside by the assistant referee. Free kick taken by Patrick Kenny.10:34
Ross Barkley sends in a cross.7:53
Corner taken right-footed by El-Hadji Diouf from the right by-line, Ben Turner manages to make a clearance.5:16
Craig Bellamy is ruled offside. Patrick Kenny takes the indirect free kick.4:07
Effort on goal by Luke Varney from inside the penalty box misses to the right of the target.1:21
Foul by Michael Brown on Aron Gunnarsson, free kick awarded. Direct free kick taken by Mark Hudson.1:01
The ball is delivered by Peter Whittingham.0:23
Short corner worked by Peter Whittingham.0:00
The game begins.
Live data and text provided by our data suppliers