473,805 Members | 1,958 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

html css two

kw
A new html learner is here. Please help.
I write a two column web page. Their widths are both fixed.
The left one is a menu and the right one is mainly for content
display. I pasted a few lines as the following:

#leftcolumn{
background-color: white;
clear: left;
width: 176px;
margin-left: 3px;
margin-right: 3px;
float: left;
margin-top: 3px;
}

#rightcolumn{
background-color: transparent;
width: 560px;
float: left;
overflow: auto;
border-left: 1px solid #C3C3C3;
padding-left: 10px;
padding-right: 10px;
margin-top: 6px;
padding-bottom: 1em;
}

The web page is correct when the browser's window is wide enough;
it behaves incorrectly when the window is narrow. That is say the
right column automatically flushes to underneath the left column.

What property can be specified to lock the right column?

Thank you very much,
May 31 '07
13 2174

David C. Stone wrote:
In article <5c************ *@mid.individua l.net>, Bergamot
<be******@visi. comwrote:
JD wrote:
>
If successful
websites are using fixed-width layouts, you can be pretty confident that
it doesn't send too many visitors away screaming.
Consider also that these big web sites, like BBC, are often successful
in spite of their sites, not because of them. Name recognition goes a
long way in tolerating a lousy site.

Yes, definitely. I hate the way the width of the page never expands
when you zoom the text size so you can actually read the stupid page...

I can mostly understand designers wanting to avoid having everything
horribly squished if the user makes the window too narrow, but why would
you not want your text content to be able to make the best use possible
of a window which is actually wider than 800 pixels, especially if the
user might very well want to enlarge the text size?

You'd think with the increasing number of boomers getting shortsighted
with age that some senior managers somewhere would actually be insisting
on this...
Well yes but.... It's not really the managers job to know what works
in a particular situation when it comes to items such as website
creation, although it does not help matters when the managers are
shown eather a print out of the website, or in the case of a number of
designers, they show the client an image of what the site will look
like in a PSD file.
--
Regards Chad. http://freewebdesign.awardspace.biz

Jun 3 '07 #11
In article <11************ **********@a26g 2000pre.googleg roups.com>,
Chaddy2222 <sp************ ***********@yah oo.com.auwrote:
David C. Stone wrote:
[snip]

I can mostly understand designers wanting to avoid having everything
horribly squished if the user makes the window too narrow, but why would
you not want your text content to be able to make the best use possible
of a window which is actually wider than 800 pixels, especially if the
user might very well want to enlarge the text size?

You'd think with the increasing number of boomers getting shortsighted
with age that some senior managers somewhere would actually be insisting
on this...
Well yes but.... It's not really the managers job to know what works
in a particular situation when it comes to items such as website
creation, although it does not help matters when the managers are
shown eather a print out of the website, or in the case of a number of
designers, they show the client an image of what the site will look
like in a PSD file.
Ah yes, I've run into that a couple of times: the "web site"
printed in glorious technicolour on nice, big pieces of paper.
But when you actually go and try to USE the stupid thing...
Jun 4 '07 #12
Chaddy2222 wrote:
David C. Stone wrote:
>In article <5c************ *@mid.individua l.net>, Bergamot
<be******@visi .comwrote:
>>JD wrote:
If successful
websites are using fixed-width layouts, you can be pretty confident that
it doesn't send too many visitors away screaming.
Consider also that these big web sites, like BBC, are often successful
in spite of their sites, not because of them. Name recognition goes a
long way in tolerating a lousy site.
Yes, definitely. I hate the way the width of the page never expands
when you zoom the text size so you can actually read the stupid page...

I can mostly understand designers wanting to avoid having everything
horribly squished if the user makes the window too narrow, but why would
you not want your text content to be able to make the best use possible
of a window which is actually wider than 800 pixels, especially if the
user might very well want to enlarge the text size?

You'd think with the increasing number of boomers getting shortsighted
with age that some senior managers somewhere would actually be insisting
on this...
Well yes but.... It's not really the managers job to know what works
in a particular situation when it comes to items such as website
creation, although it does not help matters when the managers are
shown eather a print out of the website, or in the case of a number of
designers, they show the client an image of what the site will look
like in a PSD file.
The manager who authorizes the work to be done and approves paying for
it must have some responsibility for the results.

