Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 21st, 2005, 12:54 AM
M T M
Guest
 
Posts: n/a
Default 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!
  #2  
Old July 21st, 2005, 12:54 AM
Arne
Guest
 
Posts: n/a
Default Re: Height as high as the browser size

*M T M* skrev 2004-10-02 16:04:[color=blue]
> 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![/color]

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
  #3  
Old July 21st, 2005, 12:55 AM
Brian
Guest
 
Posts: n/a
Default Re: Height as high as the browser size

M T M wrote:
[color=blue]
> [www dot schaefner dot dk] 's height is 100% (with css)[/color]

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.
[color=blue]
> how do i do that?[/color]

I'm not sure what you want to do.
[color=blue]
> #content { width: 579px; }[/color]

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.
[color=blue]
> *Copyright on the css :)[/color]

In your dreams perhaps.

--
Brian (remove "invalid" to email me)
http://www.tsmchughs.com/
  #4  
Old July 21st, 2005, 12:55 AM
M T M
Guest
 
Posts: n/a
Default Re: Height as high as the browser size

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
  #5  
Old July 21st, 2005, 12:55 AM
Brian
Guest
 
Posts: n/a
Default Re: Height as high as the browser size

M T M wrote:[color=blue]
> I wan't to fix the height: 100%;[/color]

Fix the height of what? The viewport? What if the content doesn't fit?
[color=blue]
> - it's more then the screen in Firefox :([/color]

I cannot imagine why that's a problem.
[color=blue]
> What do i do so it dosen't do that?[/color]

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.
[color=blue]
> you can look at the url i gave ya..[/color]

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/
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles