I am having problems with a Web site that I've designed and I am
grinding my teeth in frustration.
The pages are built around a table with four cells. The first cell is
spanned two rows and is for the sidebar navigation, The second cell is
the main content and the third (in the second row) for the page footer.
I cannot figure out why on some pages a gap opens up on the side of
image at the top of the navigational side bar. It appears to happen on
pages that have a small amount of content, but displays more or less
consistently correct on pages which are long. It does not always display
with the gap only sometimes but in almost every browser that I have found.
Here is the web address for the site http://www.morewithless.org/index.html
Here is the main css file http://www.morewithless.org/css/aprimary.css 17 2642
FDYocum wrote: The pages are built around a table with four cells.
This layout looks pretty simple, something that could probably be done
with css instead of table layout. http://www.allmyfaqs.com/faq.pl?Tableless_layouts
Go all the way and do HTML 4 strict with css for presentation.
I cannot figure out why on some pages a gap opens up on the side of image at the top of the navigational side bar.
I'd imagine it's border-collapse. Default value is "separate." You want
them to collapse. Thus, for you main layout table -- if you're going to
keep it -- you want this:
border-collapse: collapse; http://www.w3.org/TR/CSS21/tables.ht...order-collapse
Here is the web address for the site http://www.morewithless.org/index.html
From the validator:
# A level 3 heading is missing!
* A level 4 heading is missing!
o A level 5 heading is missing!
You ought to fix that.
Here is the main css file http://www.morewithless.org/css/aprimary.css
You've got lots of stuff at the beginning that is entirely unneccessary.
HR, MENU, PRE { display: block }
LI { display: list-item }
HEAD { display: none }
TABLE { display: table }
TR { display: table-row }
COL { display: table-column }
COLGROUP { display: table-column-group }
TD, TH { display: table-cell }
CAPTION { display: table-caption }
You've just explicitly asked for the default. Remove all this stuff.
(I've snipped most of it. It's all the "display" stuff.) The only thing
that you've changed is Img display: block. That is not the default, so
keep that.
--
Brian (remove "invalid" from my address to email me) http://www.tsmchughs.com/
FDYocum wrote: The pages are built around a table with four cells.
This layout looks pretty simple, something that could probably be done
with css instead of table layout. http://www.allmyfaqs.com/faq.pl?Tableless_layouts
Go all the way and do HTML 4 strict with css for presentation.
I cannot figure out why on some pages a gap opens up on the side of image at the top of the navigational side bar.
I'd imagine it's border-collapse. Default value is "separate." You want
them to collapse. Thus, for you main layout table -- if you're going to
keep it -- you want this:
border-collapse: collapse; http://www.w3.org/TR/CSS21/tables.ht...order-collapse
Here is the web address for the site http://www.morewithless.org/index.html
From the validator:
# A level 3 heading is missing!
* A level 4 heading is missing!
o A level 5 heading is missing!
You ought to fix that.
Here is the main css file http://www.morewithless.org/css/aprimary.css
You've got lots of stuff at the beginning that is entirely unneccessary.
HR, MENU, PRE { display: block }
LI { display: list-item }
HEAD { display: none }
TABLE { display: table }
TR { display: table-row }
COL { display: table-column }
COLGROUP { display: table-column-group }
TD, TH { display: table-cell }
CAPTION { display: table-caption }
You've just explicitly asked for the default. Remove all this stuff.
(I've snipped most of it. It's all the "display" stuff.) The only thing
that you've changed is Img display: block. That is not the default, so
keep that.
--
Brian (remove "invalid" from my address to email me) http://www.tsmchughs.com/
FDYocum wrote: I cannot figure out why on some pages a gap opens up on the side of image at the top of the navigational side bar. It appears to happen on
BTW, I like the background image, but may I make a suggestion? Have the
faded version continue to show through on a:active and a:hover/a:focus.
--
Brian (remove "invalid" from my address to email me) http://www.tsmchughs.com/
FDYocum wrote: I cannot figure out why on some pages a gap opens up on the side of image at the top of the navigational side bar. It appears to happen on
BTW, I like the background image, but may I make a suggestion? Have the
faded version continue to show through on a:active and a:hover/a:focus.
--
Brian (remove "invalid" from my address to email me) http://www.tsmchughs.com/
On Fri, 23 Apr 2004, Brian wrote: This layout looks pretty simple, something that could probably be done with css instead of table layout.
I reckon so too...
From the validator:
"The" validator?
# A level 3 heading is missing! * A level 4 heading is missing! o A level 5 heading is missing!
Nothing "invalid" about that, though. Might or might not be poor
practice, depending on content, but it's no business of a validator
(per se) to report such issues. It would be a nice thing to have in a
checker/linter though. Sorry if this seems pedantic, but there's a
principle at stake...
My first complaint about the site would be that it demands a wider
window than I gave it, instead of calmly adapting itself to what it
finds.
Browsers on the whole do an excellent job of fitting content into the
available display area, with perhaps a little help in terms of
percentage proportions. It seems so hard to persuade authors to let
go of something which they basically can't control, and concentrate on
exploiting the strong points of the web concept.
That body font size of 13px turns out not too bad on the laptop, but
would be a disaster on the office machine. 1.0em would be better for
both of them. And this sidebar height being specified as 769px seems
like it ought to be a big flashing warning sign, IMHO: this isn't
cartography.
You've got lots of stuff at the beginning that is entirely unneccessary.
That too, yes. But as you say, most of it does no harm. I'm more
concerned about the bits that do.
all the best
On Fri, 23 Apr 2004, Brian wrote: This layout looks pretty simple, something that could probably be done with css instead of table layout.
I reckon so too...
From the validator:
"The" validator?
# A level 3 heading is missing! * A level 4 heading is missing! o A level 5 heading is missing!
Nothing "invalid" about that, though. Might or might not be poor
practice, depending on content, but it's no business of a validator
(per se) to report such issues. It would be a nice thing to have in a
checker/linter though. Sorry if this seems pedantic, but there's a
principle at stake...
My first complaint about the site would be that it demands a wider
window than I gave it, instead of calmly adapting itself to what it
finds.
Browsers on the whole do an excellent job of fitting content into the
available display area, with perhaps a little help in terms of
percentage proportions. It seems so hard to persuade authors to let
go of something which they basically can't control, and concentrate on
exploiting the strong points of the web concept.
That body font size of 13px turns out not too bad on the laptop, but
would be a disaster on the office machine. 1.0em would be better for
both of them. And this sidebar height being specified as 769px seems
like it ought to be a big flashing warning sign, IMHO: this isn't
cartography.
You've got lots of stuff at the beginning that is entirely unneccessary.
That too, yes. But as you say, most of it does no harm. I'm more
concerned about the bits that do.
all the best
Thanks Brian, I've made the mistake of asking the question as I start my
weekend and don't easily have access to the site until Monday. I've
stuck with some form of table because I have to justify the change in
design to the rest of the organization...
I based the stylesheet on the example on the w3 site.
Being a new to css I was not sure whether one explicitly declare all the
elements or not. In css 'less is more'?
Brian wrote: HR, MENU, PRE { display: block } LI { display: list-item } HEAD { display: none } TABLE { display: table } TR { display: table-row } COL { display: table-column } COLGROUP { display: table-column-group } TD, TH { display: table-cell } CAPTION { display: table-caption }
You've just explicitly asked for the default. Remove all this stuff. (I've snipped most of it. It's all the "display" stuff.) The only thing that you've changed is Img display: block. That is not the default, so keep that.
Thanks Brian, I've made the mistake of asking the question as I start my
weekend and don't easily have access to the site until Monday. I've
stuck with some form of table because I have to justify the change in
design to the rest of the organization...
I based the stylesheet on the example on the w3 site.
Being a new to css I was not sure whether one explicitly declare all the
elements or not. In css 'less is more'?
Brian wrote: HR, MENU, PRE { display: block } LI { display: list-item } HEAD { display: none } TABLE { display: table } TR { display: table-row } COL { display: table-column } COLGROUP { display: table-column-group } TD, TH { display: table-cell } CAPTION { display: table-caption }
You've just explicitly asked for the default. Remove all this stuff. (I've snipped most of it. It's all the "display" stuff.) The only thing that you've changed is Img display: block. That is not the default, so keep that.
Thanks for checking the pages out Alan.
What I would like to have is semi-control, so that the text would
collapse if the window was smaller -- to fit into smaller screen sizes,
but not exceed a certain width to keep the text flow comfortably
readable. Using max and min tags would be most helpful, but these are
not implemented by the bulk of the browsers out there at the moment?
Alan J. Flavell wrote: My first complaint about the site would be that it demands a wider window than I gave it, instead of calmly adapting itself to what it finds. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Toby Austin |
last post by:
I'm trying to replace <table>s with <div>s as much as possible.
However, I can't figure out how to do the following…
<table>
<tr>
<td valign="top" width="100%">some data that will 'stretch'</td>
<td valign="top" width="300">some data that won't 'stetch'</td>
</tr>
</table>
|
by: Richard Lawrence |
last post by:
Hi,
Consider the following:
#Content {
margin:0px 210px 50px 200px;
padding:10px;
}
If I use it with the following HTML:
|
by: john T |
last post by:
Is there anyway to vertically center a html table using css in such a
way it does not alter the html table. When I tryied it just screws up.
|
by: Jon Ole Hedne |
last post by:
I have worked on this problem some hours now (read many-many...), and I
can't solve it:
In vba-code I create a table with Connection.Execute, and add some data to
it. This table is saved in the backend-database. After generating this
table, I want to open a report based on a query with data from this
temporary table. In the report's OnOpen...
|
by: Adriaan van Heerden |
last post by:
hi,
once again apologies if I'm covering old ground. I've looked through
lots of previous posts and tried some code but nothing works as yet.
However, the problem must be a very common one so I'm slightly
surprised there isn't more on this (unless I'm missing something -- if
so please just point me in the right direction), and the textbooks...
| |
by: deko |
last post by:
I've heard it's best not to have any formatting specified for Table fields
(except perhaps Currency), and instead set the formatting in the Form or
Report. But what about Yes/No fields? When I create a Yes/No field in a
Table the default format is "Yes/No". If I clear or change the Format
property in the General Tab (and keep the default...
|
by: TORQUE |
last post by:
Hi,
Im wondering if anyone can help me with a problem.
I have a form with more than 50 unbound fields.
Some of the fields will be blank from time to time.
This seems to be where im having trouble.
I have tried keeping some of the fields bound and when I use the save button
it has been saving as 2 different records. This is unacceptable.
...
|
by: Serge Rielau |
last post by:
Hi all,
Following Ian's passionate postings on problems with ALTOBJ and the
alter table wizard in the control center I'll try to explain how to use
ALTOBJ with this thread. I'm not going to get into the GUI because it is
hard to describe in text.
First of all what is the purpose of ALTOBJ()?
This procedure was created mostly for ISVs who...
|
by: Rahul B |
last post by:
Hi,
I have a user UCLDEV1 which is a part of staff and a
group(db2schemagrp1) to which i have not given any permissions.
The authorizations of that user are shown as
db2 =get authorizations
Administrative Authorizations for Current User
|
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...
|
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...
| |
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...
|
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...
|
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...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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
| |