Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Member jagstangman's Avatar
    Join Date
    Jul 2005
    Posts
    31
    Member #
    10690
    Hi, i was wondering how to get rid of that blue annoying border that appears around linked images when using valid XHTML coding.

    I tried the border="0" attribute but when i try to validate the code it says i can't use this attribute with XHTML strict.

    The answer is probably simple but im new to all this valid XHTML stuff, i never tried designing a valid site until recently so im still trying to get to grips with 'Valid' XHTML code. I think ive grasped most of it now but this is something i still can't figure out how to do.

    Would one solution be to use CSS and border: 0px;?
    ----------
    Steve

  2.  

  3. #2
    Member jagstangman's Avatar
    Join Date
    Jul 2005
    Posts
    31
    Member #
    10690
    its ok i sorted it
    ----------
    Steve

  4. #3
    Senior Member
    Join Date
    May 2005
    Location
    Essex, United Kingdom
    Posts
    200
    Member #
    10131
    hi i know you have sorted it but i was wondering whether you was specifying border:0 on all of your images. You can make it much easier and less code by specifying img {border:0} in your main css file. Hope this helps and if not it may help someone else.

  5. #4
    Member jagstangman's Avatar
    Join Date
    Jul 2005
    Posts
    31
    Member #
    10690
    there were only two images on the site with the blue borders on, the valid XHTML and CSS buttons. Though thanks for that tip i might put that bit of code in the main css file anyways.
    ----------
    Steve


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 03:16 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com