473,396 Members | 1,982 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,396 software developers and data experts.

Using the * for dynamic height

I have a page that is using tables (please no comments about this - I
understand it should be css but firefox created this template) I have
a menu down the left side and the bottom is supposed to be as tall as
needed to fill the page. This works fine in firefox but not in ie.
Here is a link to the page if you would like to see it

http://creativeness.com/temptest/storetemplate2.htm

I think the problem has to do with the height="*" - I was told that
the * means make it as big as it needs to be. How big it needs to be
then gets calculated from the main content. Any ideas how I can fix
this in IE, I really appreciate your help.

Thanks,
Randy
Jul 17 '08 #1
19 2262
Rabel wrote:
but firefox created this template)
I think you've been DreamWeavering too long. Firefox doesn't create
templates; Firefox is a browser.

And a fine job DW is doing here:

... width="969" [my browser is only 925px wide.]

<tr>
<td><img src="images/spacer.gif" alt="" border="0" height="1" width="26"
/></td>
<td><img src="images/spacer.gif" alt="" border="0" height="1" width="81"
/></td>
<td><img src="images/spacer.gif" alt="" border="0" height="1" width="13"
/></td>
<td><img src="images/spacer.gif" alt="" border="0" height="1" width="14"
/></td>
<td><img src="images/spacer.gif" alt="" border="0" height="1" width="5"
/></td>
<td><img src="images/spacer.gif" alt="" border="0" height="1" width="9"
/></td>
<td><img src="images/spacer.gif" alt="" border="0" height="1" width="45"
/></td>
et cetera...

--
-bts
-Friends don't let friends drive Windows
Jul 17 '08 #2
On 7/17/2008 2:07 PM, Rabel wrote:
I have a page that is using tables (please no comments about this - I
understand it should be css but firefox created this template) I have
a menu down the left side and the bottom is supposed to be as tall as
needed to fill the page. This works fine in firefox but not in ie.
Here is a link to the page if you would like to see it

http://creativeness.com/temptest/storetemplate2.htm

I think the problem has to do with the height="*" - I was told that
the * means make it as big as it needs to be. How big it needs to be
then gets calculated from the main content. Any ideas how I can fix
this in IE, I really appreciate your help.

Thanks,
Randy
As the previous reply indicated, Firefox is a browser and not a Web page
composer.

If you want the height to be whatever is necessary, just don't specify it.

--

David E. Ross
<http://www.rossde.com/>.

Q: What's a President Bush cocktail?
A: Business on the rocks.
Jul 18 '08 #3
In article <g5**********@registered.motzarella.org>,
"Beauregard T. Shagnasty" <a.*********@example.invalidwrote:
Rabel wrote:
but firefox created this template)

I think you've been DreamWeavering too long. Firefox doesn't create
templates; Firefox is a browser.
Or Fireworksing?

--
dorayme
Jul 18 '08 #4
dorayme wrote:
"Beauregard T. Shagnasty" <a.*********@example.invalidwrote:
>Rabel wrote:
>>but firefox created this template)

I think you've been DreamWeavering too long. Firefox doesn't create
templates; Firefox is a browser.

Or Fireworksing?
Ooh. Do you mean s/firefox/fireworks ? Does fireworks put that MM_
crap in all its pages? (Never used it, so didn't think of the possible
miswording.)

--
-bts
-Friends don't let friends drive Windows
Jul 18 '08 #5
In article <g5**********@registered.motzarella.org>,
"Beauregard T. Shagnasty" <a.*********@example.invalidwrote:
dorayme wrote:
"Beauregard T. Shagnasty" <a.*********@example.invalidwrote:
Rabel wrote:
but firefox created this template)

I think you've been DreamWeavering too long. Firefox doesn't create
templates; Firefox is a browser.
Or Fireworksing?

Ooh. Do you mean s/firefox/fireworks ? Does fireworks put that MM_
crap in all its pages? (Never used it, so didn't think of the possible
miswording.)
Fireworks was a Macromedia product, the same stable as Dreamweaver under
Adobe these days...

FW is actually very good for web image work but it has another
dreamweavily side to it and you can see some of that side in the
newsgroup traffic on the program, things to do with generating layouts
(last time I looked with tables and lots of padding empty gifs).

I recall using its web facilities for a short while till I came here and
learnt of this other world of semantic markup and css. Now, these
facilities are so little used by me that I am sure that any table it
generated would be rusty and simply fall down and injure bystanders. <g>

--
dorayme
Jul 18 '08 #6
On Jul 17, 8:11 pm, "David E. Ross" <nob...@nowhere.notwrote:
On 7/17/2008 2:07 PM, Rabel wrote:
I have a page that is using tables (please no comments about this - I
understand it should be css but firefox created this template) I have
a menu down the left side and the bottom is supposed to be as tall as
needed to fill the page. This works fine in firefox but not in ie.
Here is a link to the page if you would like to see it
http://creativeness.com/temptest/storetemplate2.htm
I think the problem has to do with the height="*" - I was told that
the * means make it as big as it needs to be. How big it needs to be
then gets calculated from the main content. Any ideas how I can fix
this in IE, I really appreciate your help.
Thanks,
Randy

As the previous reply indicated, Firefox is a browser and not a Web page
composer.

If you want the height to be whatever is necessary, just don't specify it.

--

David E. Ross
<http://www.rossde.com/>.

Q: What's a President Bush cocktail?
A: Business on the rocks.
Sorry Guys typo - I meant fireworks. Thanks David but what do you mean
"if you want the height to be whatever is necessary, just don't
specify it." Do I just leave it blank or how would I change the code.
Thanks
Jul 22 '08 #7
On 7/22/2008 1:21 PM, Rabel wrote:
On Jul 17, 8:11 pm, "David E. Ross" <nob...@nowhere.notwrote:
>On 7/17/2008 2:07 PM, Rabel wrote:
>>I have a page that is using tables (please no comments about this - I
understand it should be css but firefox created this template) I have
a menu down the left side and the bottom is supposed to be as tall as
needed to fill the page. This works fine in firefox but not in ie.
Here is a link to the page if you would like to see it
http://creativeness.com/temptest/storetemplate2.htm
I think the problem has to do with the height="*" - I was told that
the * means make it as big as it needs to be. How big it needs to be
then gets calculated from the main content. Any ideas how I can fix
this in IE, I really appreciate your help.
Thanks,
Randy
As the previous reply indicated, Firefox is a browser and not a Web page
composer.

If you want the height to be whatever is necessary, just don't specify it.

--

David E. Ross
<http://www.rossde.com/>.

Q: What's a President Bush cocktail?
A: Business on the rocks.

Sorry Guys typo - I meant fireworks. Thanks David but what do you mean
"if you want the height to be whatever is necessary, just don't
specify it." Do I just leave it blank or how would I change the code.
Thanks
Omit the Height attribute entirely.

The HTML specification does not require a height on a table cell and
does not allow a height on a table row. If the cell height is not
specified at all, its row's height will be whatever is needed to present
the contents of the row's cells (and not not greater than that height),
all cells in a row having a uniform height.

Actually, the Height attribute is deprecated for table cells in HTML
4.01, which means it really should not be used at all for table cells.
The Height attribute is okay for IMG, OBJECT, and IFRAME elements. It
is defined but also deprecated for the APPLET element. The
specification indicates no other elements where this attribute can appear.

--

David E. Ross
<http://www.rossde.com/>.

