Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter ayteale

    (@ayteale)

    Thanks nsx…I have added a 1px white border and a 1px black border outside of it to my photos, can I do those two borders with the .center? But if not, I should change my index.php to reflect center2 and delete center? And with the others you said I can delete, if deleted will it speed up the load time of my page? Is that how css works, somewhat? (remember this is all new to me) Thanks man!

    Yes, you can edit .center class to add 1px whote and 1px black borders:
    .center {
    border: 1px solid #000;
    background: #FFF;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 1px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    text-align: center;
    }
    .center2 {
    border: none;
    background: #FFF;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 1px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    text-align: center;
    }

    You don’t have to edit your index.php, just the few entries that you have right now to use .center2 class instead (since they already have a border around them).
    Yes, it will speed up the load of your page since your stylesheet will be smaller in size … but the speed increase will be VERY VERY VERY small 😉 So you wont notice it.

    Thread Starter ayteale

    (@ayteale)

    Thanks again man! I did it and I thik i will use it even though there seems to be a part on the already posted photos that have a somewhat transparent white border but in a few months i wont even have to look at those busters….Im just trying to take Mindful Musings advice here:
    http://mindfulmusings.net/weblog/2004/4/6/spend-more-time-writing-less-time-fidgeting-with-your-stupid-blog/
    But I am getting to be an addict of learning this crap too.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘My first photo blog’ is closed to new replies.