Jump to content


Image/Background Dimentions

  • Please log in to reply
1 reply to this topic

#1 xyn

  • Members
  • PipPipPip
  • Advanced Member
  • 779 posts
  • LocationNorthampton

Posted 26 August 2006 - 09:10 AM

I've checked out a few tutorials and couldn't find anthing nit he search, But
I have a background image in a table. Is there anyway of setting the dimentions
of a background image. Becasue...
I know that width:2; or width:2%; And height:0; etc. does the width and height
etc. just wodnered how to do this with image backgrounds.

#2 AndyB

  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 26 August 2006 - 01:45 PM

No.  The 'size' of the background image is never more than the size of the element to which it's applied, i.e. all that shows is what will fit.  If the image is smaller than the element, the image will repeat (unless you have used appropriate CSS to define the background image style).
Legend has it that reading the manual never killed anyone.
My site

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users