Q: What's a President Bush cocktail?
A: Business on the rocks.
Jul 23 '08 #8
On Jul 22, 8:32 pm, "David E. Ross" <nob...@nowhere.notwrote:
On 7/22/2008 1:21 PM, Rabel wrote:
On Jul 17, 8:11 pm, "David E. Ross" <nob...@nowhere.notwrote:
On 7/17/2008 2:07 PM, Rabel wrote:
>I have a page that is using tables (please no comments about this - I
understand it should be css but firefox created this template) I have
a menu down the left side and the bottom is supposed to be as tall as
needed to fill the page. This works fine in firefox but not in ie.
Here is a link to the page if you would like to see it
http://creativeness.com/temptest/storetemplate2.htm
I think the problem has to do with the height="*" - I was told that
the * means make it as big as it needs to be. How big it needs to be
then gets calculated from the main content. Any ideas how I can fix
this in IE, I really appreciate your help.
Thanks,
Randy
As the previous reply indicated, Firefox is a browser and not a Web page
composer.
If you want the height to be whatever is necessary, just don't specify it.
--
David E. Ross
<http://www.rossde.com/>.
Q: What's a President Bush cocktail?
A: Business on the rocks.
Sorry Guys typo - I meant fireworks. Thanks David but what do you mean
"if you want the height to be whatever is necessary, just don't
specify it." Do I just leave it blank or how would I change the code.
Thanks

Omit the Height attribute entirely.

The HTML specification does not require a height on a table cell and
does not allow a height on a table row. If the cell height is not
specified at all, its row's height will be whatever is needed to present
the contents of the row's cells (and not not greater than that height),
all cells in a row having a uniform height.

Actually, the Height attribute is deprecated for table cells in HTML
4.01, which means it really should not be used at all for table cells.
The Height attribute is okay for IMG, OBJECT, and IFRAME elements. It
is defined but also deprecated for the APPLET element. The
specification indicates no other elements where this attribute can appear.

--

David E. Ross
<http://www.rossde.com/>.

Q: What's a President Bush cocktail?
A: Business on the rocks.
Thanks David - I tried that changing the code to just <trand same
result works in firefox but not in ie. Any idea whats going on.

Thanks,
Randy
Jul 23 '08 #9
On 7/23/2008 9:12 AM, Rabel wrote:
On Jul 22, 8:32 pm, "David E. Ross" <nob...@nowhere.notwrote:
>On 7/22/2008 1:21 PM, Rabel wrote:
>>On Jul 17, 8:11 pm, "David E. Ross" <nob...@nowhere.notwrote:
On 7/17/2008 2:07 PM, Rabel wrote:
I have a page that is using tables (please no comments about this - I
understand it should be css but firefox created this template) I have
a menu down the left side and the bottom is supposed to be as tall as
needed to fill the page. This works fine in firefox but not in ie.
Here is a link to the page if you would like to see it
http://creativeness.com/temptest/storetemplate2.htm
I think the problem has to do with the height="*" - I was told that
the * means make it as big as it needs to be. How big it needs to be
then gets calculated from the main content. Any ideas how I can fix
this in IE, I really appreciate your help.
Thanks,
Randy
As the previous reply indicated, Firefox is a browser and not a Web page
composer.
If you want the height to be whatever is necessary, just don't specify it.
--
David E. Ross
<http://www.rossde.com/>.
Q: What's a President Bush cocktail?
A: Business on the rocks.
Sorry Guys typo - I meant fireworks. Thanks David but what do you mean
"if you want the height to be whatever is necessary, just don't
specify it." Do I just leave it blank or how would I change the code.
Thanks
Omit the Height attribute entirely.

The HTML specification does not require a height on a table cell and
does not allow a height on a table row. If the cell height is not
specified at all, its row's height will be whatever is needed to present
the contents of the row's cells (and not not greater than that height),
all cells in a row having a uniform height.

Actually, the Height attribute is deprecated for table cells in HTML
4.01, which means it really should not be used at all for table cells.
The Height attribute is okay for IMG, OBJECT, and IFRAME elements. It
is defined but also deprecated for the APPLET element. The
specification indicates no other elements where this attribute can appear.

Thanks David - I tried that changing the code to just <trand same
result works in firefox but not in ie. Any idea whats going on.

