chaits
09-29-2006, 07:17 AM
Is it possible to assign a background image or any image to <div> using css?????
Thanks in advance,
chaits
Thanks in advance,
chaits
|
||||
problem positioning image using divchaits 09-29-2006, 07:17 AM Is it possible to assign a background image or any image to <div> using css????? Thanks in advance, chaits felgall 09-29-2006, 07:27 AM yes. background-image:url(myimage.gif); BonRouge 09-29-2006, 07:27 AM Yes, it is. http://www.w3schools.com/css/css_background.asp chaits 09-29-2006, 08:21 AM I tried what u said and it worked too.Thanks 4 that.But facing one more problem the text i am trying to put in the div container does not come in the center of the background image..whereas when i use table instead it does. Can any1 help me out y is this happening n what is the solution for the same? Thanks again, chaits BonRouge 09-29-2006, 09:09 AM http://www.w3schools.com/css/pr_text_text-align.asp |
| |||
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum