absmiddle - is there something else I can use?

Discussion in 'HTML & Website Design' started by skbytes, Dec 31, 2009.

  1. #1
    Hi Guys,
    I'm having problem with the appearance of my website, since changing to a new hosting server. Not sure whats happened but if you look at my website zarpie.com you'll see images are behind the text links when they should be to the side.

    Is there anyone who can explain whats happened, the code below is an example of my HTML, but it does not explain why my old hosting server my web page looked okay but now on my new web hosting page they look off.... is something to do with the webhost? Is there any HTML which will work with any host?

    <li><img src="{url_tmpl_main}
    img/camera.png" class="png_behavior" align="absmiddle" alt=""> <a href="{url_main}profile_photo.php" style="font-weight: normal">{l_your_photos2}</a></li>
     
    skbytes, Dec 31, 2009 IP
  2. jwitt98

    jwitt98 Peon

    Messages:
    145
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #2
    It looks OK to me in FF and IE8. What browser are you using?
     
    jwitt98, Dec 31, 2009 IP
  3. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #3
    Well... first, align is a presentational attribute - so you shouldn't even be using that anymore... just as you probably shouldn't be using a style attribute either.

    But that site has problems from top to bottom - tables for layout, absurdly undersized fixed metric fonts, AJAX for nothing, and 175 validation errors meaning it's not even HTML, it's gibberish. I see DIV and paragraph around what is obviously a menu (aka a list of choices... list? Hey, don't we have tags for that) while at the same time having lists around elements that are unrelated...

    You've got a heck of a lot more to fix there than that one element - which looks ok here, though I suspect one of your CSS files either isn't loading or is missing.
     
    deathshadow, Jan 1, 2010 IP
  4. skbytes

    skbytes Peon

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Hi Guys, sorry forgot to update the thread... I had a PM message yesterday on how to change absmiddle to style="vertical-align:middle" on my front page and it worked a dream.

    Hey, deathshadow maybe I need you to do some fixing.... there are alot of problems with the website, which I am trying to fix... but thanks for the advice and the hints.
     
    skbytes, Jan 1, 2010 IP