473,787 Members | 2,938 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2289
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
1711
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 http://www.kayodeok.co.uk/weblog/
0
2181
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 position the navbar "li"s directly above the center column and make them liquid so they stretch and contract in correspondence with the center column. Is there a way to do this? Thanks. The styling I'm working with now is:
3
5045
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: http://www.alistapart.com/d/negativemargins/ex5.htm but with the footer fixed at the bottom and the content in a scrollable area.
2
2705
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 between them. A narrow left (and/or right) navigation column, plus a main body taking the rest of the width? I was reading http://www.w3.org/TR/CSS21/visuren.html where one example uses fixed. When I tried it (with empty mostly empty divs for...
2
6062
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, footer. Naturally I want liquid main contents, and I have float: right; img, and clear: both; paragraphs in the main contents div. Fixed width right navigation column is probably essential. There is a confounded logo graphic to go at the top...
5
1511
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 container or, to put it another way: http://www.northcoastcomputerservices.com/liquid.htm is the page I need to edit - liquid.css is my style sheet. How do I place a 125x125 graphic in the middle of the empty space to the right of the bulleted list...
9
8145
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 display, then only a small portion of the gradient will show if the viewpoint is a smaller PDA or phone display. On the other hand, if viewed full screen on a 1920 pixel wide display, I would run out of gradient on one or both sides of the page....
0
1819
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 Collections for a massive reduction in the number of generated classes. - New C# and VB .Net Runtimes for .Net 2.0 and .Net 3.5.
3
2376
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 the left column will change to fit the screen. Please help on this
0
10172
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...
1
10110
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,...
0
9964
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 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...
0
8993
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
7517
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
6749
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
5398
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4069
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3670
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.