+ Reply to Thread
Results 1 to 10 of 10

Thread: html rounded borders and IE

  1. #1
    Ixonal is offline x10Hosting Member Ixonal is an unknown quantity at this point
    Join Date
    Sep 2008
    Posts
    29

    html rounded borders and IE

    hokay, so
    ixonal.elementfx.com
    all them rounded boxes, they're divs containing 9x9 tables for the rounded edges. Works just fine in firefox, but IE is givin me a couple problems with it.

    1. it appears there is 2px of space between every cell in the table, causing backgrounds to repeat when I don't want them to.

    2. They resize very slowly

    The main problem I want fixed right now is the spacing issue. I've tried several things including setting cellpadding and cellspacing to 0, setting border-collapse to collapse, even setting border-spacing to 0px 0px

  2. #2
    dickey's Avatar
    dickey is offline x10 Sophmore dickey is an unknown quantity at this point
    Join Date
    Sep 2008
    Location
    Singapore
    Posts
    128

    Re: html rounded borders and IE

    check your div css
    put
    HTML Code:
    padding: 0;
    margin:0;
    in the div containing the 9x9 tables.
    also you can try -1px as value for padding and margin.
    if you can provide the link to your website or your css and / or html
    or even just the part that troubles you, I might be able to help.

  3. #3
    Ixonal is offline x10Hosting Member Ixonal is an unknown quantity at this point
    Join Date
    Sep 2008
    Posts
    29

    Re: html rounded borders and IE

    Site
    Javascript file

    I'm pretty sure the padding on the div isn't the problem, as the 2px in question is between each table cell, not around the edges

  4. #4
    leafypiggy's Avatar
    leafypiggy is offline Community Advocate leafypiggy is on a distinguished road
    Join Date
    Aug 2007
    Location
    Massachusetts
    Posts
    2,228

    Re: html rounded borders and IE

    ok...ummm

    question..

    why in gods name would you EVER code a site in javascript????

    its great that you know it... but it really was a waste of effort do do that...

    i mean, the cool effect on page load with the tables. sure.. but the rest of the site should be done in HTML/css.

    it just makes more sense.

    plus, unless someone is a JS genuis, they won't be able to help you..

    Just my two cents.

    and btw. Dickey,

    you can't use negative values in padding statements
    Last edited by leafypiggy; 10-09-2008 at 07:04 PM.
    Neil Hanlon | x10Hosting Support Representative
    Neil[at]x10hosting.com
    █ I'm always happy to help. Just ask a question in Free Hosting
    Terms of Service IRC

  5. #5
    natsuki's Avatar
    natsuki is offline x10 Sophmore natsuki is an unknown quantity at this point
    Join Date
    Sep 2008
    Posts
    112

    Re: html rounded borders and IE

    he needed to code the bubble part in javascript else it won't work because of the timer thing.
    that IE is really annoying that's why I don't use it! It doesn't conform well to w3c standards and there's lotsa bugs..

    have you tried using divs all throughout instead of tables? I really dun have any idea what is wrong with IE... i'll check it out in ie too

  6. #6
    Ixonal is offline x10Hosting Member Ixonal is an unknown quantity at this point
    Join Date
    Sep 2008
    Posts
    29

    Re: html rounded borders and IE

    leafypiggy, no negative comments, please

    as for using IE, I usually don't, but many people do. I like to know how to make my sites compatible.

    I've seen other methods of making rounded edges, but my problem is that I need the 9 cells. the graphics for the bubble make it so they have a border of a color different from the foreground and background

    one thing I'm sure of is that this is not a javascript issue, this is a html/css issue

  7. #7
    leafypiggy's Avatar
    leafypiggy is offline Community Advocate leafypiggy is on a distinguished road
    Join Date
    Aug 2007
    Location
    Massachusetts
    Posts
    2,228

    Re: html rounded borders and IE

    i did say that he needed it for that. but the whole site? thats just stupid.

    Quote Originally Posted by me... two posts up
    i mean, the cool effect on page load with the tables. sure
    Neil Hanlon | x10Hosting Support Representative
    Neil[at]x10hosting.com
    █ I'm always happy to help. Just ask a question in Free Hosting
    Terms of Service IRC

  8. #8
    xmakina's Avatar
    xmakina is offline x10 Lieutenant xmakina is an unknown quantity at this point
    Join Date
    May 2008
    Location
    England
    Posts
    265

    Re: html rounded borders and IE

    leafpiggy - save it for the "Review My Site" section :P
    IF($this->$post.content() == "SEE SIG"){
    w3Schools and Google
    }

  9. #9
    driveflexfuel is offline x10 Sophmore driveflexfuel is an unknown quantity at this point
    Join Date
    Jul 2008
    Posts
    159

    Re: html rounded borders and IE

    I did not feel like reading through all your coding so try the following. One of my first sites was designed similar to the way yours is. I ran in to the same errors in IE.

    There are a couple things to try

    1. Make sure image border= 0

    2. Make the cols and rows 2px larger then the image and use valign and align to the corner. IE sometimes needs more room for images.

    3. Place   in the blank fields. It sounds pointless but sometimes fixes small errors in tables in IE without harming the visuals in other browsers.

    I hope one of these helps you out

  10. #10
    Ixonal is offline x10Hosting Member Ixonal is an unknown quantity at this point
    Join Date
    Sep 2008
    Posts
    29

    Re: html rounded borders and IE

    images already had border set to 0, making the cells containing images 2px larger would have the same negative effects on the top, left, right, and bottom middle cells, since those use a background image and I don't want it to repeat. as for the non-blank space, it just made things worse in IE

+ Reply to Thread

Similar Threads

  1. Internet borders
    By Zangetsu in forum Crossfire
    Replies: 7
    Last Post: 06-20-2008, 10:36 AM
  2. Create Rounded forms in html
    By anuj_web in forum Programming Help
    Replies: 9
    Last Post: 04-12-2008, 07:06 AM
  3. [PS] Making Simple Borders
    By moose in forum Tutorials
    Replies: 0
    Last Post: 03-22-2006, 08:20 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers