Solved

100% Width

Posted on 2013-12-20
3
298 Views
Last Modified: 2013-12-21
Hi Experts,

I'm starting a new portal site, having lots of dynamic content, with dropdowns, lists, etc... Sort of like EE, but much busier.

How hard is it to make it fit 100% in width in any browser, in any resolution?
0
Comment
Question by:APD_Toronto
3 Comments
 
LVL 40

Expert Comment

by:Kyle Abrahams
ID: 39732891
not hard at all.

I would set a class say full width:


.FullWidth
{
   width: 100%
}

then you can specify the class FullWidth for any object you need it on, including your <td>s and what not.

Hope that helps.
0
 

Author Comment

by:APD_Toronto
ID: 39733101
but, what about if I had a row of dropdowns... Wouldn't for lower resolutions, some of these dropdowns fall on the row below?
0
 
LVL 28

Accepted Solution

by:
chilternPC earned 500 total points
ID: 39733336
yes, but thats then its not really just about the width. its about the design of the whole website.
for a website to 'fit' any resolution I suggest you use a responsive design.  this isn't just about fitting things across the across, but laying them out differently depending on the screen width.

As you suggest a large screen can have many menu items, whereas a small res screen will probably double up the menus and overlap them.  So you need to use CSS to readjust the layout for different screen resolutions.

To get started try  version 3 of Bootstrap this is a framework that will let you design a responsive website site.  its all explained at this site    http://getbootstrap.com
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Access RV042 GUI / Browser Issues 25 45
jQuery Dialog Autoresize Bug 2 24
Hiding Adsense on Mobile Devices 2 25
JS Event Does not Trigger From File 2 23
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question