Thanks,
Randy
Your page says it's XHTML in the DOCTYPE and contains XHTML markup, but
your server is sending it as HTML. The HTTP header sent by your server
says content-type is "text/html. The HTTP header should say
content-type is something like "application/xhtml+xml".

On top of that, IE has problems rendering XHTML. IE7 might be better
than IE6 for XHTML, but I'm not sure about that. I only use SeaMonkey
as my browser.

--

David E. Ross
<http://www.rossde.com/>.

Q: What's a President Bush cocktail?
A: Business on the rocks.
Jul 23 '08 #10
On Jul 23, 5:41 pm, "David E. Ross" <nob...@nowhere.notwrote:
On 7/23/2008 9:12 AM, Rabel wrote:
On Jul 22, 8:32 pm, "David E. Ross" <nob...@nowhere.notwrote:
On 7/22/2008 1:21 PM, Rabel wrote:
>On Jul 17, 8:11 pm, "David E. Ross" <nob...@nowhere.notwrote:
On 7/17/2008 2:07 PM, Rabel wrote:
I have a page that is using tables (please no comments about this - I
understand it should be css but firefox created this template) I have
a menu down the left side and the bottom is supposed to be as tall as
needed to fill the page. This works fine in firefox but not in ie.
Here is a link to the page if you would like to see it
http://creativeness.com/temptest/storetemplate2.htm
I think the problem has to do with the height="*" - I was told that
the * means make it as big as it needs to be. How big it needs to be
then gets calculated from the main content. Any ideas how I can fix
this in IE, I really appreciate your help.
Thanks,
Randy
As the previous reply indicated, Firefox is a browser and not a Web page
composer.
If you want the height to be whatever is necessary, just don't specify it.
--
David E. Ross
<http://www.rossde.com/>.
Q: What's a President Bush cocktail?
A: Business on the rocks.
Sorry Guys typo - I meant fireworks. Thanks David but what do you mean
"if you want the height to be whatever is necessary, just don't
specify it." Do I just leave it blank or how would I change the code.
Thanks
Omit the Height attribute entirely.
The HTML specification does not require a height on a table cell and
does not allow a height on a table row. If the cell height is not
specified at all, its row's height will be whatever is needed to present
the contents of the row's cells (and not not greater than that height),
all cells in a row having a uniform height.
Actually, the Height attribute is deprecated for table cells in HTML
4.01, which means it really should not be used at all for table cells.
The Height attribute is okay for IMG, OBJECT, and IFRAME elements. It
is defined but also deprecated for the APPLET element. The
specification indicates no other elements where this attribute can appear.
Thanks David - I tried that changing the code to just <trand same
result works in firefox but not in ie. Any idea whats going on.
Thanks,
Randy

Your page says it's XHTML in the DOCTYPE and contains XHTML markup, but
your server is sending it as HTML. The HTTP header sent by your server
says content-type is "text/html. The HTTP header should say
content-type is something like "application/xhtml+xml".

On top of that, IE has problems rendering XHTML. IE7 might be better
than IE6 for XHTML, but I'm not sure about that. I only use SeaMonkey
as my browser.

--

David E. Ross
<http://www.rossde.com/>.

Q: What's a President Bush cocktail?
A: Business on the rocks
Hi David,
Thanks for your help but I removed that info and still not able to get
it to work. I mostly use firefox but I am using ie7 to check sites too
so not any better in ie7. Any other ideas what I could do.

Thanks again,
Randy
Jul 24 '08 #11
Rabel <Ra***@creativeness.comwrites:
On Jul 23, 5:41 pm, "David E. Ross" <nob...@nowhere.notwrote:
<snip>
>Your page says it's XHTML in the DOCTYPE and contains XHTML markup, but
your server is sending it as HTML. The HTTP header sent by your server
says content-type is "text/html. The HTTP header should say
content-type is something like "application/xhtml+xml".

