Forum Moderators: not2easy

Message Too Old, No Replies

Urgent Help with CSS.

integrating CSS based images rotation in HTML

         

aryangupta19

9:37 pm on Jun 23, 2006 (gmt 0)

10+ Year Member



Hello To all,

my problem is very minor.
here you will see few "image missing icons" displaying, but actually the images are not missing and they are visible respectively.

then why this image missing icon is beign display. i want to remove it.

actually we are rotating different images on the same place with CSS. for e.g.
the main big center images. there are total 4 images, which are beign rotate after each 24 hours by CSS code. but when i check the <IMG> tag of this image, there is no value for SRC="" . i don't know it is the coz of problem or what. plz tell me how to remove.

sample code:
-----------------------------------
<td width="100%" align="center" class="trbgcolor">

<img class="indexbgimage" border="0" width="900" height="334">
</td>

-----------------------------------

waiting eagerly for replies.

plz tell me if you are unable to understand my language. i will try to more simplify it.

best regards.

[edited by: jatar_k at 4:10 am (utc) on June 24, 2006]
[edit reason] no urls thanks [/edit]

Little_G

9:52 pm on Jun 23, 2006 (gmt 0)

10+ Year Member



Hi,

You are trying to define a background image for an image!
You can either do:

<td width="100%" align="center" class="trbgcolor">
<img src="images/mainbkg1_r1_c1.jpg" border="0" width="900" height="334">
</td>

or
<td width="100%" align="center" class="trbgcolor">
<div class="indexbgimage" border="0" width="900" height="334"></div>
</td>

Andrew

aryangupta19

10:14 pm on Jun 23, 2006 (gmt 0)

10+ Year Member



hi, thanx for response.

i used your second code :

<td width="100%" align="center" class="trbgcolor">
<div class="indexbgimage" border="0" width="900" height="334"></div>
</td>

reply awaited.

[edited by: jatar_k at 4:09 am (utc) on June 24, 2006]
[edit reason] no urls thanks [/edit]

doodlebee

6:07 pm on Jun 24, 2006 (gmt 0)

10+ Year Member



actually we are rotating different images on the same place with CSS. for e.g.
the main big center images. there are total 4 images, which are beign rotate after each 24 hours by CSS code.

Am I understanding you correctly when you say you believe your are using CSS to rotate an image every 24 hours? That's not possible. CSS is NOT a scripting language. CSS is simply for style - it's NOT a programming language of any kind.

If you're rotating an image (or an image is being swappwed out every 24 hours for a new one) then you're using a programming language to do so: javascript, flash, something. Your error would be in the script - not the CSS.

aryangupta19

10:59 am on Jun 26, 2006 (gmt 0)

10+ Year Member



hello,

thanx for all of your msgs to all. we fixed our problem.

yes you are right we were actually using Java Script to rotate but were calling different CSS files each time to give a new look.

anyway problem resolved and fixed. thanx a looooooooooooooooooooooooooooooooooooooooooot to every one supporting.

let me know if ever i can help you guys with anything.

bbye.