Although my <http://www.rossde.com/internet/Webdevelopers.h tmlappears
to be a rant against Web developers who fail to adhere to standards, it
is actually targeted towards managers who arrange for Web pages to be
developed. That is why I explain HTML, CSS, etc in layman's terms and
why I discuss standards in the context of a busness's audience.

--

David E. Ross
<http://www.rossde.com/>.

Don't ask "Why is there road rage?" Instead, ask
"Why NOT Road Rage?" or "Why Is There No Such
Thing as Fast Enough?"
<http://www.rossde.com/roadrage.html>
Jun 5 '07 #13
Mon, 04 Jun 2007 19:17:53 -0700 from David E. Ross
<no****@nowhere .not>:
Although my <http://www.rossde.com/internet/Webdevelopers.h tmlappears
to be a rant against Web developers who fail to adhere to standards, it
is actually targeted towards managers who arrange for Web pages to be
developed.
A silly question perhaps, but why not rewrite it so that it actually
says what you want it to say? If it's "not actually a rant against
Web developers", why make it look like one?

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2.1 spec: http://www.w3.org/TR/CSS21/
validator: http://jigsaw.w3.org/css-validator/
Why We Won't Help You:
http://diveintomark.org/archives/200..._wont_help_you
Jun 6 '07 #14

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
8409
by: VK | last post by:
09/30/03 Phil Powell posted his "Radio buttons do not appear checked" question. This question led to a long discussion about the naming rules applying to variables, objects, methods and properties in JavaScript/JScript and HTML/XML elements. Without trying to get famous :-) but thinking it would be interesting to others I decided to post the following summary: 1. Variable names in JavaScript/JScript
4
2977
by: Francois Keyeux | last post by:
hello everyone: i have a web site built using vbasic active server scripting running on iis (it works on either iis 50 and 60, but is designed for iis 50) i know how to create a plain text email by creating a text file, with content following certain format, and saving that file into the correct '..\mailroot\pickup' folder, and it is working fine
1
2429
by: cirillo_curiosone | last post by:
Hi, i'm new to javascript. I started studing it on the web few weeks ago, but still haven't been able to solve one big problem: HOT TO PASS VALUES FROM A SCRIPT VARIABLE TO A CHILD HTML GENERATED BY FUNCTION. Here'e the point: I'm writing a simple website for showing my photographs. It has a central page with many links (as many as galleries are).
33
4789
by: LRW | last post by:
http://gto.ie-studios.net/index.php When you view the above site in IE, if the 1st of the three product images is tall enough to push the cell down a couple of pixels, IE somehow doesn't show that happening. But if you look at it in Firefox you can see the small gap of white where the semi-circle image is broken. I've tried changing the background colors to gray in cells and tables
0
395
by: Boris Ammerlaan | last post by:
This notice is posted about every week. I'll endeavor to use the same subject line so that those of you who have seen it can kill-file the subject; additionally, Supersedes: headers are used to ensure that only one copy resides on a given news server. This notice was last updated on March 9th, 2005, and is available (with a complete revision history) on the World Wide Web at http://www.stack.nl/~boris/HTML/ciwahfaq.html. Most of it was...
9
2012
by: Patient Guy | last post by:
Taking the BODY element as an example, all of its style attributes ('alink', 'vlink', 'background', 'text', etc.) are deprecated in HTML 4.01, a fact noted in the DOM Level 2 HTML specification. The DOM specification does not explicitly itself deprecate the use of attributes however for the element in the interface definition section I read. Is there text in the DOM specification that states specifically that the DOM specification...
5
3600
by: serge calderara | last post by:
Dear all, I am new in asp.net and prepare myself for exam I still have dificulties to understand the difference between server control and HTML control. Okey things whcih are clear are the fact that for server control component , code is running on the server side. But if I take as example a Label. I place on a webform an HTM label control and a WebForm label control, I could see that properties are different for
6
433
by: Guy Macon | last post by:
cwdjrxyz wrote: HTML 5 has solved the above probem. See the following web page: HTML 5, one vocabulary, two serializations http://www.w3.org/QA/2008/01/html5-is-html-and-xml.html
0
9596
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10103
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9179
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7644
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6874
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5536
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5676
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4316
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3839
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.