Post by cc8621 » Mon Jan 05, 2015 1:07 pm

When I click the "code view", it displays an HTML view, but when I try to edit the html, certain things don't show up. For example, in putting a border on an image, I should be able to just add border="1" or however many pixels I want the border to be, in order to add a border to the image. But when I do that, no border shows up on the website.

Can someone help?

Newbie

Posts

Joined
Mon Dec 15, 2014 7:57 am

Post by opencarthow.com » Mon Jan 05, 2015 5:59 pm

cc8621 wrote:When I click the "code view", it displays an HTML view, but when I try to edit the html, certain things don't show up. For example, in putting a border on an image, I should be able to just add border="1" or however many pixels I want the border to be, in order to add a border to the image. But when I do that, no border shows up on the website.

Can someone help?
You can try to add

Code: Select all

style="border: 1px solid #dedede;"
intead of

Code: Select all

border="1"
If you want to change color of the border, you can enter your color instead of #dedede,

Code: Select all

style="border: 1px solid black;"

Our free extensions:
Advanced Layout System, Display Raw Product Description in Product List, Minimum Order Amount Requirement, Add to Wish List Redirect for Anonymous Customer


User avatar
Active Member

Posts

Joined
Fri Nov 28, 2014 10:41 am

Who is online

Users browsing this forum: No registered users and 14 guests