transparent text

liunx

Guest
Hi

I'm getting transparent text in my site and I don't know why...Does anyone know what would cause this?

Cheers
Chriswe would need either a link to the site (being easiest) or the code you used for it. Also, point us out to where it is on the page so we have a better idea as well :)Cheers mate

apparently on Safari it's hapening on the home page but I can't varify that as I'm on PC.

But on my PC....if I goto the Gallery page the text in the gallery is transparent...if you press next it corrects and then hit back (the Back link in the gallery) it's fine on the original page that had the problem.

any ideas?

ChrisDoes removing the xml namespace have any effect?No...It made no difference.

Thanks
ChrisOriginally posted by cybercampbell
Does anyone know what would cause this?

Putting the text in elements that don't exist?

<rem><STRONG>Alessandro Mancini - Ceramic Artist</STRONG> <br />
<P>Alessandro Mancini has a unique expression in his ceramic art. He has workedlook at your DIV tag for the NEXT link.. note the quotes for your attribute value.

keep up the good workOriginally posted by Mr Herer
Putting the text in elements that don't exist?

Thanks Mr Herer.....I fixed that but no difference.

Originally posted by slyclone
look at your DIV tag for the NEXT link.. note the quotes for your attribute value.

keep up the good work

Thanks slyclone......

I'm asuming you ment this line:
div style='text-align:center;'><a href=http://www.webdeveloper.com/forum/archive/index.php/"?page=gallery&language=&num1=13&num2=24"><strong>NEXT</strong></a></div>
</div>
which is generated by PHP code like this:
echo ("\n</table>\n<div style='text-align:");
if($table_align=="center"){echo('center');}elseif($table_align=="left"){echo('left');}
echo(';\'>');

I took that out to test but it made no difference.

I've moved the CSS into the page instead of external so you can see it.

Any other ideas?

Thanks again
Chris<div style= ' text-align:center; ' >

^^^^^^

those are supposed to be regular quotation marks. not appostrophies.Originally posted by slyclone
<div style= ' text-align:center; ' >

^^^^^^

those are supposed to be regular quotation marks. not appostrophies.

Cheers mate

I fixed it but still no luck....are you guys seeing the transparent text?

Chrisyeah I can see the transparent text too.. I will look for inconsistencies between the "about me" div and the "gallery" div..

slyI've noticed, too that your entire page "reloads" when you click next on the gallery.

as opposed to the rest of the site.

is it supposed to do that?

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

If you insert the other 2 gallery pages as DIVS, and code the NEXT and BACK buttons exactly like you did with the 3 "ABOUT" sections, you will probably fix it.

And the page won't reload completely anymore.Originally posted by slyclone
<div style= ' text-align:center; ' >

^^^^^^

those are supposed to be regular quotation marks. not appostrophies.

just so you know, you can use either single quote or the double quote. Sometimes you will need to use both even. :)i didnt see the invisible text taht you are mentioning. One thing i did notice was a lot of code. Is all that js neccesary? can you do some of it with css instead such as your link hovering? Less js the better. For one it loads quicker. Also, you have some style code in your body, that should be in the head with the rest of it. I saw about 6+ js which is quite a bit. I think a general clean up/tidy of code will greatly help you in more then 1 way. 1st, it will help get rid of meaningless code which will help speed the dl of the site up and also will help you to be able to read through your code easier. 2nd, editing and making sense of all your code will be made a lot easier. Lastly, you may want to think of getting away from using tables for your layout. Yes, this will be a bit of work at first, but it will be well worth it. Cleaning up the code may fix your problem without you having to do anything else :) gl and hope something i said helped ;)ok, Chris..

Here's what I found.

The menu item "@ GALLERY" is what causes the text to become "transparent"

if you refresh the page, it will turn green.

when you click on "@ gallery" it turns transparent again.

So I checked out the code on the MENU item for Gallery to see if it was IDENTICAL to the ABOUT just above it.And it is, BUT, when I checked out the differences between the DIV again,

here's the INCONSISTENCY, between the Gallery DIV and the About3 DIV.

<div id="lgallery" name="lgallery">
<div align="center"> you have SCRIPT and STYLE inserted here for some unknown reason(remove and place in HEAD element} <div id="gallery">


<div id="labout3" name="labout3">
<div id="footer3" name="footer3">
<div align="left">


Noting the 2 code examples above, you used the ID "footer" on one and "gallery" on the other... "gallery" should be looked at carefully, as it could be the culprit. If you check out your images, you got one called "gallery". Plus numerous times "gallery" is mentioned in your file, which might confuse the browser when you press the link, thus changing the color of the text.

Check your MM scripts.Originally posted by slyclone

Noting the 2 code examples above, you used the ID "footer" on one and "gallery" on the other... "gallery" should be looked at carefully, as it could be the culprit. If you check out your images, you got one called "gallery". Plus numerous times "gallery" is mentioned in your file, which might confuse the browser when you press the link, thus changing the color of the text.

Check your MM scripts. [/B]

Thanks mate...it was the gallery thing. I rename a DIV to galleryset and the problem has gone.

I know I need to clean up the code a little but some of it is layed out that way for a reason.

The gallery is loaded in with php include...actualy all the content is.

Thanks for the help :D

ChrisOriginally posted by slyclone

Check your MM scripts.

What are MM Scripts?Prolly MacroMedia.Most likely. Although I often find "MM_" in a script translates to "Don't expect this to work with web browsers".Glad I could help you :)

Yes, MM = MacroMedia
 
Back
Top