css bacground-image size

M

Marcin C

I have css file like this:
td.navbar {
background-image: url(images/menu.gif);
background-repeat: no-repeat;
background-color: #000000
width: 10%;
color: #FFF;
}
I would like to change background-image size (for example hight=100px,
width=100px)
Thanks in advance
 
K

Kris

I have css file like this:
td.navbar {
background-image: url(images/menu.gif);
background-repeat: no-repeat;
background-color: #000000
width: 10%;
color: #FFF;
}
I would like to change background-image size (for example hight=100px,
width=100px)

Change the size of the picture to 100x100 pixels.
 
D

David Dorward

Marcin said:
I would like to change background-image size (for example hight=100px,
width=100px)

Then edit the source file. You can't scale background images in current
versions of CSS.
 
M

Marcin C

Change the size of the picture to 100x100 pixels.But how to do this ?? - without using programs like photoshop ;)
 
S

SeeSchloss

Marcin said:
Then edit the source file. You can't scale background images in
current versions of CSS.

And anyway, I wouldn't recommend resizing images (any
image) with css, given the quality of the resizing in most
browsers...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top