Dears,
I'd like to know the cleanest solution for the following problem.
I want to insert some CSS/htm after a long vertical column
of DIVs absolutely positioned.
Since this code is generated automatically by a streamwriter, I am
looking for the cleanest and simplest solution possible.
I would like:
- No reference to external stylesheet
- No solution where I have to write something "before and after" some
other code. The code should be in on place only, possibly at the end of
the page.
Thank you very much,
Pam
----------------------------------------------------------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UT F-8">
<style type="text/css" media="screen">
..c0bg{position :absolute...
..c0fg{position :absolute...
..... A lot DIVs here in a long vertical column ...
.... All DIVs absolutely positioned
<div class=c3bg style="top:...
<div class=c3bg style="top:...
Q. How do I place the following at the bottom of the page ?
<br><p><b><fo nt face="Tahoma" size="2" color="#99CCFF" >Page
automatically generated on ... </font></a></font></b></p>
</body>
</html>
Aug 20 '06
22 2241 pa***********@l ibero.it schrieb:
>>>As to fonts, No the user cannot change sizes. Everything is done absolutely with pixel precision.
That is almost always a mistake.
Agree with that from the perspective of a web artist. My perspective is
that
of a document prepared in a page setter (like quark Xpress) and
outputted to web.
There are many other things (pictures, label, text) to match: so
precision is a feature.
You can't do that in a reliable way with HTML and CSS; if
pixel-perfection is crucial you need to choose another file format, such
as PDF, Flash or GIF.
There is an important difference between print and screen design: In
print design you have control over the viewing situation (your prepared
layout printed by your favorite printer on a fixed-size piece of paper),
while in screen design the viewing situation can vary a lot - imagine
your boss wanting his/her site to look good both on the 20 inch desktop
screen and the Palm.
>>>Fonts are fixed defined in pixels. This is a very precise layout (enterpris e report). User cannot change it. User can only interact with it with some onclick onmousedown events.
The user can always change it, unless you have some way of absolutely controlling the users' browser and environment.
That I have just tried. Changing the font size from the menu has no
effects (tried with IE).
Try it with Firefox. Google this group and you find tons of discussions
about this behaviour of IE being correct or not - anyway you can't even
know if future versions of IE will behave like the same.
If you code for IE6 behaviour you might get the desired look for a
majority of today's users, but it is a good idea to make sure it does
not break for the others.
Thanks for the advice. If all of you experts think there is no clean
solution in js/css, I will resort
to compute the last div position programmaticall y. Let me know...
How do you want to do this?
--
Markus pa***********@l ibero.it schrieb:
I know that if you could see all the code generated you would have some
tons of criticism, but I have to balance a lot of other things and
considerations. This is not a page manually created, but an attempt to
render as close as possible a design made in a composer.
There are also interactivity problem as I have to handle the click on
each cell. and there could be thousands of cell arranged in any
possible layout, not necessarily "tables".
Cells can have pictures and alarms inside. There can be label
superposed precisely on charts,... So a mess.
I think that Flash is the perfect tool for what you need to achieve. You
have all kinds of layout possibilities, can easily add any kind of
interactivity to any kind of element, and you can script it all for
automatic generation. I assume that it is not difficult to find a Flash
crack who will be happy to build this for you, as it seems to be an
interesting application.
--
Markus
Thanks Marcus.
Flash is losing ground lately, I think ...
PS
No, it was just a provocation :)
Markus Ernst ha scritto: pa***********@l ibero.it schrieb:
I know that if you could see all the code generated you would have some
tons of criticism, but I have to balance a lot of other things and
considerations. This is not a page manually created, but an attempt to
render as close as possible a design made in a composer.
There are also interactivity problem as I have to handle the click on
each cell. and there could be thousands of cell arranged in any
possible layout, not necessarily "tables".
Cells can have pictures and alarms inside. There can be label
superposed precisely on charts,... So a mess.
I think that Flash is the perfect tool for what you need to achieve. You
have all kinds of layout possibilities, can easily add any kind of
interactivity to any kind of element, and you can script it all for
automatic generation. I assume that it is not difficult to find a Flash
crack who will be happy to build this for you, as it seems to be an
interesting application.
--
Markus
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Peter Diedrich |
last post by:
The site design is pretty simple:
============================================
| Head |
============================================
| | | |
| | | |
| left | center | right |
| | | |
| | | |
|
by: Tony Benham |
last post by:
Hi,
I've been trying for a while, but I still haven't worked out a way of making
a footer appear at the bottom of a webpage, and not at the bottom of the
browser window ! See http://woodleyzebrasfc.port5.com/index.html for an
example. The div with id footer appears at the bottom of the browser window,
but I'm trying to make it appear at the bottom of the page, so that you
scroll down to see it if needed, and it will be placed below the...
|
by: Tristan Miller |
last post by:
Greetings.
I have a two-column web layout, where the first column is just the regular
body text with a "marign-right" of 16em, and the second column is an
"absolute"-positioned div with a width of 16em.
I would like to have a footer extending across the entire width of the page,
at the very bottom of the page (i.e., after both columns end). How can I
do this? There is no way of knowing in advance which of the two columns
will be...
|
by: Ian Watts |
last post by:
Hi
I am designing a website for a local school, and I have knocked up a
quick prototype for them to look at.
http://www.ianwatts.info/schoolweb/
http://www.ianwatts.info/schoolweb/school.css
The problem I am having is that the footer is not clearing both of the
|
by: Peter Wu |
last post by:
Hello,
I want to create a Header and Footer for every ASPX page I build. I
created 2 Web user controls respectively and placed them in an ASPX page.
The problem is that I cannot position the Footer to be always at the
bottom of the page. The Header and Footer are always together at the top
of the page.
Was I missing anything? Thanks!
| |
by: Richard Shewmaker |
last post by:
Hi. I've been using CSS for basic stuff, mostly concerning fonts. I want
to get going with using CSS fully. Two days ago I purchased O'Reilly's
"Cascading Style Sheets" and "CSS Cookbook." I've been reading them and
have tried some really basic stuff and am not having a very good time
(lol). I'm feeling really stupid, to be honest.
I was able to center an image on a page by mucking about with code
primarily from the Cookbook. I only...
|
by: dubing |
last post by:
Hi,
I'm trying to create a style sheet for print. Part of the style sheet
is shown below. The three columns are layed out fine. But the footer
is messed up with the navigation menu at the top. What should I do to
make the footer always show up at the bottom of the page? Thanks in
advance.
==
#container {
|
by: TheCeej |
last post by:
I'm sorry to post what is ultimately a myspace problem, but I'm sure I'd still be having this problem with any html/css document, so the answer would more than likely be able to help anyone out. I'm pretty sure I know what the problem is already. I just don't know how to fix it. I'd be very grateful of any help. I'll post what I'm trying to do, what keeps happening, what I believe the problem is, the link to my page and the css, and things...
|
by: john |
last post by:
Hi to All,
I am new to html authoring, so sorry if my terminology is not correct or
exact.
I would like to position a footer div to the bottom of the browser window.
As I research in the web shows this could be done a containing element with
"min-height: 100%;" and an absolute positioned element (div) inside, aligned
to bottom ("position: absolute; bottom:0px")
|
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 usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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,...
| |
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.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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...
|
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...
|
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();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |