Height in Netscape?

Justin S's picture

They have: 2,076 posts

Joined: Jun 1999

The height tag works in IE, but it doesn't work in NS? Why? And is there a way to get it to work?

John Pollock's picture

He has: 628 posts

Joined: Mar 1999

What are you trying to adjust the height on? A table cell, a bit of CSS, etc.?

The only way I know to be sure on the height is to use a sized image.. Unless the CSS works for it in NS.

------------------
John Pollock
http://www.pageresource.com
http://www.javascriptcity.com

Justin S's picture

They have: 2,076 posts

Joined: Jun 1999

no- i just have a image that is 1x1 and i want it to stretch the height of the page:

<code>
<img src="image.jpg" height="100%" width="1">
</code>

It works fine in IE, but it doesn't work in NS.

------------------
FireBurn Web Publishing: http://www.fireburn.com

LOW COST WEB AND GRAPHIC DESIGN

John Pollock's picture

He has: 628 posts

Joined: Mar 1999

I'll bet NS doesn't support the % for height values on images... I didn't know it worked at all, but IE does some new things NS won't do yet.

If I find any solutions I'll post them for you.

They have: 5,633 posts

Joined: Jan 1970

Just curious - why do you want to have the image set to the height of the page?

------------------
http://go.to/hass

They have: 297 posts

Joined: Apr 1999

If you look into the w3 documentation for HTML 4.0, you'll find that height=100% is not part of the standard. Thus it would be luck if both browsers would be able to do it.

Same with the never used option of NS to have text run in more than one collumn.

Malte

------------------
Malte Ubl - www.Boardzilla.org
Communication: public<->programmers
of the Boardzilla BB

They have: 2,390 posts

Joined: Nov 1998

Use a dark coloured cell at 100% to achieve the desired effect.
JP

Justin S's picture

They have: 2,076 posts

Joined: Jun 1999

Because they are on the right and left sides of the page to show a border sorf of. To outline the page.

------------------
FireBurn Web Publishing: http://www.fireburn.com

LOW COST WEB AND GRAPHIC DESIGN

Justin S's picture

They have: 2,076 posts

Joined: Jun 1999

hmmm- my conclusion: netscape sucks! yep...

UPDATE: i took JP's advice and tried that. i made the bg of the cell #000000 and put an image 1x1 in size (since netscape won't show empty cells) and it works! thanks JP.

------------------
FireBurn Web Publishing: http://www.fireburn.com

LOW COST WEB AND GRAPHIC DESIGN

[This message has been edited by Justin Stayton (edited 22 November 1999).]

They have: 359 posts

Joined: Mar 1999

Justin,

With NS, just put a ' ' in the cell and it works with out the graphic.
That's supposed to be & n b s p ; without any spaces. After thinking though, think that will give you a cell at least the size of your default font (either width or height). Gif is probably the best way to do what you are doing.
------------------
Dan
CDS Web Design

[This message has been edited by cds (edited 22 November 1999).]

Dan
Recycle Video Games Network

Stupidity killed the cat, curiosity was framed!

They have: 5,633 posts

Joined: Jan 1970

Give us the URL when you finish it.

------------------
http://go.to/hass

Justin S's picture

They have: 2,076 posts

Joined: Jun 1999

Yep- it works now. I figured out that netscape doesn't support the % sign, but you can specify a height in pixels. I would give a URL but the page isn't done yet and I don't feel like uploading it

------------------
FireBurn Web Publishing: http://www.fireburn.com

LOW COST WEB AND GRAPHIC DESIGN

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.