...

View Full Version : images not loading, and table not being where I want it to be



cyborg360
12-20-2009, 12:33 AM
if you check out:
u s e r s (dot) r c n (dot) c o m / r o b e r t (dot) a c k e r t /

There are two major problems I'm having here:

1. In firefox, the scrolling text in the table sits closer to where I want it to, but in chrome it is off to the left.

2. the borders around the image aren't displaying.

any ideas?

Excavator
12-20-2009, 12:55 AM
Not sure what you mean about the text but you have a 777x582 px image resized to 698x171 px inside a 697x170 div - no chance of seeing any borders that way. See how the box model (http://www.w3.org/TR/CSS2/box.html)works.
I do not see where you're setting any borders on that image... Are you talking about a different image than 3.jpg?

You have, including scripts and spaces, 174 lines of code and still manage to have 171 errors (http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fusers.rcn.com%2F**************%2F) :eek:
A lot of those are easy fixes...

cyborg360
12-20-2009, 12:59 AM
there are three images that act as visual borders around the image. one is called border_short_vert.png. I can take a screenshot inside expression if youd like.

I've looked at the w3c validator. it seems like it may be a bit too picky. even on codingforums.com it lists 54 errors. when you use the validator do you try to resolve every issue or just target certain areas that are giving you problems?

i have a table with js scrolling text to the right of the page and right of that image.

cyborg360
12-20-2009, 01:05 AM
here is the screenshot with the orange borders (images)

Excavator
12-20-2009, 01:06 AM
Same issue though, border_short_vert.png is 169x11 and the div you're putting it in is 164x16... That would cause some overflow issues...

I don't see that border_short_vert.png is at the location you link. Check your paths maybe? Look at the listing that shows up - http://users.rcn.com/**************/images/

cyborg360
12-20-2009, 01:15 AM
ok, somehow the vert border was removed from my host server, and I had to reupload the other horz borders, and now they all display. weird.

are you saying that the fact that the images aren't exactly the same size as the divs means the table with the scrolling text could be moved?

Excavator
12-20-2009, 01:29 AM
I have no idea what that would do to tables - never use them myself. I'm just pointing out the widespread mis-match in sizes in the way your coding your site. Sure, overflow:hidden; might cure some size problems, but why make the end user download a 777x582 sized image when they don't get to see but 30% of it?

For your other question,
w3c validator. it seems like it may be a bit too picky.I don't think that's the case at all.
I would recomend fixing every error you possibly could. Some may be more difficult than others, some may have no real effect on the layout of your page. No matter, valid code still removes the possibility of invalid code being the source of your problem.

cyborg360
12-20-2009, 01:34 AM
ive taken it out of a table and used a div, but have the same issue: firefox displays it ok, but not chrome or IE



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum