This is a discussion on "2+2 =? pic doesn't fit in defined area" within the Web Page Design section. This forum, and the thread "2+2 =? pic doesn't fit in defined area are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
2+2 =? pic doesn't fit in defined area
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Hi,
I have the following bit of HTML:
I have 2 columns contained within an Outer div which is centred.
The colours are just so I can see what's happening. The image will take up the entire space of the right column. If the image is 625px (resized in Paint Shop) and the available space is 700-75px, ie 625px why does the picture place itself below the nav div? It will place itself correctly when I increase the size of the outer div to 706px. Just wondered why this happened. Thanks. R |
|
|
|
|||
|
Re: 2+2 =? pic doesn't fit in defined area
Ok:
Last edited by rubyfruit; Oct 11th, 2006 at 17:05. Reason: mistake |
|
|||
|
Re: 2+2 =? pic doesn't fit in defined area
Just found a work around
|
|
|||
|
Re: 2+2 =? pic doesn't fit in defined area
You shoudn't need a work-around. Can you post a link to your page without the work-around so we can see what is actually happening.
|
|
|||
|
Re: 2+2 =? pic doesn't fit in defined area
Hi Geoff,
It looks like: http://www.anstee-parry.com/ Whereas you should see a pink column and then the picture. No blue should show. Simple 2 column design. It will only make an effort to re-align if I increase the #outer to 706px, but it's not perfect. Making the image a background image does appear to work. However ideally I would like to be able to have text showing if the image fails, which would be easier with the image being an image rather than a background (based on my current inability to use image replacement). |
|
|||
|
Re: 2+2 =? pic doesn't fit in defined area
Here is your css file for that page.
Correct these then lets look again. |
|
||||
|
Re: 2+2 =? pic doesn't fit in defined area
I just noticed, you shouldn't be using the px unit in attributes:
|
|
|||
|
Re: 2+2 =? pic doesn't fit in defined area
Cool - thanks guys.
Not sure why there were typos in the coding I posted as when I checked back to the original it was fine - must of been some dodgey copy & pasting. But thank you. Re px - I didn't know that - will go correct my coding - thanks. Will let you know how I get on. R |
![]() |
| Tags |
| css |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Hello from DC area | imageworks | Introduce Yourself | 14 | Feb 8th, 2008 08:43 |
| Text Area | acrikey | Flash & Multimedia Forum | 5 | Jul 18th, 2007 16:28 |
| text area | geyids | Flash & Multimedia Forum | 4 | May 31st, 2007 12:25 |
| Need your help: "fuction not defined" problem | irida | JavaScript Forum | 2 | Nov 2nd, 2006 14:50 |
| Need Help With A User Defined Function | zorgan | Flash & Multimedia Forum | 0 | Aug 18th, 2003 22:13 |