Solved

100% Width

Posted on 2013-12-20
3
285 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 39

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

707 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now