close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

I.E. display problems-expanding box?

Thread began 1/02/2010 11:25 am by roger391472 | Last modified 1/05/2010 7:33 am by roger391472 | 4063 views | 3 replies |

roger391472

I.E. display problems-expanding box?

I'd like to see if anyone could help me out with these two questions. I have a page that is not displaying correctly in I.E. 7 or back. It displays perfectly in Firefox and I.E. 8. Originally I was getting the expanding box warning in Dreamweaver but I went through and changed overflow to hidden on my CSS and it no longer throws the warnings and it also validates but it's still not displaying correctly, it moves everything off to the side of the page. I've also gone through every CSS on the page and I can't find anywhere that shows the content is wider than the width setting.

The page is on theracersresource.com I hate the inconvenience for you but I've currently got it gated since I'm not going live until the end of Jan. The login info is:
Username: resource
Password: 4racers

Click on the "Tech Info" button at the top of the page and on that page you will see a "Recent New Products" category on the right. When you click on one of the product links that brings you to the new_racing_product.php detail page where I'm having the problem.

The second problem can also be seen on this page. These photos are being displayed dynamically and again it works fine in Firefox but in I.E. it holds the spot for the image and shows it as a broken image link. A better representation of this problem is on the home page. In the news release excerpts the only one with a photo on the details page is the top link. When you view that in Firefox the photo displays and the text wraps around it. When you go to any of the other news links on the page the text just moves up to fill the spot if there's no photo to go with the article. When viewed in any version of I.E. it tries to hold that spot for the photo and shows as a broken image link if there's no photo there. I haven't been able to find any tutorials or info about how to make this work.

Thanks in advance.

Sign in to reply to this post

roger391472

1st question is resolved

I found the answer to my problem on the first question. I had a "clear right" setting that shouldn't have been there.

I still need help on the second question though about the broken image link in I.E. if possible.

Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

Use an if statement around the image tag to only show it if there is a value in the recordset for that column, for example:

php:
<?php if($row_recordsetname["prod_image_large"] != "") { ?><a href="new_prod_image_large/" rel="lightbox"><img  src="new_prod_thumb/" alt="" name="new_prod_thumb_2" width="120" height="80" border="0" id="new_prod_thumb_2" /></a><?php ?>
Sign in to reply to this post

roger391472

Resolved

Hi Jason,

Perfect. that did it. I can see where I'll be using that code a lot.

Thanks,

Roger

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...