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 7 of 7
Like Tree1Likes
  • 1 Post By breno

Thread: Borders have disappeared (for some reason)

  1. #1
    Member Sasseke's Avatar
    Join Date
    Oct 2014
    Location
    Groningen, Netherlands
    Posts
    45
    Member #
    40386
    Liked
    2 times

    Borders have disappeared (for some reason)

    Hi
    I have made a class in CSS called 'border' (in Stylesheet.css) and the code is:
    Code:
    .border
    {
    border:3px double #262626;
    }
    In some of the html files I have added class 'border' (class="border margin left").
    Some examples:
    Code:
    <div class="pasfoto border">
    <img src="images/pasfoto.jpg" /><br>
    "Love your curves and all your edges"
    </div>
    and
    Code:
    <img src="images/buikdans2.jpg" class="fotorechts border" />
    At first, all (those) borders appeared around the images which I gave this class, like they should.
    But now, for some reason, they don't appear again in the site (neither online, nor offline).
    I have looked through the syntax but it all seems to be alright.

    I don't know what is (seems to be) the problem so I hope any of you can help me out.
    Sincerely
    Sass

  2.  

  3. #2
    Member Sasseke's Avatar
    Join Date
    Oct 2014
    Location
    Groningen, Netherlands
    Posts
    45
    Member #
    40386
    Liked
    2 times
    This is the URL of the website:
    Goddess Fusion Bellydance

    Sincerely
    Sass

  4. #3
    Senior Member breno's Avatar
    Join Date
    Feb 2015
    Location
    Australia
    Posts
    138
    Member #
    41574
    Liked
    29 times
    In your markup the class name is "pasfoto border"
    But in your css your selecting .border - change .border to .pasfoto border

  5. #4
    Member Sasseke's Avatar
    Join Date
    Oct 2014
    Location
    Groningen, Netherlands
    Posts
    45
    Member #
    40386
    Liked
    2 times
    What about multiple classes?
    I have different classes, and on some items (like those shown) I put multiple classes.
    At first it worked.

    And how about this (on this page):
    #galerij img
    {
    width:80%;
    height:80%;
    border:3px double #262626;
    }


    #galerij is a table, with images nested inside it (in the <td>..</td>).
    Here there is no border as well..
    Sincerely
    Sass

  6. #5
    Senior Member breno's Avatar
    Join Date
    Feb 2015
    Location
    Australia
    Posts
    138
    Member #
    41574
    Liked
    29 times
    Quote Originally Posted by Sasseke View Post
    What about multiple classes?
    I have different classes, and on some items (like those shown) I put multiple classes.
    At first it worked.

    And how about this (on this page):
    #galerij img
    {
    width:80%;
    height:80%;
    border:3px double #262626;
    }


    #galerij is a table, with images nested inside it (in the <td>..</td>).
    Here there is no border as well..
    Sincerely
    Sass
    Well, looking at your hex colour value it's a pretty dark grey and you have a black background so i looked closer on my screen and the border is actually displaying, you can JUST see it haha Nothing wrong with your code
    TheGAME1264 likes this.

  7. #6
    Member Sasseke's Avatar
    Join Date
    Oct 2014
    Location
    Groningen, Netherlands
    Posts
    45
    Member #
    40386
    Liked
    2 times
    Problem solved!
    TYVM
    Sincerely
    Sass

  8. #7
    Junior Member
    Join Date
    Feb 2015
    Posts
    1
    Member #
    42045
    Your welcome, have fun


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 11:16 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com