Hi all,
I'm just playing around with some ideas for cleaning up the HTML/CSS in a
web based app of ours. The intention is stop using table layouts, remove
all pixel based sizes and presentational markup from the HTML.
I've come up with what seems to me to be a fairly nice 3 column page that
can handle variable length columns and still allow a footer. I'm just
testing the structure, don't worry this isn't what it will actually look
like :) http://webtest.astarte.co.nz/test07.html
It works great in Konq, Opera, and all Mozilla/Gecko based browsers.
IE 5.0 and 6.0 however end up losing most of the styles on the top item in
each column. The lower items render fine though.
The HTML (4.01 Strict) and CSS validates ok.
Does anybody have any ideas for solutions or workarounds?
Cheers
Anton 2 2022
On Mon, 11 Aug 2003 19:57:05 +1200, in
comp.infosystem s. www.authoring.stylesheets "AD." <me@privacy.net >
wrote: | Hi all, | | I'm just playing around with some ideas for cleaning up the HTML/CSS in a | web based app of ours. The intention is stop using table layouts, remove | all pixel based sizes and presentational markup from the HTML. | | I've come up with what seems to me to be a fairly nice 3 column page that | can handle variable length columns and still allow a footer. I'm just | testing the structure, don't worry this isn't what it will actually look | like :) | | http://webtest.astarte.co.nz/test07.html | | It works great in Konq, Opera, and all Mozilla/Gecko based browsers. | | IE 5.0 and 6.0 however end up losing most of the styles on the top item in | each column. The lower items render fine though. | | The HTML (4.01 Strict) and CSS validates ok. | | Does anybody have any ideas for solutions or workarounds? | | Cheers | Anton
Change the CSS to:
..col33 {
position: relative;
width: 33%;
float: left;
overflow: visible;
top: 6px;
padding-right: .15em;
}
Help position the footer (in IE only)
..clear {
clear: left;
margin-top: 12px;
}
removed the <div class="item"></div> tags.
<div class="col33">
<div class="itemtitl e">title</div>
<div class="itembody ">apples pies are nice.</div>
<div class="itemtitl e">title</div>
<div class="itembody ">pineapple s apricots peaches</div>
</div>
--------------------------------------------------------------- jn****@yourpant sbigpond.net.au : Remove your pants to reply
---------------------------------------------------------------
On Mon, 11 Aug 2003 11:55:48 +0000, Jeff North wrote: Change the CSS to: .col33 { position: relative; width: 33%; float: left; overflow: visible; top: 6px; padding-right: .15em; }
Help position the footer (in IE only) .clear { clear: left; margin-top: 12px; }
removed the <div class="item"></div> tags. <div class="col33"> <div class="itemtitl e">title</div> <div class="itembody ">apples pies are nice.</div> <div class="itemtitl e">title</div> <div class="itembody ">pineapple s apricots peaches</div> </div>
Thanks Jeff, removing the item divs seems to have fixed it.
I'm not too worried about things having to line up consistently across
browsers - I'd rather design it to be 'tolerant' of browser box model bugs
(eg with some whitespace) than have to worry about getting it to look
exactly the same in Mozilla and IE 5.0.
Cheers
Anton This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: modemer |
last post by:
Question is as in subject.
For example:
class BaseClass {
public:
void func() { do something; } // I don't want this function being
overloaded in its inherited class
};
|
by: Dave |
last post by:
I have always taken it for granted that once RI is in place, no orphan
records can be created, and that RI can't be put in place while orphans
exist, but today I came across a situation where that is not true. I am
having a lot of trouble believing my eyes, so I would be very grateful for
anyone's feedback on similar issues.
The situation is the usual Invoice/Invoice Details one: the db has RI in
place on the relatioinship between...
|
by: hazz |
last post by:
before I start filling up the first page of perhaps many pages of code with
if/then or switch:case buckets, I wanted to step back and see if there is a
better way...
I will have a table with up to 300 rules in it. Maybe more... In each Score
table there is a column which will refer to a domain specific table and
another table column that contains the property of that domain specific
object. IceCream is a domain and scoops is a property I...
|
by: Brian Bischof |
last post by:
To get my formatting to work with Firefox and IE browsers, I have to be very
careful about the layout. So I'm removing all the Style tags that set the
Height and Width values (and some of these values make no sense). But then
when I go back on look at the HTML later on I see the Style tags have been
added back and my formatting is all screwed up again. Arghh!!
Can someone tell me how to make ASP.NET stop adding these troublesome Style...
|
by: Niksa Baldun |
last post by:
Hi,
I am trying to capture data from magnetic stripe reader which is connected
via keyboard interface (therefore indistinguishable from normal keyboard
input). Basically, I am doing the following (in the Form.Keypress event
handler):
strCardData &= e.KeyChar
e.Handled = True
| |
by: Fred Zuckerman |
last post by:
I'd like to prevent users from accidently going into design view of a form
and screwing it up.
I've googled the group and have found that the normal method is to use MDE
or user level security. I'd like to avoid both of those options as I'm only
trying to stop accidental changes, not willful misconduct. These mdb's are
too quick/simple to over program.
Now, I have found that the following code works, but I'd like to get your
opinions.
|
by: E.T. Grey |
last post by:
Hi,
I have an interesting problem. I have a (LARGE) set of historical data
that I want to keep on a central server, as several separate files. I
want a client process to be able to request the data in a specific file
by specifying the file name, start date/time and end date/time.
The files are in binary format, to conserve space on the server (as well
as to increase processing time). The data in each file can be quite
large, covering...
|
by: Jon Slaughter |
last post by:
Sorry for all the cross posting but I'm interesting in getting a serious
discussion about how usenet has become lately.
Many people are moving away from usenet because of all the spam and cooks
that have been showing up. The rate of spammer seem to be growing
exponentially(ok, not really but it feels like it).
I think maybe its time to do something about it. What I'd like to see happen
is an "upgrade" to usenet. I do not like th forum...
|
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: 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 captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 most users, this new feature is actually very convenient. If you want to control the update process,...
| |
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...
|
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: 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
|
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...
| |