Forums / Install & configuration / Add pucture without border
Przemek Niemczuk
Tuesday 10 February 2009 3:17:45 am
Trying to settle on the home page 3 pictures and add links to them: http://www.treningbiegacza.pl/index.php/pol Everything ok, but the images have a border, and I want to get rid of it. Therefore, click on the picture and I make it embed-inline frame, and it disappears, but then generates a HTML validation error, by adding x 2 to the image tag <a>
http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.treningbiegacza.pl%2Findex.php%2Fpol
regards
primo
Robin Muilwijk
Tuesday 10 February 2009 12:25:46 pm
Hi,
In your classes-colors.css (var/storage/packages/eZ-systems/ezwebin_design_blue/files/default/file/classes-colors.css) you will find the following css:
/* Image attribute */ div.attribute-image { padding: 3px; border: 1px solid #e3e7eb; background-color: #FFFFFF; }
Change the line with "border: 1px..." to "border: 0px;" and that should remove the border. That is, if I understood you correct, and this concerns the 3 images displaying in the center underneath the header image.
Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation. LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk
Wednesday 11 February 2009 2:31:21 pm
Thank you for your reply, but not what I meant. I want to eliminate the border for some selected pictures from the home page: http://www.treningbiegacza.pl
- Slowniczek - Blog biegacza - Forum biegacza- Najnowsze Artykuly
Thursday 12 February 2009 11:38:49 am
Those are the images I looked at, and it looks like you were able to remove the borders.