Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2005
    Location
    Belgium
    Posts
    2,492
    Tokens
    147

    Latest Awards:

    Default other way to do border="0px' on an image ?

    Okay, so I'm coding 2nd-Design v2.0

    I'm all done now appart from 3 small icons I have put a test link (#) on.

    I want it to be Valid XHTML 1.0 Strict! (which is not the normal thing most use)
    So as it's xhtml STRICT when placing an image:

    <a href="#"><img src="link" alt="imagename" border="0" /></a>

    the border="0" is not allowed in xhtml strict.

    my css already has

    text-decoration: none;
    border: 0px;

    is there any other way to do this ? becouse in Safari (mac) it's fine but Firefox has that blue/purple border arround it.

  2. #2
    Join Date
    Dec 2006
    Location
    Swindon
    Posts
    3,299
    Tokens
    215
    Habbo
    dunko

    Latest Awards:

    Default

    Quote Originally Posted by [oli] View Post
    Okay, so I'm coding 2nd-Design v2.0

    I'm all done now appart from 3 small icons I have put a test link (#) on.

    I want it to be Valid XHTML 1.0 Strict! (which is not the normal thing most use)
    So as it's xhtml STRICT when placing an image:

    <a href="#"><img src="link" alt="imagename" border="0" /></a>

    the border="0" is not allowed in xhtml strict.

    my css already has

    text-decoration: none;
    border: 0px;

    is there any other way to do this ? becouse in Safari (mac) it's fine but Firefox has that blue/purple border arround it.
    #no_border
    {
    border: 0;
    }

    <a href="#"><img src="link" alt="imagename" id="no_border" /></a>

  3. #3
    Join Date
    May 2006
    Posts
    1,797
    Tokens
    0

    Latest Awards:

    Default

    Id just do..

    HTML Code:
    <style type="text/css">
    <!--
    img{border:0px;}
    -->
    </style>
    Coming and going...
    Highers are getting the better of me

  4. #4
    Join Date
    Jul 2005
    Location
    Belgium
    Posts
    2,492
    Tokens
    147

    Latest Awards:

    Default

    Okay, I'll see what I can do.

    Thanks both of you
    +rep

    edit= sorry craigg must spread

  5. #5
    Join Date
    May 2006
    Posts
    1,797
    Tokens
    0

    Latest Awards:

    Default

    no problem oli
    Coming and going...
    Highers are getting the better of me

  6. #6
    Join Date
    Dec 2006
    Location
    Swindon
    Posts
    3,299
    Tokens
    215
    Habbo
    dunko

    Latest Awards:

    Default

    thanks for the rep

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •