|
Posted by BootNic on 10/22/06 00:07
> Leszek <leszekt80@poczta.onet.pl> wrote:
> news: ehe8bs$t20$1@news.onet.pl
> Hi.
> I have a problem with <div> tag. I have two different types of images
> that need to be loaded into <div>
> First kind of image has height 640px and width 480px. Second has
> height 480px and width 680px. Image should have border 1px and color
> #999999. I did something like this:
[snip]
> Now i need to use only one <div> at the time, not both. Is it
> possible to turn off displaying one <div> while user is clicking on
> the link to image? Or maybe there is way to use only one css rule for
> div and just change height and width when user click on the link to
> image?
It appears that you are just adding a border to the image. If you wish it
to display as a block element, display it as a block element.
img.box {
border: solid 0.1em #999;
display: block;
}
--
BootNic Saturday, October 21, 2006 8:06 PM
I try to take one day at a time, but sometimes several days attack me
at once.
*Jennifer Unlimited*
Navigation:
[Reply to this message]
|