Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
I am currently in the process of building a website but have come up against a problem that I haven't been able to fix. When I create a piece of content and insert an image a border comes up around it.
Border only shows up when viewing the node. Border not seen when previewing the node.
This is the html code I used within the "body" part
<img src="http://realbiggaming.com/home/images/scores/border.gif" />
I also tried making it a link with border set at "0" and same border came up (but with image made as a link of course)
Thanks in advance!
Here is an example...
Comment | File | Size | Author |
---|---|---|---|
originalimage.gif | 8.02 KB | gomezsal | |
imagewithborder.PNG | 11.99 KB | gomezsal |
Comments
Comment #1
gomezsal CreditAttribution: gomezsal commentedNever mind. I did find what was causing the border issues on content pages.
For future reference it is under:
.node .content img
Comment #2
gomezsal CreditAttribution: gomezsal commentedComment #3
Jongetje CreditAttribution: Jongetje commentedHi there I've the same problem could you please tell me. How did you fix this problem thank you
Comment #4
Deepika.chavan CreditAttribution: Deepika.chavan commentedHi Jongetje,
Create custom css file say 'local.css' in 'bluemasters/.' directory.
Add following css code in local.css file to remove the border:
Add following code in bluemasters.info file after
stylesheets[all][] = style.css
.stylesheets[all][] = local.css
Please clear cached data.
HTH!!
Rgrds,
Deepika.
Comment #5
gtsopour CreditAttribution: gtsopour commentedI think that Deepika.chavan's comment answers to this support request. So I changed the issue status to "fixed". Thanks Jongetje and Deepika