On top of that, IE has problems rendering XHTML. IE7 might be better
than IE6 for XHTML, but I'm not sure about that. I only use SeaMonkey
as my browser.

--

David E. Ross
<http://www.rossde.com/>.

Q: What's a President Bush cocktail?
A: Business on the rocks
Best not to quote sig blocks.
Hi David,
Thanks for your help but I removed that info and still not able to get
it to work.
You made it (technically) worse. The "info" you removed was the
DOCTYPE (at least I assume it was -- there was none there when I
looked) so now the page (still served as text/html) is now a large
collection of syntax errors which the browser has to just plough
through trying to make sense of it as best it can.

I say "technically worse" because the HTML/XHTML issue may not have
anything to do with the problem you think the page has.
I mostly use firefox but I am using ie7 to check sites too
so not any better in ie7. Any other ideas what I could do.
Gradually strip everything out from the page leaving just the bit that
shows the problem. Remove the scripting, the multiple images (if an
image is important to the issue, keep one but don't have all those
differently names ones). What will then happen is you will either
find what is causing the problem or you will end up with a page that
people will feel they can help with. When I look at all the
extraneous stuff on that page, I loose the will to live^H^H^H^H help.

--
Ben.
Jul 24 '08 #12
Does anyone know of a css code I could plug in there to make work?

I tried this and same thing, it worked in firefox but not ie
<tr style="height:auto;">
Aug 5 '08 #13
On 2008-08-05, Rabel wrote:
Does anyone know of a css code I could plug in there to make work?
Plug in where? Please be aware that you are posting to Usenet, not
just Google groups.

Usenet is a world-wide network of servers which usually delete
messages after a certain period of time. The preceding messages in
a thread may not be visible.

Please include enough context from previous posts so that the
message stands on its own.
I tried this and same thing, it worked in firefox but not ie
<tr style="height:auto;">

--
Chris F.A. Johnson <http://cfaj.freeshell.org>
================================================== =================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
Aug 5 '08 #14
On 8/5/2008 10:59 AM, Rabel wrote:
Does anyone know of a css code I could plug in there to make work?

I tried this and same thing, it worked in firefox but not ie
<tr style="height:auto;">
You still have XHTML errors, and your Web server is still serving the
page as HTML and not XHTML. Fix these problems first.

Then, eliminate all use of "height" as an element attribute and a CSS
property. By default, all heights are "auto" if "height" is not
specified.

--

David E. Ross
<http://www.rossde.com/>

Q: What's a President Bush cocktail?
A: Business on the rocks.
Aug 5 '08 #15
"David E. Ross" <no****@nowhere.notwrites:
On 8/5/2008 10:59 AM, Rabel wrote:
>Does anyone know of a css code I could plug in there to make work?

I tried this and same thing, it worked in firefox but not ie
<tr style="height:auto;">

You still have XHTML errors, and your Web server is still serving the
page as HTML and not XHTML.
The OP wants the page to work with IE (version unspecified) so that
advice seems odd. "Re-write as HTML" would be more helpful, I'd have
thought.

--
Ben.
Aug 6 '08 #16
On 8/5/2008 5:00 PM, Ben Bacarisse wrote:
"David E. Ross" <no****@nowhere.notwrites:
>On 8/5/2008 10:59 AM, Rabel wrote:
>>Does anyone know of a css code I could plug in there to make work?

I tried this and same thing, it worked in firefox but not ie
<tr style="height:auto;">
You still have XHTML errors, and your Web server is still serving the
page as HTML and not XHTML.

The OP wants the page to work with IE (version unspecified) so that
advice seems odd. "Re-write as HTML" would be more helpful, I'd have
thought.
I explained that in an earlier reply in this thread (7/23/2008 2:41 PM
PDT):
On top of that, IE has problems rendering XHTML.
It appears that the originator of this thread does not understand such
issues as (1) validating HTML (or XHTML) and CSS at W3C and (2) serving
a page as HTML or XHTML. It's almost as if some idiot manager (perhaps
the pointy-haired guy from "Dilbert") gave him a set of templates and
said "You must use these."

