473,490 Members | 2,703 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

i certainly don't envy web authors...

heh, though the display weirdities are amusing.

I spend a lot of time poking around CSS info sites (quirksmode is nice).

I've been using Firefox 1.0.6 as my 'instant feedback' browser, sometimes checking in
IE6 (or Maxthon, where rendering is IE's and looks the same… so far) and Opera8,
advert version.

I'm writing just a few similar pages, where pages use similar CSS of float:left
div/columns. I'm K.I.S.S. ing my layouts. I'm not using 100% width clear:left (invisible)
breakers. Instead I'm carefully sizing so that columns add to 100% (this causes little
problem except that columns in IE hop around while I drag the browser's window edges,
which is how I check resize effects. But as a non web author, I can ignore IE :-) )

Abstracted html+css code here:
[Div .headr clear: both; width: 100%; ]

[wrap1 float:left 100% [Div #col1 clear: both; float:left 30% img only] [Div #col2
float:left 36% text only] [Div #col3 float:left 30% img only] ]

[wrap2 float:left 100% [Div #col4 float:left 30% img only] [Div #col5 float:left 36% text
only] [Div #col6 float:left 30% img only] ]

[wrap3 float:left 100% [Div #col7 float:left 40% text only] [Div #col8 float:left 60% text
only] ]

after i see how much text and images fill the divs in firefox, i then apply top margins to
visually pull the divs up or down relative to div above..

---------------

But even ff shows an annoyance: Drag window edges, and nonwrapping content
(images) in left div begin under/overflowing into the column (div) to right; the visual effect
is something of a rectilinear jigsaw cutting effect.

So eventually.... poking around the web, I find a topic, overflow, that *seems* to apply
to this FF problem. overflow looks very applicable to this... appears overflow will fix the
problem.

my first experiment is to add overflow:auto to the properties of all column divs.

Since I've tested by simply applying that property:value to *all* col divs, I've noticed
weird stuff in FF :

1st test, apply overflow:auto;
result: rapid flickers occur when hovering the mouse across many different boundaries.
One flicker seems to be div2 jumping over in a irregular checkerboard overlay onto div1
(haha!) The boundaries that cause this are SOME image edges in SOME cases. SOME
div edges, in SOME cases. Links in SOME cases (I've got :hover background colors on
a href's).

and, the scrollbars appear on text-only div7 which has the largest amount of text. text-
only div8 has little text.

But when I hover across the single (text) href in div8, div7 instantly rewraps, and its
scrollbars disappear.

Next test, apply overflow:hidden; to all col divs:

result: No more flicker, but that last phenom still occurs. (div7 rewraps and div7
scrollbars instantly disappear when mouse hovers across link in div8)
------------
enough experiments. do the pages:
overflow:auto all my col's works, but scrollbars are ugly. scroll seems little use for the
img divs, so I'll overflow:hidden; those. Yes, that's good.

now... apply overflow value to text-containing divs? no... since the text wraps, leave
text divs left as they were, omit the overflow property.

yes, that works in FF and opera8... and ha'snt imporved or worsened IE6. no flicker
problem. no jigsawing of leftmost image.


(as I create a few pages where text and img are within a single div, I'm not sure what
may happen with overflow values. Perhaps *convert* that div to a wrapper div for new
text-only and img divs… ughhh,, later…)
PS IE6 seems non-responsive to overflow:auto, and my mixed overflow solution)
Aug 13 '05 #1
0 1271

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

Similar topics

2
1487
by: petermac | last post by:
Hello: If this is the wrong medium for this type of request then I appologize... I am an editor for PHP | Architect magazine (www.phparch.com) and we are actively looking for authors for our...
0
1598
by: sean | last post by:
I'm having problems trying to sort a series of authors who post online using Movable Type. I've tried posting my problem to the Movable Type support group, but no one has even answered my question....
4
1387
by: cody | last post by:
Yesterday i was in the bookshop to buy a book. just for interest i leafed through some C++ books. It is unbelievable but the C++ book-authors are as stupid as they was 10 years ago. They still...
1
3407
by: Stefan Ram | last post by:
Some style guides suggest to repeat a DC.creator meta-element for multiple authors, but doesn't this contradict its specification? "An entity primarily responsible for making the content of the...
4
1344
by: Robert Rotstein | last post by:
The book "C++ FAQs", by Cline, Lomow, and Girou, second edition, section 29.02, p. 405 says: "when a base class declares a nonvirtual member function and a derived class declares a member...
0
1274
by: chilli | last post by:
Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click 'load OleDbDataAdapter1.Fill(DataSet11) Dim a, b, c As Integer...
1
1339
by: GoodBacha | last post by:
Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click OleDbDataAdapter1.Fill(DataSet11) Dim a, b, c As Integer a = 1 ...
0
1150
by: GoodBacha | last post by:
Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles update.Click Me.BindingContext(DataSet11, "authors").EndCurrentEdit() ...
0
1203
by: Michelle | last post by:
ReviewNet Corporation is looking for a few authors to write on-line testing questions for a series of new .Net skills tests we are developing. We are looking to update some of our current tests...
0
6974
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
7146
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,...
1
6852
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
7356
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...
0
5448
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,...
1
4878
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...
0
4573
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...
0
3084
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...
0
3074
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.