Hello
i like to make the following lay out:
- 3 columns
- center column = fixed width
- left and right columns are not fixed and must take all the available
space there is left.
- left column has a background picture
- right column has another background picture
So the left and right column are fluid and the width wil change when the
browser window width is changing.
I don't know how to do this. Anyone?
Here is some code: http://www.keyone.nl/temp/ 40 4493
Spartanicus wrote: Mark <sc*****@xs4all .nl> wrote:
i like to make the following lay out:
- 3 columns http://www.google.com/search?q=3+column+css+layout
As i stated, i want to to have two fluid columns left and right and 1
fixed in the middle. Also i have backgroun images (1px width) and these
have to fill out the two columns, left and right. I do not know how to
do that too.
I can not find the solution. It is all about fixed columns left and
right and a fluid one in the middle...
Mark <sc*****@xs4all .nl> wrote: i like to make the following lay out:
- 3 columns
http://www.google.com/search?q=3+column+css+layout
As i stated, i want to to have two fluid columns left and right and 1 fixed in the middle. Also i have backgroun images (1px width) and these have to fill out the two columns, left and right. I do not know how to do that too.
I can not find the solution. It is all about fixed columns left and right and a fluid one in the middle...
Plenty of those to be found using the provided link, use it.
--
Spartanicus
Mark wrote: i like to make the following lay out:
- 3 columns - center column = fixed width - left and right columns are not fixed and must take all the available space there is left.
Hmmm... what do you expect to happen when the window isn't wide enough
for the fixed width column, let alone 3 columns?
Here is some code:
http://www.keyone.nl/temp/
This seems a good example of the drawbacks. In my usual window width
(often 800px or less) there is no room available for side columns at
all. Put some content in your test page and see what happens in
different window and text sizes. You might not like it.
--
Reply email address is a bottomless spam bucket.
Please reply to the group so everyone can share.
kchayka wrote: Mark wrote:
i like to make the following lay out:
- 3 columns - center column = fixed width - left and right columns are not fixed and must take all the available space there is left.
Hmmm... what do you expect to happen when the window isn't wide enough for the fixed width column, let alone 3 columns?
Here is some code:
http://www.keyone.nl/temp/
This seems a good example of the drawbacks. In my usual window width (often 800px or less) there is no room available for side columns at all. Put some content in your test page and see what happens in different window and text sizes. You might not like it.
What i want to know is how to get my 1px images in both side columns to
show up and take all the space there is left.
The rest is working all right basically, but i don't know how to get the
result i want.
Mark
Mark wrote: http://www.keyone.nl/temp/
What i want to know is how to get my 1px images in both side columns to show up and take all the space there is left.
It seems to me that you don't really want 3 columns at all, you just
want a background. You can easily do this with some nested divs, rather
than separate divs for the space on either side of the content area. And
it's pretty much a waste to use a 1px image for a background. Use the
background-color property instead.
<div>
<div class="content" ></div>
</div>
Set the background of content's container. Nest another div if need be
and/or use borders on the content to get different spacing effects.
--
Reply email address is a bottomless spam bucket.
Please reply to the group so everyone can share.
kchayka wrote: Mark wrote:
http://www.keyone.nl/temp/ What i want to know is how to get my 1px images in both side columns to show up and take all the space there is left.
It seems to me that you don't really want 3 columns at all, you just want a background. You can easily do this with some nested divs, rather than separate divs for the space on either side of the content area. And it's pretty much a waste to use a 1px image for a background. Use the background-color property instead.
<div> <div class="content" ></div> </div>
Set the background of content's container. Nest another div if need be and/or use borders on the content to get different spacing effects.
What i want is on the left and right an image. This image is 100px high
and 1px width. So it is not about the color. Because the left and right
are different images, i like to know how to do this.
Spartanicus wrote: Mark <sc*****@xs4all .nl> wrote:
i like to make the following lay out:
- 3 columns
http://www.google.com/search?q=3+column+css+layout
As i stated, i want to to have two fluid columns left and right and 1 fixed in the middle. Also i have backgroun images (1px width) and these have to fill out the two columns, left and right. I do not know how to do that too.
I can not find the solution. It is all about fixed columns left and right and a fluid one in the middle...
Plenty of those to be found using the provided link, use it.
I don't think you understand my question. It is not about 3 columns, but
about the width of the side columns and how to get a image in these side
columns which strech:
column with streched image | content column | column with streched image
Mark <sc*****@xs4all .nl> wrote: I don't think you understand my question.
I understood the question you posted just fine.
It is not about 3 columns
The question you posted was.
, but about the width of the side columns
div.column{widt h:12em}
and how to get a image in these side columns which strech:
column with streched image | content column | column with streched image
Background images can't be stretched with CSS 2.x, only tiled.
--
Spartanicus This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Dennis |
last post by:
In CSS3 it looks like we'll have multiple column flowing of text
(newspaper style) in which the number of columns can be determined
automatically given the available horizontal space.
http://www.w3.org/TR/css3-multicol/
Until then, what's the current best practice for achieving the same
effect? Or is it just not possible yet?
Thanks ...
Dennis
|
by: Alex |
last post by:
Hi Everone,
I need some advice on how to setup 4 columns where the outside two are
absolute (120px) and the inner two (side by side) are relevent (Fluid)
and change with the screen.
Here's my rough layout:
|
by: Jennifer |
last post by:
I have a datagrid where I am trying to align some columns to the center. The
rest should be aligned to the right. When I try the code below I get an
error message saying that the index is out of bounds. When debugging I get
the column count of the datagrid to be 1. I find this rather ridiculous only
because there are 61 columns that I can physically see. :) Plus, the data
table that I am using to bind the datagrid has a count of 61. ...
|
by: scorpion53061 |
last post by:
Very urgent and I am very close but need a little help to get me over the
edge........
I need to write these columns to a html file with each row containing these
columns (seperated by breaks). Currently this code write all columns to a
single row which works but is not what the boss wants. If anyone has
suggestions how you would do a report like this I very much would like to
hear them as well. vb.net windows app.
...
|
by: Chuck Foster |
last post by:
I have a datagrid and I want 3 columns to share the same column header. I
have ColID, ColName, and 3 Hyperlink columns that need to have
AdminFunctions as their header. Anyone know how to accomplish that?
Thanks in advance for any help!
Thanks,
Chuck Foster
| |
by: Abhijeet Kumar |
last post by:
Hi
I am working with ASP.NET2.0, How can i freeze some of the columns of
GridView Control.
Thanks in Advance.
|
by: Jacksm |
last post by:
How can I align an asp:table columns with gridview columns (the
widths)? I have tried setting table.column(0).width =
gridview.column(0).width at page_load but it doesn't work.
Thanks in advance
|
by: Sarita |
last post by:
Hello,
this might sound stupid, but I got a really nice homepage template
which unfortunately is a 3-Column Fixed Width CSS format. Now I don't
have any content for the right column and would like the middle column
just to use up that space instead.
Any way this is possible?
Thanks for your help, it is highly appreciated!
|
by: bgold12 |
last post by:
I have a problem that can be simplified to the following: I have a
table with three columns. I need the middle column to be fixed width,
let's say 100px. The other two columns I want to be variable width,
such that one (say the left column) will minimize its width to the
smallest it can be while still fitting a short line of text (no more
than 32 characters) on a single line with no breaks. The right column
I would then want to maximize...
|
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...
|
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: 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: 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();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |