473,407 Members | 2,320 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Any ideas on how to prevent IE screwing this up?

AD.
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
Jul 20 '05 #1
2 2012
On Mon, 11 Aug 2003 19:57:05 +1200, in
comp.infosystems.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="itemtitle">title</div>
<div class="itembody">apples pies are nice.</div>
<div class="itemtitle">title</div>
<div class="itembody">pineapples apricots peaches</div>
</div>
---------------------------------------------------------------
jn****@yourpantsbigpond.net.au : Remove your pants to reply
---------------------------------------------------------------
Jul 20 '05 #2
AD.
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="itemtitle">title</div>
<div class="itembody">apples pies are nice.</div>
<div class="itemtitle">title</div>
<div class="itembody">pineapples 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

Jul 20 '05 #3

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

Similar topics

20
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 };
3
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...
11
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...
2
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...
6
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...
8
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....
11
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...
224
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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,...
0
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...
0
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,...
0
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...

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.