Website Sizing with Percentages

This is a discussion on "Website Sizing with Percentages" within the Starting Out section. This forum, and the thread "Website Sizing with Percentages are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Starting Out

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jan 15th, 2008, 18:30
New Member
Join Date: Jan 2008
Location: Washington
Age: 24
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Website Sizing with Percentages

Hello All, I am new to css and have managed to design my first webpage but am now finding out that many issues can occur as there are many browsers and different screen sizes out there. My website is not compatible size wise and I was possibly looking for some tips. I had heard that percentages were the way to go because they will allow the site to re-size according to the browser/screen size but when I tried this method it looked fine in ie 7 but was nearly a totally different site in firefox 2.0. How should percentages be used (if I should even use this method)? Are there any specific methods I should use?

My website can be found at http://www.rooftrusssupply.com . I only updated the home page with all percentages on the images but still it looks a little awkward in places especially in firefox and the images look a little distorted. Any help would be great thanks so much.


Trev
Reply With Quote

  #2 (permalink)  
Old Jan 17th, 2008, 12:45
Up'n'Coming Member
Join Date: Jan 2008
Location: London
Age: 17
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Website Sizing with Percentages

width="50%" height="40%" is how you use percentages.

Firefox needs extra bits of coding for it to look like it does in IE, as far as i know.

Id stick to witdh="30px" for example as it keeps it the same size for everyone, and can be hard work to design with %'s

Good luck

~Dean
Reply With Quote
  #3 (permalink)  
Old Jan 17th, 2008, 16:03
JustinStudios's Avatar
SuperMember

SuperMember
Join Date: Mar 2007
Location: USA
Posts: 406
Blog Entries: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to JustinStudios
Re: Website Sizing with Percentages

Hey,
Your site doesn't really have to be "fit to screen". There are many times and many places where % are important, but in your case I'd leave the site as fixed. Site's like webforumz where using percentages that make the text boxes longer so people don't have to scroll so much is very nice. But a site like yours, it wouldn't really benefit your user much at all.

If you would like to learn how to do the percentage thing then I suggest going for it. But I don't think its something you must learn now for that site.

HTH
Reply With Quote
  #4 (permalink)  
Old Jan 17th, 2008, 19:18
Jack Franklin's Avatar
Resources Administrator

SuperMember
Join Date: May 2007
Location: Cornwall, England
Posts: 1,268
Blog Entries: 7
Thanks: 10
Thanked 4 Times in 4 Posts
Re: Website Sizing with Percentages

Quote:
Originally Posted by Bravo81 View Post
width="50%" height="40%" is how you use percentages.

Firefox needs extra bits of coding for it to look like it does in IE, as far as i know.

Id stick to witdh="30px" for example as it keeps it the same size for everyone, and can be hard work to design with %'s

Good luck

~Dean
Best to use CSS if you can.
Code: Select all
#itemid {
width: 50%;
}
Last Blog Entry: My Latest Project - Grilling Gurus... (Jun 11th, 2008)
Reply With Quote
Reply

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
WEbsite Sizing neel Web Page Design 12 Apr 24th, 2007 19:40
Sizing issues galan98 Starting Out 6 Apr 24th, 2007 15:27
Sizing of a page enemeth Web Page Design 4 Feb 13th, 2007 11:44
css div percentages and loading content in specific divs antonyx Web Page Design 3 Dec 24th, 2005 15:45
Text Box Sizing JohnMitch Web Page Design 2 May 4th, 2005 05:18


All times are GMT. The time now is 01:43.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43