473,398 Members | 2,113 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,398 software developers and data experts.

2 liquid row + 1 fixed row

Hi,

i must divide the page of my situated Internet in 3 lines and would
want to make in way to have a layout liquid (would have to be adapted
therefore to whichever dimension of the window).
Initially I have divided in two parts as it follows:
body {
margin: 0px;
height: 100%;
}

#row_1 {
background-color:#009900;
height: 50%;
}

#row_2 {
background-color:#00CC33;
height: 50%;
}

and all it works regularly (except with FIREFOX).

Now I must add a third line that but it has a height very defined
(25px). I have inserted:

#row_3 {
background-color:#000000;
height: 25px;
}

but obviously I lose the functionality of the "liquid".

Someone to some suggestion in merit? The riga_3 it must by force be
"blocked" to 25px and then I do not understand why with FIREFOX not
funzia.
Best regards,
Pierpaolo

Aug 9 '05 #1
1 2270
Durabo wrote:
Hi,

i must divide the page of my situated Internet in 3 lines and would
want to make in way to have a layout liquid (would have to be adapted
therefore to whichever dimension of the window).
Initially I have divided in two parts as it follows:
body {
margin: 0px;
height: 100%;
}

#row_1 {
background-color:#009900;
height: 50%;
}

#row_2 {
background-color:#00CC33;
height: 50%;
}

and all it works regularly (except with FIREFOX).

Now I must add a third line that but it has a height very defined
(25px). I have inserted:

#row_3 {
background-color:#000000;
height: 25px;
}

but obviously I lose the functionality of the "liquid".

Someone to some suggestion in merit? The riga_3 it must by force be
"blocked" to 25px and then I do not understand why with FIREFOX not
funzia.

Firefox is true to the standards in this matter, a DIV element only has
the height of its content, therefore percentages for height should not
work as there is nothing to reference what the 100% applies to...
try using em instead, as the user's browser has that defined relative to
font size i think... [google it]

--
Hope This Helped and MTFBWY...
Kieren aka JediFans - <URL:http://jedifans.com/>
The Force Is With Me, SuSE Linux Professional 9.3, Mozilla Firefox
1.0.6, Mozilla Thunderbird 1.5 Alpha 2 and Revenge Of The Sith!
Aug 9 '05 #2

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

Similar topics

2
by: kayodeok | last post by:
Found during my web travels: Liquid Layouts: The Easy Way http://www.maxdesign.com.au/presentation/liquid/ Posted here for you to pick apart ;) -- Kayode Okeyode...
0
by: Chad | last post by:
I have a horizontal navbar between my banner and the page's main content (divided into three columns). Below the navbar, the left and right columns are fixed and the center is liquid. I want to...
3
by: SebiF | last post by:
Hello, It might have been asked before but since I could not find a reference here's my qustion: I want a liquid layout similar to this one:...
2
by: Eric Lindsay | last post by:
What problems are there in using position: fixed; with left: %; and right: %; to do pages that look like a typical boring framed site. A full width header and a footer and the rest of the content...
2
by: Eric Lindsay | last post by:
I hope someone can help, before I start thinking tables have a lot of merit after all. I am trying to achieve a two column layout, with source code div order main content, right side navigation,...
5
michaelea
by: michaelea | last post by:
Hi, new newbie here..to liquid styles anyways... I'm not quite sure how to state my question properly but I'm hoping someone can help me please. How do I place a liquid Div inside a liquid...
9
by: Eric Lindsay | last post by:
How do you provide a consistent gradient fill as a background in a liquid layout? If I make a gradient fill image say 1000 pixels wide (and repeat it down the page) to suit a typical computer...
0
by: announcements | last post by:
Liquid Technologies Announces Availability of Liquid XML 2008 (v6.1) New features include: - New Code Generation for C# and VB .Net (2005 and 2008) utilizing Attributed classes with Generic...
3
chathura86
by: chathura86 | last post by:
hi, i want to have tow column in my design (divide the page in to two parts) where i want left column to be liquid while the right column has the width of 200px so when the window re size only...
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
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,...
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
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...
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
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
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.