Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

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

  • 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, Registered Users 2 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, Registered Users 2 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,144 ✭✭✭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