2 personman Jan 09, 2006 15:30

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
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).
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!
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.
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
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?
You should be able to add something like this to your stylesheet:
img {
border: 1px solid #777;
padding: 2px;
}