473,546 Members | 2,239 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Two Columns; Should be Simple

Viewed in IE, this page is exactly what I'm trying to do:

http://www.holotech.net/links/

Header, two fixed-width columns, and a footer. However, in NS and Opera,
the second column slides to the left, on top of the first column. I've read
all the tutorials and examples I could find, but everything else ends up
with the second column all the way over on the right side of the window. I
just want it butted up against the first column. I know this should be
simple, but I just can't get it.

I'm really, really trying not to use tables, but if I don't stop banging my
head on the desk soon I'm going to require medical attention.

--
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/
Jul 21 '05 #1
18 2165
Alan Little <al**@n-o-s-p-a-m-phorm.com> wrote:
http://www.holotech.net/links/

I'm really, really trying not to use tables


You've go far more important things to fix first:

1) Use semantic markup
2) Code to strict standard
3) Use CSS to replace junk like <br><br>
4) Not mix XHTML with HTML
5) Fix the micro fonts

--
Spartanicus
Jul 21 '05 #2
Carved in mystic runes upon the very living rock, the last words of
Spartanicus <in*****@invali d.invalid> of
comp.infosystem s.www.authoring.stylesheets make plain:
Alan Little <al**@n-o-s-p-a-m-phorm.com> wrote:
http://www.holotech.net/links/

I'm really, really trying not to use tables


You've go far more important things to fix first:

1) Use semantic markup
2) Code to strict standard
3) Use CSS to replace junk like <br><br>
4) Not mix XHTML with HTML
5) Fix the micro fonts


Thank you for your response. I'm afraid I don't understand most of it. I
am a programmer, not a designer. I know basic HTML, and I've learned some
basic CSS, but that's it. I know I can get the layout I want using
tables, but I'm trying to be more enlightened. I just want to put
together a simple template or two to go out with this application.

--
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/
Jul 21 '05 #3
Alan Little <al**@n-o-s-p-a-m-phorm.com> wrote:
http://www.holotech.net/links/

I'm really, really trying not to use tables
You've go far more important things to fix first:

Thank you for your response. I'm afraid I don't understand most of it. 1) Use semantic markup Use headers, lists, paragraphs. Divs and spans should only be used to
encapsulate code for styling purposes.2) Code to strict standard Use a Strict doctype and code in that spirit.3) Use CSS to replace junk like <br><br> Self evident.4) Not mix XHTML with HTML <... /> does not belong in a HTML document.5) Fix the micro fonts I can't read the microscopic font. Don't specify Verdana as the body
font, leave the body font size alone, and don't use the px unit for font
sizing. All these issues have been discussed to death on this group.
am a programmer, not a designer. I know basic HTML, and I've learned some
basic CSS, but that's it. I know I can get the layout I want using
tables, but I'm trying to be more enlightened.


Then first fix the above issues, they are far more detrimental to the
quality of the code than using tables for layout could be.

--
Spartanicus
Jul 21 '05 #4
Alan Little wrote:
Thank you for your response. I'm afraid I don't understand most of
it. I am a programmer, not a designer. I know basic HTML, and I've
learned some basic CSS, but that's it. I know I can get the layout
I want using tables, but I'm trying to be more enlightened. I just
want to put together a simple template or two to go out with this
application.


Perhaps a short study of this rather nice two-column template will help.
http://www.benmeadowcroft.com/webdev...ft-column.html

--
-bts
-This space intentionally left blank.
Jul 21 '05 #5
Carved in mystic runes upon the very living rock, the last words of
Spartanicus of comp.infosystem s.www.authoring.stylesheets make plain:
Alan Little <al**@n-o-s-p-a-m-phorm.com> wrote:
http://www.holotech.net/links/

I'm really, really trying not to use tables

You've go far more important things to fix first:

Thank you for your response. I'm afraid I don't understand most of it.

1) Use semantic markup

Use headers, lists, paragraphs. Divs and spans should only be used to
encapsulate code for styling purposes.
2) Code to strict standard

