Recent Topics

1 Jan 09, 2006 04:13    

Hi All,

Is their any way of creating image borders like the one found here.

http://singularitygroup.blogspot.com/

2 Jan 09, 2006 15:30

You should be able to add something like this to your stylesheet:

img {
border: 1px solid #777;
padding: 2px;
}

3 Jan 10, 2006 03:28

Hi,

Excellent work, thank you very much :D . It looks good now, but, it seems to have added borders to all picyures even for example the edit icon or the flag symbol. No big deal though. Thanks again.

Regards

Digit

4 Jan 10, 2006 03:58

You can limit where it is applied like this:
#main img {
border: 1px solid #777;
padding: 2px;
}
That would work if you had a <div id="main"></div> wrapped around all of the content where you want this to apply (e.g., all of the blog posts).

5 Jan 15, 2006 18:12

This is jolly useful -thanks.

A further query - can I modify the code so that when I press the IMG button to insert an image it comes up ready formatted as I like it -
<div align="center><img width="35%" ...></div>

I've hunted around but I'm guessing this is to be found in evocore rather than the skins (which I'm quite happy to mess with), and I'm not quite ready to mess with that core voodoo without some advice.

Thanks!

6 Jan 15, 2006 18:20

The toolbar is actually a plugin and the file is in the plugins folder. So, you wouldn't technically be editing a core file. I would still make a backup of the toolbar plugin file before editing it. But you should be able to edit it without breaking anything.

7 Jan 15, 2006 18:34

Thanks personman, I found it right away. Now I've got to plough through all the code and make sense of it! Should be no trouble now I have it. Your quick answer was appreciated. :D

8 Feb 12, 2006 03:03

personman wrote:

You can limit where it is applied like this:
#main img {
border: 1px solid #777;
padding: 2px;
}
That would work if you had a wrapped around all of the content where you want this to apply (e.g., all of the blog posts).

I add it both to mystyle.css in one of my skins and to rsc/img.css and wrap post-content with <div id="main"></div>. I was given error:
Tag div may not have attribute id. What did I do wrong?


Form is loading...