I'm through with this thread.

--

David E. Ross
<http://www.rossde.com/>

Q: What's a President Bush cocktail?
A: Business on the rocks.
Aug 6 '08 #17
On Aug 5, 8:00 pm, Ben Bacarisse <ben.use...@bsb.me.ukwrote:
"David E. Ross" <nob...@nowhere.notwrites:
On 8/5/2008 10:59 AM, Rabel wrote:
Does anyone know of a css code I could plug in there to make work?
I tried this and same thing, it worked in firefox but not ie
<tr style="height:auto;">
You still have XHTML errors, and your Web server is still serving the
page as HTML and not XHTML.

The OP wants the page to work with IE (version unspecified) so that
advice seems odd. "Re-write as HTML" would be more helpful, I'd have
thought.

--
Ben.
Hey Ben, I wasnt sure what you were asking for before maybe this is
it

www.CREATIVENESS.com/temptest/storetemplate4.htm - i also said earlier
about it being ie7

Hey David I tried to add the xhtml line and I validated the html and
when I removed the height that it says it falls all apart. I am just
trying to get this to work if that means the backend is a mess I will
worry about that later, and the fact that it looks fine in firefox is
very frustrating. But your "through with this thread" - such an angry
old man.
Aug 11 '08 #18
Rabel <Ra***@creativeness.comwrites:
Hey Ben, I wasnt sure what you were asking for before maybe this is
it
I wasn't asking for anything.
www.CREATIVENESS.com/temptest/storetemplate4.htm - i also said earlier
about it being ie7
I don't have IE7 so I can't tell if anything is wrong. I can't even
tell if what I see in my browser is correct. The only advice I can
give is to cut the page down gradually until you have a small simple
pages that show the difference in rendering that is problematic.

--
Ben.
Aug 12 '08 #19
On Aug 11, 9:42 pm, Ben Bacarisse <ben.use...@bsb.me.ukwrote:
Rabel <Ra...@creativeness.comwrites:
Hey Ben, I wasnt sure what you were asking for before maybe this is
it

I wasn't asking for anything.
http://www.CREATIVENESS.com/temptest...template4.htm- i also said earlier
about it being ie7

I don't have IE7 so I can't tell if anything is wrong. I can't even
tell if what I see in my browser is correct. The only advice I can
give is to cut the page down gradually until you have a small simple
pages that show the difference in rendering that is problematic.

--
Ben.
Thanks
Aug 12 '08 #20

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

Similar topics

0
by: Bill Smith | last post by:
If I have the line following in a stored proc... set rowCount = (select count(*) from t2); what is the equivalent way to set rowCount variable using dynamic sql... ... set sqlStmt = 'select...
2
by: hans.kindberg | last post by:
I have a page with a content-div that scrolls and has a dynamic height. I do this with position absolute, top and bottom. I can do this if the other parts (divs) in the page over the scrolling part...
0
by: sarakumarsg | last post by:
Hai, i would like to use dynamic sql for update records in the DB@ db. Means, the value to be updated will be send as concatenated string. Then based on the concatnation value i need to...
3
benchpolo
by: benchpolo | last post by:
I wrote a funtion in VBA OutputTo an excel file using dynamic filename. Table: contact Filename format: contact_10292007.xls Code: Function outfile() Dim stbl As String stbl =...
0
by: David | last post by:
Hi all, Developing in VS 2005, VB.NET An application I am working with currently has everything in one page, but will really be suited to being modular, hence the idea of using dynamic user...
3
by: SnehaAgrawal | last post by:
Hi I want to check if a particular table exists or not in my DB.But that I have to check using dynamic sql.Can anyone provide me with the syntax
1
by: buntyindia | last post by:
Hi, How can we achieve dynamic height for IFRAME on the base of it's content height. I want to remove the scrollbars. Thanks,
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
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,...

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.