Solved

100% Width

Posted on 2013-12-20
3
305 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 29

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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…
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 …

691 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