Use a Strict doctype and code in that spirit.
3) Use CSS to replace junk like <br><br>

Self evident.
4) Not mix XHTML with HTML

<... /> does not belong in a HTML document.
5) Fix the micro fonts

I can't read the microscopic font. Don't specify Verdana as the body
font, leave the body font size alone, and don't use the px unit for
font sizing. All these issues have been discussed to death on this
group.
am a programmer, not a designer. I know basic HTML, and I've learned
some basic CSS, but that's it. I know I can get the layout I want
using tables, but I'm trying to be more enlightened.


Then first fix the above issues, they are far more detrimental to the
quality of the code than using tables for layout could be.


OK, I took out the body font size specification and got rid of the
verdana. I got rid of all the double <BR>s and most of the single ones.
Hopefully the font size is readable now; it was always OK on my screen,
so I can't tell.

I'm afraid the rest is beyond my scope at the moment. I really do
understand your frustration with my less-than-perfect code. I've seen
programming code that made my skin crawl. But at the same time, I've
helped many a novice programmer get that klunky, awkward code just to
work, because I know everyone has to start somewhere.

I'm self-employed as a freelance programmer. I'm interested in learning
design and layout, but I can only afford to do it as time permits. I go
to csszengarden.co m sometimes and just look through all the amazing
designs. But that's not the focus of my business at the moment, so all I
can do is get it by bits and pieces.

For now, if I can just get a simple template that I can ship with this
application, I'll be happy. The template is not going to be used in most
cases anyway, beyond initial setup. The application is designed to be
integrated into other site designs.

Do you have any insight into my layout problem?

--
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/
Jul 21 '05 #6
Carved in mystic runes upon the very living rock, the last words of
Beauregard T. Shagnasty of comp.infosystem s.www.authoring.stylesheets
make plain:
Alan Little wrote:
Thank you for your response. I'm afraid I don't understand most of
it. I am a programmer, not a designer. I know basic HTML, and I've
learned some basic CSS, but that's it. I know I can get the layout
I want using tables, but I'm trying to be more enlightened. I just
want to put together a simple template or two to go out with this
application.


Perhaps a short study of this rather nice two-column template will
help.
http://www.benmeadowcroft.com/webdev...ft-column.html


Thanks. I forgot to mention that that's the other thing I tried, absolute
positioning. But with that I couldn't figure out how to have my footer.

I once saw a layout like what I'm trying to do, but now I can't find it
again.

--
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/
Jul 21 '05 #7
Alan Little <al**@n-o-s-p-a-m-phorm.com> wrote:
Then first fix the above issues, they are far more detrimental to the
quality of the code than using tables for layout could be.
OK, I took out the body font size specification and got rid of the
verdana. I got rid of all the double <BR>s and most of the single ones.
Hopefully the font size is readable now; it was always OK on my screen,
so I can't tell.

I'm afraid the rest is beyond my scope at the moment. I really do
understand your frustration with my less-than-perfect code. I've seen
programming code that made my skin crawl. But at the same time, I've
helped many a novice programmer get that klunky, awkward code just to
work, because I know everyone has to start somewhere.

I'm self-employed as a freelance programmer. I'm interested in learning
design and layout, but I can only afford to do it as time permits. I go
to csszengarden.co m sometimes and just look through all the amazing
designs. But that's not the focus of my business at the moment, so all I
can do is get it by bits and pieces.


The points I raised have nothing to do with "design", they relate to
more important and fundamental issues such as lack of structure, poor
usability and accessibility.

Your admiration for csszengarden may be related to your current poor
coding, the code used by csszengarden is an text book example of how
*not* to code normal webpages.
For now, if I can just get a simple template that I can ship with this
application, I'll be happy. The template is not going to be used in most
cases anyway, beyond initial setup. The application is designed to be
integrated into other site designs.

Do you have any insight into my layout problem?


