Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Doing some HTML fixes. Could someone help me with the following??

Options
  • 03-01-2006 11:53pm
    #1
    Closed Accounts Posts: 12,382 ✭✭✭✭


    Hello,

    I hope someone can help me with the following!!

    I am doing some HTML fixes for the main page of Staff.ie.

    You can see the errors I'm having here -

    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.staff.ie%2F&charset=%28detect+automatically%29&doctype=Inline

    In summary -

    I shouldn't be using the "height" column in a table
    I shouldn't be using "background" in a table column (TD)
    I shouldn't be using "height" in a table row (TR)

    Does anyone know a way around this without converting the HTML to xhtml?

    Thank you!

    :D


Comments

  • Closed Accounts Posts: 4,655 ✭✭✭Ph3n0m


    100% heights dont work in all browsers, so forget about that idea

    as for background images in cells - use stylesheets


  • Registered Users Posts: 19,396 ✭✭✭✭Karoma


    "this is usually fixed by using CSS to achieve the desired effect instead"

    You can use CSS in conjuction with HTML..


    Learn CSS (You'll never go back) :D


  • Closed Accounts Posts: 12,382 ✭✭✭✭AARRRGH


    Thank you.

    Will look into it.


  • Closed Accounts Posts: 12,382 ✭✭✭✭AARRRGH


    OK, fixed it. Thank you for the pointers!


  • Registered Users Posts: 632 ✭✭✭ButtermilkJack


    Try this instead;
    <td style="background-image: url(Staffdesign_files/bgGs.gif);" height="100">


    Or, add this to your css stylesheet...
    .cellstyle1 {
    background-image: url(Staffdesign_files/bgGs.gif);
    height: 100px;
    }

    And then change your <td> to this...
    <td class="cellstyle1">

    EDIT: 2 minutes too late :D


  • Advertisement
  • Closed Accounts Posts: 12,382 ✭✭✭✭AARRRGH


    Yes, sorry, but thank you for trying to help :)


  • Subscribers Posts: 9,716 ✭✭✭CuLT


    Oh my God you bought cult.ie.

    I hate you :(


  • Closed Accounts Posts: 12,382 ✭✭✭✭AARRRGH


    Hey, don't blame me, you've been using the username since 2001... What exactly were you waiting for???


  • Closed Accounts Posts: 7,145 ✭✭✭DonkeyStyle \o/


    dublindude wrote:
    Hey, don't blame me, you've been using the username since 2001... What exactly were you waiting for???
    ... for someone to register it so he'd have something to moan about :rolleyes:


  • Subscribers Posts: 9,716 ✭✭✭CuLT


    :v:

    Yeah, my life's been a smooth ride up until this point.

    dublindude: inspiration ;)


  • Advertisement
Advertisement