473,603 Members | 2,618 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Unusual floats?

With CSS, is it possible to produce, without making a mess, the kind of
layout shown (crudely) by

http://gavelcade.com/mockup4.gif

?

The text in the panes on the left and right should wrap around the
superimposed feature boxes in the center.

--
Harlan Messinger
Remove the first dot from my e-mail address.
Veuillez ôter le premier point de mon adresse de courriel.

Jul 20 '05 #1
4 1497
"Harlan Messinger" <h.*********@co mcast.net> wrote:
With CSS, is it possible to produce, without making a mess, the kind of
layout shown (crudely) by

http://gavelcade.com/mockup4.gif

?

The text in the panes on the left and right should wrap around the
superimposed feature boxes in the center.


It's possible, but not easy. It would require using dummy blocks floated
in the 2 main columns to cause the text to wrap around, and then
absolutely positioning the feature boxes in the center.

--
Spartanicus
Jul 20 '05 #2
Spartanicus <me@privacy.net > wrote
"Harlan Messinger" <h.*********@co mcast.net> wrote:
With CSS, is it possible to produce, without making a mess, the kind of
layout shown (crudely) by

http://gavelcade.com/mockup4.gif

The text in the panes on the left and right should wrap around the
superimposed feature boxes in the center.


It's possible, but not easy. It would require using dummy blocks floated
in the 2 main columns to cause the text to wrap around, and then
absolutely positioning the feature boxes in the center.


Yeah. Your HTML template should look something like this:

<body>
<div id="header">... </div>
<div id="feature">.. .</div>
<div id="sitemap">
<div class="features pace">...</div>
...
</div>
<div id="main">
<div class="features pace">...</div>
...
</div>
</body>

Using:
#feature to horizontally absolutely position.
.featurespace to set width and height to match #feature.
#sitemap .featurespace floated right.
#main .featurespace floated left.

--
Karl Smith.
Jul 20 '05 #3

"Karl Smith" <go************ @kjsmith.com> wrote in message
news:3d******** *************** *@posting.googl e.com...
Spartanicus <me@privacy.net > wrote
"Harlan Messinger" <h.*********@co mcast.net> wrote:
With CSS, is it possible to produce, without making a mess, the kind of
layout shown (crudely) by

http://gavelcade.com/mockup4.gif

The text in the panes on the left and right should wrap around the
superimposed feature boxes in the center.


It's possible, but not easy. It would require using dummy blocks floated
in the 2 main columns to cause the text to wrap around, and then
absolutely positioning the feature boxes in the center.


Yeah. Your HTML template should look something like this:

<body>
<div id="header">... </div>
<div id="feature">.. .</div>
<div id="sitemap">
<div class="features pace">...</div>
...
</div>
<div id="main">
<div class="features pace">...</div>
...
</div>
</body>

Using:
#feature to horizontally absolutely position.
.featurespace to set width and height to match #feature.
#sitemap .featurespace floated right.
#main .featurespace floated left.


I guess this is what we call "tag soup". :-) But I'll give it a try. I'll
only be using this layout for the home page. All the others are much more
straightforward .

Jul 20 '05 #4

"Karl Smith" <go************ @kjsmith.com> wrote in message
news:3d******** *************** *@posting.googl e.com...
Spartanicus <me@privacy.net > wrote
"Harlan Messinger" <h.*********@co mcast.net> wrote:
With CSS, is it possible to produce, without making a mess, the kind of
layout shown (crudely) by

http://gavelcade.com/mockup4.gif

The text in the panes on the left and right should wrap around the
superimposed feature boxes in the center.


It's possible, but not easy. It would require using dummy blocks floated
in the 2 main columns to cause the text to wrap around, and then
absolutely positioning the feature boxes in the center.


Yeah. Your HTML template should look something like this:

<body>
<div id="header">... </div>
<div id="feature">.. .</div>
<div id="sitemap">
<div class="features pace">...</div>
...
</div>
<div id="main">
<div class="features pace">...</div>
...
</div>
</body>

Using:
#feature to horizontally absolutely position.
.featurespace to set width and height to match #feature.
#sitemap .featurespace floated right.
#main .featurespace floated left.


I guess this is what we call "tag soup". :-) But I'll give it a try. I'll
only be using this layout for the home page. All the others are much more
straightforward .

Jul 20 '05 #5

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

Similar topics

8
2473
by: Tom | last post by:
Has anyone ever seen a IComparer for floats the returns magnitude. i.e. instead of returning -1, it would return -5. To let you know HOW different the two numbers are. obviously for int it is a - b. But for float the results would have to be normalize some how to a 32bit range. I understand there would be percision errors. Thanks Tom
5
2050
by: Neal Becker | last post by:
Like a puzzle? I need to interface python output to some strange old program. It wants to see numbers formatted as: e.g.: 0.23456789E01 That is, the leading digit is always 0, instead of the first significant digit. It is fixed width. I can almost get it with '% 16.9E', but not quite. My solution is to print to a string with the '% 16.9E' format, then parse it
8
4875
by: Madhusudan Singh | last post by:
Is it possible to convert a very long list of strings to a list of floats in a single statement ? I have tried float(x) and float(x) but neither work. I guess I would have to write a loop if there isn't a way.
7
2641
by: William S Fulton | last post by:
I'm looking for the name of the following casting style in order to do some reading around on it and why it is sometimes used. unsigned long long ull = 0; void * ptr = 0; ull = *(unsigned long long*)&ptr; As opposed to the more usual casting:
3
1629
by: freelanceinaz | last post by:
My problem page is at http://girlschorus.org/test.html I have a container with a relatively positioned graphic at the top, then two floats which are relatively positioned (for a a two-column effect) under the graphic. I've applied the Clear Fix hack so that the container extends to the bottom of the floats just fine. My problem is that in moving the two floats up (position:relative; top:<something around 100px>;) in order to cover part...
11
18534
by: Steve | last post by:
I'm trying to create a list range of floats and running into problems. I've been trying something like: a = 0.0 b = 10.0 flts = range(a, b) fltlst.append(flts)
13
2332
by: yb | last post by:
Hi, Is there a CSS method to clear a float such that it aligns with the left content edge. For example: X X X X X X X X
9
1746
by: Thomas Nelson | last post by:
I want to generate all the fractions between 1 and limit (with limit>1) in an orderly fashion, without duplicates. def all_ratios(limit): s = set() hi = 1.0 lo = 1.0 while True: if hi/lo not in s: s.add(hi/lo)
16
4124
by: luca bertini | last post by:
Hi, i have strings which look like money values (ie 34.45) is there a way to convert them into float variables? everytime i try I get this error: "numb = float(my_line) ValueError: empty string for float()" " here's the code ************
0
1496
by: Matthieu Brucher | last post by:
2008/11/5 L V <somelauw@yahoo.com>: Hi, I don't think the Python developers list is th best list to post this kind of question. What version of Python did you use for this test? Matthieu
0
7996
marktang
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...
0
7928
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,...
0
8415
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, 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...
0
8405
jinu1996
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...
0
6735
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, 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...
1
5878
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 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...
0
5441
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();...
0
3951
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1514
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.