Connecting Tech Pros Worldwide Forums | Help | Site Map

resizing image?

roN
Guest
 
Posts: n/a
#1: Dec 7 '06
Hi,

if you go to http://www.dvdnowkiosks.com/new/faq.php you can see that if you
click on one of the FAQs, it's extending them and making the image on the
right-hand side being too short. Is there a possibility that i can get by
how many pixels it got extended and resize my image on the right-hand side?
Thanks for suggestions!



naixn
Guest
 
Posts: n/a
#2: Dec 7 '06

re: resizing image?


roN wrote :
Quote:
Hi,
>
if you go to http://www.dvdnowkiosks.com/new/faq.php you can see that if you
click on one of the FAQs, it's extending them and making the image on the
right-hand side being too short. Is there a possibility that i can get by
how many pixels it got extended and resize my image on the right-hand side?
Thanks for suggestions!
>
>
I think you matter is more of a XHTML/CSS matter.

Your website should be 'extendable', meaning the left menu will extend with the
bottom whenever there is more text that should be inserted.
This has nothing to do with javascript ;)

--
Naixn
http://fma-fr.net
VK
Guest
 
Posts: n/a
#3: Dec 7 '06

re: resizing image?



roN wrote:
Quote:
if you go to http://www.dvdnowkiosks.com/new/faq.php you can see that if you
click on one of the FAQs, it's extending them and making the image on the
right-hand side being too short. Is there a possibility that i can get by
how many pixels it got extended and resize my image on the right-hand side?
Thanks for suggestions!
I'm not a specialist by DIV-layouts (always stood with tables for the
serious projects), so not direct technical answer, just a few notes:

1) the bottom of your page is messed up a bit on Firefox 1.5 even w/o
expanding any of FAQ topics.

2) a page layout (of any nature) falling apart w/o JavaScript support
is not a great idea. You should be able to make the middle section
fully fluid without studying offsetHeight on each click and applying
script commands.

<comp.infosystems.www.authoring.stylesheetsare traditionally good on
that.

David Golightly
Guest
 
Posts: n/a
#4: Dec 7 '06

re: resizing image?



roN wrote:
Quote:
Hi,
>
if you go to http://www.dvdnowkiosks.com/new/faq.php you can see that if you
click on one of the FAQs, it's extending them and making the image on the
right-hand side being too short. Is there a possibility that i can get by
how many pixels it got extended and resize my image on the right-hand side?
Thanks for suggestions!
Ok, you don't want to do this in JavaScript. You want to rearrange your
HTML/CSS like so:

<div class="box">
<div class="header"><!-- put your rounded-corner images here --></div>
<div class="content">
FAQ list goes here
</div>
<div class="footer"><!-- put your rounded-corner images here --></div>
</div>

Use the natural flow of HTML and CSS to help you out; avoid fixed
heights. This is an area where you should probably go to the HTML list
instead and learn about semantic markup and why you should use DIVs
instead of nested TABLEs. Any more is off-topic for the JavaScript
list.

David

Closed Thread