Results 1 to 4 of 4

Thread: Buttons Have Gone Crazy

  1. #1
    Join Date
    Apr 2006
    Posts
    584
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Buttons Have Gone Crazy

    Any ideas why the buttons on the following link have such big gaps around them top and bottom? http://www.curiousclothing.com/test/tours.htm

  2. #2
    Join Date
    Oct 2006
    Posts
    75
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    don't think this is avoidable, i have the same thing on my site, except i want it lol, try using an image map, as in that whole orange part is one image and different parts of the image define the buttons, don't ask for code lol, i have no idea how to do image maps, but this seems to be the best way to go

    edit: question....wats this do??

    Code:
    /* commented backslash hack for ie5mac \*/ 
    html, body{height:100%;} 
    /* end hack */

  3. #3
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    The strange code appears to resize the body to 100% height... of the screen, I guess.
    The backslash escapes the asterisk, so that the comment continues. I suppose it assumes that only ie5mac respects escaped asterisks in comments... odd.
    Really not sure why ie5mac doesn't need that code, nor why the page would need it.

    I could be wrong here, but I don't think that xml requires this:
    "id="but_8" img />"
    The slash at the end is what html requires, not a repeat of the tagname (img).
    Why are you using xml anyway? Just being around the forum shows that it's mostly annoying, not too compatible, and not worth it unless you're really using it for something that requires xml.

    Not sure about the images. The table uses 176 as the height for that cell, and each image is 22px high (8 images total), and that adds up.
    border="0" on all of them as well.
    Generally, I'd think there should be something between the images, either a <br> tag or a new cell. While it works like that, it could give undesireable effects in some ways.
    Aside from that, probably CSS.

    the-disturbed, no matter what is causing that, I'm sure there IS a way to do it with CSS.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  4. #4
    Join Date
    Apr 2006
    Posts
    584
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by the-disturbed
    don't think this is avoidable, i have the same thing on my site, except i want it lol, try using an image map, as in that whole orange part is one image and different parts of the image define the buttons, don't ask for code lol, i have no idea how to do image maps, but this seems to be the best way to go

    edit: question....wats this do??

    Code:
    /* commented backslash hack for ie5mac \*/ 
    html, body{height:100%;} 
    /* end hack */
    This is SO annoying I got this off SitePoint forums it's meant to be a fix so Internet Explorer centres an object, works fine but IE5 on mac! The image moves right off the page... If anyone has any ideas about that would be much appreciated!

Bookmarks

Posting Permissions

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