The problem lies with your aim of not using tables for layout,. Your CSS
skills are not yet sufficient to tackle this thorny task. Not using HTML
tables for layout can be compared to the proverbial cherry on top of the
cake, it adds little to the overall quality of the product. If not
handled by someone who has a good understanding of web layouts combined
with advanced CSS skills the end result is often worse compared to when
the design had used an HTML table for layout.

--
Spartanicus
Jul 21 '05 #8
Spartanicus wrote:
Use headers, lists, paragraphs.
Yes.
Divs and spans should only be used to
encapsulate code for styling purposes.


No, not only. They are for grouping content.
--
Johannes Koch
In te domine speravi; non confundar in aeternum.
(Te Deum, 4th cent.)
Jul 21 '05 #9
Johannes Koch <ko**@w3develop ment.de> wrote:
Divs and spans should only be used to
encapsulate code for styling purposes.


No, not only. They are for grouping content.


Nope. No UA should do anything non stylistic with divs and spans, if it
does it's badly broken.

--
Spartanicus
Jul 21 '05 #10

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

Similar topics

7
3229
by: Alex | last post by:
Hi Everone, I need some advice on how to setup 4 columns where the outside two are absolute (120px) and the inner two (side by side) are relevent (Fluid) and change with the screen. Here's my rough layout:
0
2289
by: Ray | last post by:
Folks, I have just created a simple procedure that does the following: Determines the width of the columns of a listbox. Places a button of the correct size above each column as the form opens. Sorts by that column when you click the button. Automatically toggles between ASC and DESC sort sequence. To implement it on a new form, you...
11
1337
by: Jon Davis | last post by:
I have a Windows Forms app in which I have a DataGrid control. I have a custom class that has several properties exposed, and I have made this class, or a collection thereof, the DataSource of the DataGrid. This neat feature of the DataGrid allows the properties to be displayed in a Collection of this class. Now, how do I order the columns...
1
840
by: Amber | last post by:
The DataGrid allows you to make columns visible or invisible on demand - even edit and other special columns. This article will show you how it is done. Some developers have reported problems controlling the visibility of columns in the DataGrid control. The problem usually comes down to one fact. The DataGrid has a property called...
2
6380
by: CSL | last post by:
I am using the DataGrid in a Windows Application, how can I adjust the widths of each column individually.
5
2641
by: Gary Blakely | last post by:
I'm giving this post another try - it can't be too difficult for everyone.... In the program below, the web page has dataGrid1. the only thing that has been done to it at design time is to check the "Create columns automatically at runtime" checkbox - nothing else. The code below does indeed create the visual grid as expected. ...
2
1159
by: Dibs | last post by:
Hi all, short question. is there anyway of changing the order of a datatable's columns? cheers, Dibs
9
2677
by: serge | last post by:
/* Subject: How to build a procedure that returns different numbers of columns as a result based on a parameter. You can copy/paste this whole post in SQL Query Analyzer or Management Studio and run it once you've made sure there is no harmful code. Currently we have several stored procedures which final result is a select with several...
5
2150
by: explode | last post by:
I made a procedure Public Sub Novo(ByVal nova1 As String, ByVal nova2 As String) that creates a new oledbDataAdapter with insert update select and delete commads. I also added that commands can change depending how many columns are in a Table. I add a new column with this code: Private Sub Button4_Click(ByVal sender As System.Object, ByVal...
3
7489
by: =?Utf-8?B?Um9iZXJ0IENoYXBtYW4=?= | last post by:
Hi, I have a GridView with a fixed number of columns being returned from a SQL query and each having a simple template: <asp:TemplateField HeaderText="Allocations"> <edititemtemplate> <asp:TextBox id="txt89" runat="server" Text='<%# Bind("89") %>' asp:TextBox> </edititemtemplate> </asp:TemplateField>
0
7504
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7435
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...
0
7694
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7947
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7461
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7792
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...
0
6026
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...
0
3470
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
747
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.