5 replies
  • WEB DESIGN
  • |
I use that as part of my reset line at the start of each css file but it wipes out the border for any good old fashioned tables that I need to use.

Putting this in the head right after the style sheet info doesn't work.
<style type="text/css">{border-style:solid;}</style>

What I would really like is something like border:auto; but that doesn't exist.

When I take the border:0; out of the style sheet, I get weird purple borders around any image that is also a link, and that can be difficult to get rid of. If I remember right, if the image was in a table cell I couldn't get rid of it.

So I just ran into the problem with another page and I thought I'd come over here and beg for help.

I wouldn't be surprised if there was a simple solution, but I don't know about it.
#border0 #problem
  • Profile picture of the author Justinfm
    By default there is a border for images that are url's. You can take out that border only by using img {border:0;}. I guess I'm not understanding why you are trying to set the border to 0 for everything in the first place.
    Signature

    2 hours + $50 = 1 full 40 hour work week - http://www.MultiProfitability.com
    How does that work? With Cloning of course. Watch the free videos at the url above.

    {{ DiscussionBoard.errors[2172473].message }}
  • Profile picture of the author Manfred Ekblad
    Originally Posted by Lloyd Buchinski View Post

    When I take the border:0; out of the style sheet, I get weird purple borders around any image that is also a link, and that can be difficult to get rid of. If I remember right, if the image was in a table cell I couldn't get rid of it.
    Not sure if I understood all of your problems, but that one is easy to fix:

    WWW FAQs: How do I remove the blue border around my image?
    {{ DiscussionBoard.errors[2172485].message }}
    • Profile picture of the author Lloyd Buchinski
      Originally Posted by Justinfm View Post

      img {border:0;}
      I think that should do it, as long as it works when the pic is linked too. Will run off and try it.

      The reason I was using *{border:0;} was because it was easy to overrule when I did want a border, but with tables I couldn't overrule it.

      Neat info on that page too. Sorted a bit out for me.

      That was a couple of fast answers. I'm starting to like this place
      Signature

      Do something spectacular; be fulfilled. Then you can be your own hero. Prem Rawat

      The KimW WSO

      {{ DiscussionBoard.errors[2172596].message }}
  • Profile picture of the author Michael W
    Hey Lloyd, reset sheets are great

    Use this, i crafted and placed all the nessasary and most common elements into the reset.

    * {margin:0px; padding:0px; border:0px}

    The * works as a reset Hope this helps.
    Signature
    BBRiches - $2,884.41 in 4 weeks!
    (Excel Revenue Forecasts Spreadsheets & More)
    > PM for more details (Limited spots) <

    Realistic Earnings, No Bullsh*t
    {{ DiscussionBoard.errors[2173011].message }}
  • Profile picture of the author HomeBizNizz
    Originally Posted by Lloyd Buchinski View Post

    Putting this in the head right after the style sheet info doesn't work.
    <style type="text/css">{border-style:solid;}</style>
    You need the size and color too.
    1px solid colorname;
    {{ DiscussionBoard.errors[2173037].message }}

Trending Topics