[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 232
  • Last Modified:

Horizontal automatic expansion to fit application

Hi, I am not quite sure how to explain this. I am not very good in Dreamweaver.

What I am trying to do is emulate what Joomla can do when you load a wrapper (external application) in a module (web page). I have an app written in php/mysql and there are several screens to the app. Each one is a different length. I want a page to adjust itself to the length of the application automatically (I will set a fixed width).

I have set a background with a sliced repeating gradient and I want to have a white page on top of this background, then have this php application run "inside" or on the white part of the page.

To see what I mean, although the php app is not on this page, please see aearo3m.com/index.php

Any help would be much appreciated.
0
cafulford
Asked:
cafulford
  • 2
1 Solution
 
Jason C. LevineNo oneCommented:
Hi cafulford,

I'm not sure what I'm supposed to be looking at.  You talk about horizontal expansion but reference length (which implies vertical measurement).

Can you rephrase this?
0
 
IanThCommented:
so your php app will not be visable then why not create a page in dw for all the pages ie control the php by using html to view the php  
0
 
cafulfordAuthor Commented:
Thanks for the replies...Jason, I am sorry, I meant vertical. Basically, I want to have the gradient background, which I have set fine, and my application to "run" in a table maybe?? but have the table be a flexible height and adjust as needed vertically.

Ian, is that what you meant?

Thanks...
0
 
Jason C. LevineNo oneCommented:
>> but have the table be a flexible height and adjust as needed vertically.

Tables and divs are flexible by nature.  If you don't specify a height or a width, the container will expand until it hits a defined edge of something (external container, screen edge, etc).

So set the width as you desire and don't define the height.  The container will expand vertically based on the content.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now