Get ready for BLACK FRIDAY shopping starting in

Forums

This topic is locked

Need help with Frames resizing

Posted 06 Oct 2005 06:28:42
1
has voted
06 Oct 2005 06:28:42 Alex Boivin posted:
Hi,

I'm currently working on a web site (www.2monts.com/test/) and I'm having a bit of trouble. The site is basicaly a 3 frame set, one top, one bottom left and bottom right.
When i view it in 1600x1200 everything is ok and the alignement is perfect. If i view it in 1024x768 though, the alignement is all wrong with the 2 bottom frames. I tried to rearrange the frames in dreamweaver but when it's all good in 1024x768, it's not aligned in 1600x1200.

Is there a way i could prevent this from happening? Someway to restrict the frames to the center of the page regardless of the resolution of the user? I'm using html only, no ASP, PHP or CGI. I consider myself as a beginner in web design.

Thank you very much for your help.

Edited by - MrLeX on 06 Oct 2005 06:30:19

Replies

Replied 06 Oct 2005 22:26:36
06 Oct 2005 22:26:36 Simon Martin replied:
Hi Alex,
You could consider having another frameset to nest your content in.
3 columns with the sides being flexible - this would keep your content centred on the page regardless of browser size.

<frameset cols="*,790,*" frameborder="NO" border="0" framespacing="0">
<frame src="blank.htm" name="leftFrame" scrolling="NO" noresize>
<frame src="main.htm" name="mainFrame">
<frame src="blank.htm" name="rightFrame" scrolling="no" id="rightFrame">
</frameset>

You would put your current page in to the mainFrame with this approach.

<i>However</i> I would ask why are you doing this in frames? There are a number of drawbacks to using frames; one of the more relevant being that its difficult to link to any of your actual pages which has a negative effect on your search engine positioning. I know there are steps that can be taken to keep the pages accessible, but feel that they are at an advanced level.

Could you achieve your design by using CSS? There are some excellent tutorials on the web and right here on DMXZone that will get you going in the right direction and if you get stuck post back for some more help.

Live the life you love
Love the life you live
~ ~ ~ ~ ~ ~ ~
<b>Simon Martin</b> - <i>DMXzone Manager</i>
<font size=1>[ Dreamweaver MX/MX2004 | ASP | SQL | XHTML/CSS | Web Accessibility ] </font id=size1>
Replied 07 Oct 2005 06:20:30
07 Oct 2005 06:20:30 Alex Boivin replied:
Hi Simon,

Thank you very much for the information, it will really help me a lot. As for your question, I have no knowledge of CSS. I will read the tutorials on CSS but for the monent I will simply use famesets, the webpage i'm designing right now is for a municipal election ending in 3 weeks, I won't have enough time to redesign the whole site in CSS.

Thank you very much for your advice Simon.

Reply to this topic