By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,529 Members | 1,860 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,529 IT Pros & Developers. It's quick & easy.

Howto Cover 4 Edges Of Images?

P: n/a

I wonder if it is possible: Cover 4 edges of images by 5px each.

If it is 400x400, then only the center 390x390 is shown. The edges are
covered by white color or some other images.

I am thinking to use DIV and position. and draw 4 images matching the
edge's sizes as heightx5 widthsx5 etc.

But I can not think a way to cover the image.
Jul 23 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
nntp <nn**@nntp.com> wrote:

Your From address does not specify a mailbox which is a violation
of Internet/Usenet standards and disregarding the Netiquette as
well as most certainly a violation of the Acceptable Use Policy of
your service provider.* More, you are using a domain of TUCOWS Inc.
without authorization. You*have been warned.

Your message ID <opsc4kqmfbn6z4w4@nsa> does not contain a fully
qualified domain name (FQDN). You may want to inform your service
provider about this misconfiguration or generate a valid message ID
yourselves.

You may also get yourselves a name.
I wonder if it is possible: Cover 4 edges of images by 5px each.

If it is 400x400, then only the center 390x390 is shown. The edges are
covered by white color or some other images.
You are off-topic, use CSS:

clip:rect(5px 5px 5px 5px);

<http://www.w3.org/TR/CSS2/visufx.html#propdef-clip>
I am thinking to use DIV and position. and draw 4 images matching the
edge's sizes as heightx5 widthsx5 etc.
Don't.
But I can not think a way to cover the image.


Don't cover the image but let the background shine through where you want.
PointedEars
--
Never trust anything you buy with good intentions
Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.