| View previous topic :: View next topic |
| Author |
Message |
gold4fish
Joined: 06 Jul 2007 Posts: 3
|
Posted: Wed Aug 01, 2007 8:56 am Center the FRAMESET on a page |
|
|
|
Hi,
I want to center the Frameset on a page.
For instance the FrameSet is 1024 wide, but it is always LEFT justified on the page (1280 wide). Whereas, it would look a lot nice IF the 1024 was centered within the 1280 page.
Can this be done?
Thanks!
Mike |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8267 Location: Castle Rock CO USA
|
|
gold4fish
Joined: 06 Jul 2007 Posts: 3
|
Posted: Sat Aug 11, 2007 2:41 am Center the FRAMESET on a page |
|
|
|
| Corey Bryant wrote: |
| Sounds like you need to use an Iframe instead of a regular frame. |
Actually the MainArea within the Frameset is for loading IFRAMES content. But, I want the entire FRAMESET to be centered. Frameset consists of TOP-masthead area; LEFT-nav area; and MAIN-target area. |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8267 Location: Castle Rock CO USA
|
|
iliast
Joined: 30 Aug 2007 Posts: 3
|
Posted: Thu Aug 30, 2007 2:55 am |
|
|
|
| Corey Bryant wrote: |
| Sounds like you need to use an Iframe instead of a regular frame. |
And how this can be done?  |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8267 Location: Castle Rock CO USA
|
Posted: Thu Aug 30, 2007 3:41 am Re: Center the FRAMESET on a page |
|
|
|
| Corey Bryant wrote: |
| Sounds like you need to use an Iframe instead of a regular frame. |
Actually the MainArea within the Frameset is for loading IFRAMES content. But, I want the entire FRAMESET to be centered. Frameset consists of TOP-masthead area; LEFT-nav area; and MAIN-target area. |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8267 Location: Castle Rock CO USA
|
Posted: Thu Aug 30, 2007 3:43 am Re: Center the FRAMESET on a page |
|
|
|
| gold4fish wrote: |
| Actually the MainArea within the Frameset is for loading IFRAMES content. But, I want the entire FRAMESET to be centered. Frameset consists of TOP-masthead area; LEFT-nav area; and MAIN-target area. |
That's not how frames work. You might consider using included content instead.
_________________
Corey
Toll Free Fax Numbers | Mile High Merchant Accounts | LoudCISP |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8267 Location: Castle Rock CO USA
|
Posted: Thu Aug 30, 2007 3:45 am |
|
|
|
| iliast wrote: |
And how this can be done?  |
Something like
| Code: |
<div style="text-align:center; display:block">
<iframe src="http://www.example.com" width="300px" height="400px"></iframe>
</div> |
_________________
Corey
Toll Free Numbers | SiteMaps for Search Engines |
|
|