Jump to content


Problem with displaying content


3 replies to this topic

#1 HEki_

    Young Padawan

  • Members
  • Pip
  • 165 posts

Posted 28 May 2007 - 05:29 AM

hi,

i have a webpage and basicly so far i have used eather <iframe> or <?php switchfunction ?> to show the contect ...
Now i have a problem. I have downloaded a simple image gallery with user registration and everything ... And i want to include this image gallery on my site.
With iframe i have a problem, couse it doesnt expand completly. lets say that only 90% of the contect shows up (height).
With php switch function i have a problem couse i will have to go and change all the hrefs ... <3 to many links in the gallery ...

and if i use <div> in iframe it doesnt expand at all ...

so how can i include the gallery on the page as simple as posible?

#2 _*Creative Insanity_*

  • Guests

Posted 28 May 2007 - 05:53 AM

Just use a div and ditch the frames.

#3 HEki_

    Young Padawan

  • Members
  • Pip
  • 165 posts

Posted 28 May 2007 - 07:37 AM

OK
so ill use a div #container to display all my pages in ... if it was a frame i would give it a target="frame" and tell button to load it in that target ...
how is this done with divs?
i have no clue ... any tutorial??

#4 HEki_

    Young Padawan

  • Members
  • Pip
  • 165 posts

Posted 28 May 2007 - 09:11 AM

hm,
i got this thing working. I had to use iframe, but its working ... Well not completly.
i have a table with 3 rows ... i need first one to be 200px width, second row needs to expand due to screen resolution, and third is there just like the padding-right option ...
the thing works in FF but kickmeinthehead IE doesnt ... it expands the 2nd row to much!
example FF:
i have 5 letters A A A A and when it comes to the end of the screen it goes into a new row and puts a new letter A so it looks something like this
A A A A
A
but IE shows this
A A A A A ...
what am i doing wrong?
i have the table width to 100%, first row 200px, for 2nd i dont have any width and for 3rd width 1px ...

what am i doing wrong?





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users