Help changing pixels to percentages...

windows

Guest
I need some help on a page..I have a lot of tables, w/ a lot of cells and stuff in it, and I need to convert the whole page to %'s so it will show up good in all resolutions. Does anyone know of good way to do this or what? do you convert all tables, frames, and pictures...and exactly how do I do it? hehe thanks<br />
<br />
I made it in 800 by 600<br />
<br />
<!-- m --><a class="postlink" href="http://chris.elisemarieacademy.co.uk/tcmax.net/default.htm">http://chris.elisemarieacademy.co.uk/tc ... efault.htm</a><!-- m --><!--content-->ohh a lot of tables? not.. you have 177 lines to go through. the best bet is to go 1 by 1 and do it yourself. or load it in FrontPage and pray it will make them the correct percentages.<!--content-->The page was created in Frontpage using pixels for everything. I tried going through one by one, but I couldnt figure out what % numbers to change the pixels to. How is this done? Thanks<br />
<br />
Chris<br />
<!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e --><!--content-->never make the images in %, always use pixels for these. just do the tables<!--content-->Hi! Why change to %? It depends on your site content more than anything. If you have little to show in your pages then the site could look quite bare when viewed at 1000px's and above. <br />
<br />
However using percentages can make your site very dynamic and look good at diffrent screen res's. I would suggest you use a mixture of pixel and percentage dimensions. This is what I have done to my site. I am low on content right now and hardly find the time to manage my own site but I do like the expandable frames (sim technique to tables).<br />
<br />
Which ones do you change? That is hard to say without seeing what you are really trying to achieve. If you look at my site you will see the border frames are fixed and thus in pixel dimensions. This is to present a solid area for the border images. The central main area has an unspecified width using the * attribute. This is so that it can expand to the users settings. The final element is what I call a spacer. As the page was created at a screen res of 790 in width i needed to create and dynamic element for the top and bottom of the page so that it expands with the main area. The dynamic element then expands as the res increases. I have included the source to my frameset in the next post so you have better idea of what i am talking about.<br />
<br />
As a final note. How to change the px's! Use Netscape Composer, if you haven,t got it Download <!--more--> netscape for free, it comes with composer. Open your page in composer and then with right clicks over the various tables (that is if it is tables you want to change and not frames) you can control everything you need. Composer is a useful platform for web development and I feel it is higly underated especially for table creation. You won't regret it. Anyway, I hope that makes sense and that the following source provides a useful example of dynamic design. Remember these principles are almost identical when authoring frames and tables.<!--content--><frameset rows="105,*" frameborder="NO" border="0" framespacing="0"> <br />
<frameset cols="114,*" border="0" framespacing="0" frameborder="NO"> <br />
<frame src=http://www.htmlforums.com/archive/index.php/"topleft.htm"><br />
<frameset cols="*,676" frameborder="NO" border="0" framespacing="0"> <br />
<frame src=http://www.htmlforums.com/archive/index.php/"topmid.htm"><br />
<frame src=http://www.htmlforums.com/archive/index.php/"topright.htm"><br />
</frameset><br />
</frameset><br />
<frameset rows="*,87" frameborder="NO" border="0" framespacing="0"> <br />
<frameset cols="32,*" border="0" framespacing="0" frameborder="NO"> <br />
<frame src=http://www.htmlforums.com/archive/index.php/"left.htm"><br />
<frameset cols="*,32" border="0" framespacing="0" frameborder="NO"> <br />
<frame src=http://www.htmlforums.com/archive/index.php/"main.htm" name="main"><br />
<frame src=http://www.htmlforums.com/archive/index.php/"right.htm"><br />
</frameset><br />
</frameset><br />
<frameset cols="676,*" border="0" framespacing="0" frameborder="NO"> <br />
<frame src=http://www.htmlforums.com/archive/index.php/"botleft.htm"><br />
<frameset cols="*,114" border="0" framespacing="0" frameborder="NO"> <br />
<frame src=http://www.htmlforums.com/archive/index.php/"botmid.htm"><br />
<frame src=http://www.htmlforums.com/archive/index.php/"botright.htm"><br />
</frameset><br />
</frameset><br />
</frameset><br />
</frameset><!--content-->don't agree with what?<br />
<br />
and why did you post a frameset when he isn't even using frames?<!--content-->Why I posted was because I don't have a table example at work to explain what I was trying to say. However I feel the principles are the same when applying pixels and percentages to the overall look of a site whether useing frames or tables. I was just trying to convey how you can have a dynamic set up and still have it look good.<br />
<br />
And sorry, I read one of your posts wrong.<br />
<br />
never make the images in %, always use pixels for these. just do the tables <br />
<br />
I read that first as never make your tables in %.<br />
Sorry<!--content-->Thanks everyone for helpin me out...I finally got it all worked out....I dont have a whole lot of content, as it is a page for an ISP, and so I just made it in %'s. I changed all the table variables, and none of the pictures, and that worked perfect after foolin w/ it for a while. Thanks for everyone who responded though, each one helped! :) Thanks<br />
<br />
Chris<br />
<!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e --><!--content-->Anyday... it's not a problem. I hope you are watching your team as well tho in the World cup, I hope they stuff Germany.<br />
<br />
Come on England!!!! Lets hear those Lions Roar.<br />
<!-- m --><a class="postlink" href="http://www.entimp.com/3lions.gif">http://www.entimp.com/3lions.gif</a><!-- m --><!--content-->Originally posted by entimp <br />
And sorry, I read one of your posts wrong.<br />
<br />
<br />
I read that first as never make your tables in %.<br />
Sorry <br />
hehe :D no problem<!--content-->
 
Back
Top