dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: Question about the * border 0 in CSS

Hybrid View

  1. #1
    Join Date
    Oct 2010
    Posts
    17

    Question about the * border 0 in CSS

    If i use * {border:0;} in the CSS, will it work on all images as well? I don't want to waste my time putting a border="" in every image if this works. I only ask because i never tried it and i am curious...

    Thanks in advance!!

  2. #2
    Join Date
    Jan 2004
    Location
    chertsey, a small town s.w. of london, england.
    Posts
    1,478
    Hi there unstable_nes,

    the CSS universal selector will apply border:0 to all elements.

    Further reading:-

    coothead

  3. #3
    Join Date
    Oct 2010
    Posts
    18
    if you don't want borders on images why not just target img{border:0;} instead of using the universal selector?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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



Recent Articles