Webforumz's RSS FeedRSS Webforumz RegistrationRegister Contact Webforumz StaffContact

Need help - how to center a website frameset

This is a discussion on "Need help - how to center a website frameset" within the Web Page Design section. This forum, and the thread "Need help - how to center a website frameset are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Reply
 
LinkBack (1) Thread Tools
  1 links from elsewhere to this Post. Click to view. #1  
Old Sep 14th, 2006, 01:13
New Member
Join Date: Sep 2006
Location: Parts Unknown
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Need help - how to center a website frameset

Hi. I searched on the forums here first for the answer... the question has been asked in the past... but not really answered.

I'm not incredibly experienced with web design and helped out a friend design a site, so I used frames (* gasp *) because I don't yet know how to design a site like this totally using CSS.

http://www.bellchiropractic.com

Anyway, index.html defines the frameset and containing frames (side, top, main).

How do I center and fixed-width this entire frameset so when viewing on widescreen laptop monitors, the website is not sitting along the left-hand side...

... but instead locks at a maximum width and is centered whatever the web browser size is?

Thank you very much.

P.S.

Yes, I'd love to learn how to do this all using CSS one day because apparently some pages are loading weird in Firefox, etc. Frustrating that using layers doesn't universally work so well.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old Sep 14th, 2006, 10:23
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Need help - how to center a website frameset

Given other things that are wrong with your code, a probable solution would be to put 'text-align: center' in the <body> tag. This will probaly have a knock-on effect though.

You have forgotten about the other screen option, those still viewing with 800 x 600 screens or even snaller mobile options.

At 800 x 600 the user is required to scroll in two directions to view the content. This is an absolute no-no.

Below this the site would be unusable.

Rethink the whole design and do it in a proper structured, standards compliant and accessible way.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Sep 14th, 2006, 12:37
minute44's Avatar
Most Reputable Member

SuperMember
Join Date: Apr 2006
Location: Nottingham UK
Age: 25
Posts: 1,361
Blog Entries: 3
Thanks: 0
Thanked 1 Time in 1 Post
Re: Need help - how to center a website frameset

Take a step back... You really don't want to be using frames... Last time I looked it was 2006 and not 1996.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Sep 14th, 2006, 14:03
Elite Veteran
Join Date: Aug 2005
Location: That Place
Posts: 2,044
Blog Entries: 1
Thanks: 0
Thanked 37 Times in 37 Posts
Re: Need help - how to center a website frameset

Frames are the stinky dookie. And what is with all the
<p>&nbsp;</p>
<p>&nbsp;</p>

This site needs to be started over from square one. Using correct coding methods and semantic markup will only make your life easier and the future of the web site brighter. The layout you have is not very complex and you can simulate the frame effect on the main content with CSS if it HAS to be like that.

Here is a css layout using a masthead, horizontal nav, 2 columns and a footer you can use for reference to get you started.

http://www.newbeginningsdesign.com/s...mn_layout.html

And even less complicated is an even more basic layout scheme to get you up and running.

http://www.newbeginningsdesign.com/s...mn_layout.html
__________________

Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)

Last edited by moojoo; Sep 14th, 2006 at 14:08.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
help, center, website, frameset

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

LinkBacks (?)
LinkBack to this Thread: http://webforumz.com/web-page-design/8832-need-help-how-to-center-a.htm
Posted By For Type Date
Jay G.'s weblogs: Tag Page for Frameset This thread Refback Sep 19th, 2006 23:15

Similar Threads
Thread Thread Starter Forum Replies Last Post
word resize problem in frameset jacobds Web Page Design 4 Feb 13th, 2007 23:21
how to reload 1st frameset Totti JavaScript Forum 2 Oct 18th, 2006 18:09
Targeting Flash, Different Frameset RobinDeanDotCom JavaScript Forum 0 Jun 25th, 2006 21:28
FRAMESET and JS comaiwat Web Page Design 1 Mar 29th, 2006 08:23
Frameset target help please charter Flash & Multimedia Forum 4 Mar 28th, 2004 10:05


All times are GMT. The time now is 19:52.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8