473,466 Members | 1,406 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Height as high as the browser size

Hi There,

i'm from denmark - bad english!

well lets get to the point..

[www dot schaefner dot dk] 's height is 100% (with css)

how do i do that?

my CSS content:
#content {
background: #ffffff;
border-right: 1px solid #dddddd;
color: #000000;
height: 360px;
margin: 0 0 0 150px;
padding: 10px;
position: absolute;
width: 579px;
}

and CSS menu:
#menu {
background: #cccccc;
border-right: 1px solid #dddddd;
color: #000000;
float: left;
font-weight: bold;
height: 380px;
position: absolute;
width: 149px;
}

*Copyright on the css :)

Well, hope that you can help me!
Jul 20 '05 #1
4 1691
*M T M* skrev 2004-10-02 16:04:
Hi There,

i'm from denmark - bad english!

well lets get to the point..

[www dot schaefner dot dk] 's height is 100% (with css)

how do i do that?

my CSS content:
#content {
background: #ffffff;
border-right: 1px solid #dddddd;
color: #000000;
height: 360px;
margin: 0 0 0 150px;
padding: 10px;
position: absolute;
width: 579px;
}

and CSS menu:
#menu {
background: #cccccc;
border-right: 1px solid #dddddd;
color: #000000;
float: left;
font-weight: bold;
height: 380px;
position: absolute;
width: 149px;
}

*Copyright on the css :)

Well, hope that you can help me!


Why can't you give a real URL to click on. URL's don't need to be munged
on newsgroups, just email addresses you know :-)

--
/Arne
Jul 20 '05 #2
M T M wrote:
[www dot schaefner dot dk] 's height is 100% (with css)
Please provide a real, complete url, e.g.,
http://www.example.com

Now, what do you mean its height is 100%. 100% of what? In Firefox, your
home page is more than one screenful.
how do i do that?
I'm not sure what you want to do.
#content { width: 579px; }
It's a very bad idea to set width of content containers in px, for
reasons that have been discussed repeatedly in ciwa*. Please read the
group archives before asking why, so as to avoid wasting your time.

While you're at it, please read about microfonts, and why the correct
font size is 100% for your content, menus, etc. This can also be found
in the archives, discussed over and over again in these groups.
*Copyright on the css :)


In your dreams perhaps.

--
Brian (remove "invalid" to email me)
http://www.tsmchughs.com/
Jul 20 '05 #3
I wan't to fix the height: 100%;

- it's more then the screen in Firefox :(

What do i do so it dosen't do that?

Please help

you can look at the url i gave ya..

/ME
Jul 20 '05 #4
M T M wrote:
I wan't to fix the height: 100%;
Fix the height of what? The viewport? What if the content doesn't fit?
- it's more then the screen in Firefox :(
I cannot imagine why that's a problem.
What do i do so it dosen't do that?
You need to explain what you want to happen, what does happen, and
provide a url -- *after* validating your html, and checking that your
css contains no errors.
you can look at the url i gave ya..


Well, no, I can't, because you didn't give us one. Is this message a
reply to a previous one? You must include a short extract of the message
you're replying to if you want meaningful answers to your questions.

--
Brian (remove "invalid" to email me)
http://www.tsmchughs.com/
Jul 20 '05 #5

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

Similar topics

157
by: Dennis | last post by:
Is there some way --using, say, DOM or javascript-- to detect the current pixel width and/or height of a relatively sized table or of one of its columns or rows. I'm going to be writing javascript...
12
by: Stanimir Stamenkov | last post by:
Here are two cases regarding inline-level elements' line-height, padding and background, which I doesn't understand: <div style="background: black; color: white; line-height: 1.5">...
12
by: Kepler | last post by:
How do you get the height of the client browser in IE? Both document.body.clientHeight and document.body.offsetHeight return the height of the document. If the page is long and there's a vertical...
1
by: Phil Stanton | last post by:
I am trying to create a text box in Word the same height as one on a report and then fill it with text. I can "read" the position of the text box from the report OK and create a text box in Word...
6
by: Rob | last post by:
I need to create a form that will resize only the verticle size of the Form and not the width. So far I'm partial to the following code. Can someone please elaborate the ??? . . . . Const...
3
by: Q. John Chen | last post by:
I have a page contains a table (e.g a 3-row table). The middle row is for the content and the bottom row is for footer notes. When the middle row does not have much info, the footer goes way too...
18
by: Erich Meier | last post by:
Hello there, is there any way to set the size of images or table cells in HTML not by pixels but by inches or in millimetres? The problem behind this is that you never know what kind of output...
1
by: mascouta | last post by:
I have a lot of problems with IE browser, one of them is described in this topic. in my website i have div Calculator with background image. it displayed perfectly with Firefox browser however in IE...
9
by: Summercool | last post by:
I wonder to show the images in a table format... and to set a box of width 100px and height 100px, is there a way? Right now, if I set width to 100px, then height can be 180px... If I set...
1
by: rynato | last post by:
I have a <spanof width X px and height Y px. I want to read the text of an article, which is stored in a mySQL table, and pass to that <spanonly just enough text to fit in it, along with a 'read...
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
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
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
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...
0
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...

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.