Jump to content

increase height of an image using css property


php_begins

Recommended Posts

http://www.texaslakesandponds.com/index_html.html

I need help increasing the height of the planks on the left by 2 or 3px.(Home,Aerators etc)

something similar to <img src='' height='' width=''> property in html.

But since i am using css i am using line-height property. If i increase the height, the image gets repeated at the bottom. I tried the no-repeat property, but to no avail.

I also tried the background-size property, but it didnt help much either. Can someone help me out with the code.

 

1. just to make a pointer, the html layout was poorly thought out, why are you using a combination of tables and lists, normally its one or the other, there is no need for a list inside of a table column that only has one list item inside.

 

2. you can use the background-size: property for this, but i would recommend editing the image itself, since using background-size will distort the image.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.