473,390 Members | 1,273 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,390 software developers and data experts.

Failed to place 3 blocks in a row

I want to place 3 blocks (divs) in a row, both the left and right
blocks have a fixed width, the center block fills a gap between them.
I posted below simplified example. It shows exactly what I want in in
FF, Opera, Safari but in IE the blocks aren't reach each other. Can it
be corrected?

In a real-world task the background of the side blocks is an image
with transparent areas, so the filled(painted) center block should not
stretch below the side blocks.

TIA,
Mykola
http://marss.co.ua

Example.

<html>
<body>
<style type="text/css">
..left
{
width:15px;
height:20px;
background-color: red;
float:left;
}
..right
{
width:15px;
height:20px;
background-color: yellow;
float:right;
}
..middle
{
margin-left:15px;
margin-right:15px;
position:relative;
display:block;
height:40px;
background-color:green;
}
</style>
<div>
<div class="left"></div>
<div class="right"></div>
<div class="middle"></div>
</div>
</body>
</html>

Nov 9 '07 #1
0 1591

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

Similar topics

8
by: | last post by:
Wel, I am rebuilding the VC# 2002 project that I have deployment problems with the 2003 version, hoping this solves the problems, but now I encounter this wierd bug??? If I have the project, and...
0
by: Josema | last post by:
Hi to all, I have a webform.aspx and inside i have a dropdown list with autopostback and a place holder... Depending of the selected index that the user selects in the dropdownlist i load a...
4
by: rrober07 | last post by:
Hello, My Setup is I have a Web Server machine(Devweb01), Database SQL Machine(Devsql01), a Client Machine(local machine) I have configured the SQL machine as follows: 1) Added local Aspnet...
2
by: Greg Allen | last post by:
I know this has been discussed before, and have found some documentation about it on the web. But nothing has fixed my problem. I am running the 1.1 .NET framework, SP1. I have a web...
1
by: Robert Schneider | last post by:
VS2005 upsets me more and more. Hopefully it is better when there is the final release. I get the following error message when I try to place a user control of an OCX onto a form: "Failed to...
0
by: Nicolas Noakes | last post by:
Hello, I posted this 2005-01-16 in microsoft.public.sqlserver.setup, but have had no replies yet... We are running SBS 2003 Standard Edition with SP1, and WSUS (Windows Server Update...
2
by: news | last post by:
I just upgraded to PHP 4.4.2 on my Slackware 10.2 system. And Apache/mySQL/PHP all work great through a browser. No errors. But when I try to run a PHP script through the command line, which I...
2
by: mikejacobz | last post by:
Hi, I am using the Enterprise Application Blocks (Data Access Application Block 2005) and all I want to do is pass in a date as a parameter to a Stored procedure. e.g private void...
5
by: castironpi | last post by:
Hi, I've got an "in-place" memory manager that uses a disk-backed memory- mapped buffer. Among its possibilities are: storing variable-length strings and structures for persistence and...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...

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.