473,386 Members | 1,796 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Foreground Image?

I want to add a curved bottom right hand corner to all of the images
displayed on a site I am building - other than editting each one
individually to remove the bottom right hand corner, is there a way I
can do this?

I am thinking that using a foreground image positioned at the bottom
right of the image would do it but I am not sure how to approach it.

Thanks in advance,

Rick

May 30 '06 #1
1 16540
th*****@gmail.com wrote:
I want to add a curved bottom right hand corner to all of the images
displayed on a site I am building - other than editting each one
individually to remove the bottom right hand corner, is there a way I
can do this?


Is editing the markup for each image acceptable? Can the images be
treated as block elements rather than inline? If yes, then...

<div style="background-image: URL(imagesrc.png); width: 200px;"><div
class="cornerdiv" style="height: 300px;"></div></div>

....styled with...

div.cornerdiv {
background-image: URL(cornersrc.png);
background-placement: bottom right;
background-repeat: no-repeat;
}

....should be useable instead of <img> tags. The width and height of
each image will have to be explicitly specified in the markup and match
the actual image dimensions.

--
Vid the Kid

Jun 3 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Scott Hatton | last post by:
I have a table like this
2
by: TAM | last post by:
Hi, I am using a table with height and width as 100%. I wish to use a background image of size W 62x H 314 pixels for one table cell. How do I make the background image stretch to fit the...
16
by: Andy Mabbett | last post by:
The page at: <http://www.westmidlandbirdclub.com/club/logo.htm> has a logo "floated" in the top left, and another "floated" in the top right, with the H1 heading centred between them (and this...
14
by: Jeff Gillingham | last post by:
I'm using a stylesheet to place a small 'background image' in the upper left corner of several pages. Is there a simple way of making that image a clickable link? Thanks.
2
by: Nicholas | last post by:
Hi How do I make an image stay eg at the top left of the page even if the viewer is scrolling down a long page? Ugly effect I know but I have a particular use for it. TIA Nicholas
8
by: Haines Brown | last post by:
I want a hot text string to display an image only when hovered. In the body: .... <a id="link-a" href="#nogo"> <img id="photo" src="..." />hot text </a> ....
1
by: Ciri | last post by:
Hi, I've got an Image (a transparent png) over a background (a jpeg). I'd like them to stretch toghether. I've tried: <img src="MyImage.png" alt"foreground image" width"100%" height"100%" style"...
1
by: vkosuru | last post by:
hi ppl, I've got a problem. I am trying to show my output in a speedometer background image. I've a pointer(foreground image) which i need to rotate on the speedometer depending on the value i...
4
by: GArlington | last post by:
I am trying to implement an image map (in this particular case a country map) with few <area ...>s on it. The challenge is to add background image (dot) to each <areaso it will display over the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.