Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

  1.  permalink
    Here's code from a simple page that I built. It's just a table with a small bit of content on it.

    I have set the height of the td in the second row to 200px and set the td propertt to overflow. However the text doesn't overflow?

    Does anyone know a solution. Here's the code:

    css:

    <style type = "text/css">
    .text{
    overflow:auto;
    height:200px;
    width:400px;
    }
    </style>

    html:

    <table border = "1">

    <tr>
    <td width="100px" height"50px">a</td>
    <td width="300px" height="50px">b</td>
    </tr>

    <tr>
    <td colspan = "2" width = "400px" height = "200px" class="text">

    Serena Williams destroyed Russian top seed Maria Sharapova 6-1 6-2 in the Australian Open final on Saturday to clinch her eighth grand slam title.

    Unseeded after a year plagued by injury and dismissed by many as merely a dangerous floater at the start of the tournament, the American made a mockery of the rankings by tearing the US Open champion apart in just 63 minutes on Rod Laver Arena.

    Sharapova, who will be world number one next week, became the sixth seed to fall to the 25-year-old Williams, who greeted her success by rolling on to her back and punching the air with delight.


    'I would like to dedicate this win to my sister Yetunde,' she's not here but I love her very much,' said a tearful Williams whose sister was shot dead in Los Angeles in 2003.

    'I said if I won this it would be for her,' she added after receiving the trophy for the third time.

    Williams, 2003 and 2005 Australian Open champion, posted her intent by sealing the opening game with an ace and she broke the Sharapova serve immediately when the Russian netted a loose forehand.

    The American then held to love and the warnings signs were there for a Sharapova collapse when she lost her own serve to love to trail 4-0.

    Sharapova at least carved out a break point in the next game before Williams extended her lead to 5-0 and the 2004 Wimbledon champion finally stopped the rot when she held to love to make it 5-1.

    The first rally of that game saw Williams at her fired-up best, appearing to mouth 'You'll pay for that' after Sharapova blasted a smash into the world number 81's body.

    Pay for it she did with another service break at the start of the second set as her hopes of becoming her country's first women's Australian Open champion disappeared in a blaze of stunning Williams strokes.

    Another unforced error gave Williams the double break at 3-0 and even though Sharapova held for 4-1 and 5-2, nothing could stop Williams becoming the second unseeded woman in the professional era to lift the title following Chris O'Neill's success in 1978.

    'You can never under-estimate her, not many people expected her to reach the final but I did, she's an amazing champion,' said Sharapova after her first defeat in a grand slam final.

    'I look forward to playing here many more times and winning a few more games I hope.'

    Sharapova was gracious in defeat, acknowledging: 'She played flawless tennis. I was trying to find ways to get into the match but I wasn't able to do it.

    'She was serving big and was pretty consistent. We played some good tennis, but didn't have many long rallies because she was aggressive with all her shots, going for them and making most of them.'

    The US Open champion continued to struggle with her serve as she had done throughout the tournament.

    'My serving percentage was not good enough,' the world number one elect said. 'It was a matter of serving well and returning well and I didn't think I did either today.'

    The 19-year-old Sharapova said she was not surprised by the performance the unseeded Williams produced to win her eighth grand slam title.

    'I expected her to play well, she's won six matches here and she had no reason not to be confident. Her first serve is consistently the biggest in the game. It's definitely her biggest weapon.'

    Sharapova, who came within two points of defeat in her first-round match against unseeded Frenchwoman Camille Pin in sweltering conditions, tried to sound upbeat after losing a grand slam final for the first time.

    'I don't like losing, it's not fun but these moments make you stronger,' she said. 'It's definitely not the end of the world, I got to the final of a grand slam and I have a lot to be proud of.'

    </td>
    </tr>

    </table>
  2.  permalink
    you have to use a div to make of use the overflow function
    so:
    <td>
    <div class="text">
    your content
    </div>
    </td>
Add your comments
    Username Password
  • Format comments as (Help)