+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Help - CSS

  1. #1
    ZeptOr's Avatar
    ZeptOr is offline x10 Sophmore ZeptOr is an unknown quantity at this point
    Join Date
    Sep 2005
    Posts
    221

    Help - CSS

    alright I have some rounded corners using css and javascript, but something weird is wrong with them that I can't figure out

    http://greenear.x10hosting.com/Main/index4.html

    if you look closely, the boxes with the text in it, for example, "Quote of the week", have a thin blue border around the rounded corners. Why is that there?

  2. #2
    Zenax's Avatar
    Zenax is offline Lord Of The Keys Zenax is an unknown quantity at this point
    Join Date
    Jul 2006
    Location
    The Brilliant United Kingdom
    Posts
    1,339

    Re: Help - CSS

    OK, it seems that you have a border around the boxes.

    Look around in your CSS files to see if you can find stuff relating to borders, and see if that changes.

    If not, then I am stumped!
    Regards,
    Zenax

  3. #3
    Colin's Avatar
    Colin is offline x10 Elder Colin is an unknown quantity at this point
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    992

    Re: Help - CSS

    As zenax said you have borders set around the box element or whatever it is for your corners. If you don't know what to change post the code here and I or someone else can fix it for you.
    Xbox Live Gamertag: hyperphoenix89
    --- + Current + ---

    --- + Current #2 + ---

  4. #4
    Cubeform is offline x10 Lieutenant Cubeform is an unknown quantity at this point
    Join Date
    Aug 2006
    Location
    127.0.0.1
    Posts
    339

    Re: Help - CSS

    I found the culprit!

    When using the excellent Web Developer extension for Firefox, I found this interesting piece of code:



    Take a look at the "bgcolor" attribute. Remove it, and your border thing will disappear. Check if the other boxes have a "bgcolor" attribute in it as well. Remove them.

    Also, I found bundles of deprecated HTML (like the bgcolor attribute). Perhaps you should consider using CSS to duplicate that instead.

    (Another thing is, Why are you using the Book Antiqua font? It's an exact replica of Palatino. ;))
    Last edited by Cubeform; 11-06-2006 at 05:59 PM.

  5. #5
    Fedlerner's Avatar
    Fedlerner is offline Retired Fedlerner is an unknown quantity at this point
    Join Date
    Aug 2006
    Location
    Buenos Aires, Argentina
    Posts
    12,923

    Re: Help - CSS

    Quote Originally Posted by Cubeform
    When using the excellent Web Developer extension for Firefox, I found this interesting piece of code
    Which Firefox extension are you using???
    Federico Lerner
    Former x10Hosting Administrator - Staff Manager

  6. #6
    Cubeform is offline x10 Lieutenant Cubeform is an unknown quantity at this point
    Join Date
    Aug 2006
    Location
    127.0.0.1
    Posts
    339

    Re: Help - CSS

    Quote Originally Posted by fedlerner
    Which Firefox extension are you using???
    This one.

  7. #7
    ZeptOr's Avatar
    ZeptOr is offline x10 Sophmore ZeptOr is an unknown quantity at this point
    Join Date
    Sep 2005
    Posts
    221

    Re: Help - CSS

    thanks a lot

    I got another question, I am trying to get rid of the space between the top of my site and the top of my header, and also the space between the bottom of my site and my footer. How do you do that?

  8. #8
    mattyranks's Avatar
    mattyranks is offline x10 Sophmore mattyranks is an unknown quantity at this point
    Join Date
    Oct 2006
    Posts
    156

    Re: Help - CSS

    what space are you talking about?

    do you mean the grey part at the top?

  9. #9
    Zenax's Avatar
    Zenax is offline Lord Of The Keys Zenax is an unknown quantity at this point
    Join Date
    Jul 2006
    Location
    The Brilliant United Kingdom
    Posts
    1,339

    Re: Help - CSS

    Simply set the margins on the body to 0

    Code:
    body
    {
    margin: 0px;
    padding: 0px;
    }
    Last edited by Zenax; 11-07-2006 at 05:07 AM.
    Regards,
    Zenax

  10. #10
    ZeptOr's Avatar
    ZeptOr is offline x10 Sophmore ZeptOr is an unknown quantity at this point
    Join Date
    Sep 2005
    Posts
    221

    Re: Help - CSS

    Thanks Zenax

    One more question. For those of you with both firefox and IE, try viewing my website using both. I added a drop shadow PNG to the sides of my site. Firefox displays it perfectly, but IE does not. I realize that this is because IE does not display transparency with PNG, but it does with gif, The only problem is that I can't save a transparent gradient image in gif. How do I get the drop shadow to work properly in IE?
    Last edited by ZeptOr; 11-07-2006 at 07:50 PM.

+ Reply to Thread
Page 1 of 2 12 LastLast

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