The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Making an Image the same size as the width of the table underneath, My Image is rendered slightly small (width) than the rest of the page
Brian Read
post Aug 7 2012, 06:21 AM
Post #1





Group: Members
Posts: 7
Joined: 23-February 12
Member No.: 16,556



If you look at:

http://www.safety-lifting.co.uk/InspectDB/index.php

You can see that the top image/banner is rendered slightly inside the left hand edge of the table & co underneath.

Using firebug I can see that the table is configured to be 963px wide, and this is the natural width of the image/banner.

Yet the banner is stepped inside - anyone got any ideas?

Note that the original html is heavily php / Database orientated, so there are "lots" of CSS which appears not to be used.

The problem appears when you are logged in as well.

Cheers

Brian
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Aug 7 2012, 07:31 AM
Post #2


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



The image is in the table. I notice several IDs are reused. Have you checked if that has to do with it? Maybe some rule or other doesn't have effect because of that.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Aug 7 2012, 07:49 AM
Post #3


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



Actually, it doesn't look like a gap as I thought it was. I think the problem is in the image itself. Enlarge it and you can see there's a thin dark line along the left edge. I think that looks as part of the background on the page and we think the image is a bit to the right. Cut a couple of pixels off the left of the image and you'll see.

For the real thing it's maybe better that you remake the image or the text will probably look odd, beginning so close to the left edge.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Brian Read
post Aug 7 2012, 08:25 AM
Post #4





Group: Members
Posts: 7
Joined: 23-February 12
Member No.: 16,556



1000 thanks! - yes, the image had a blue edge to it. biggrin.gif biggrin.gif

I've got another problem, but I'll open another post.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 29th March 2024 - 07:22 AM