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 | | | | re: Using the * for dynamic height
Rabel wrote: Quote:
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 | | | | re: Using the * for dynamic height
On 7/17/2008 2:07 PM, Rabel wrote: Quote:
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. | | | | re: Using the * for dynamic height
In article <g5ogp1$fiu$1@registered.motzarella.org>,
"Beauregard T. Shagnasty" <a.nony.mous@example.invalidwrote: Quote:
Rabel wrote:
> Quote:
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 | | | | re: Using the * for dynamic height
dorayme wrote: Quote:
"Beauregard T. Shagnasty" <a.nony.mous@example.invalidwrote: Quote:
>Rabel wrote: Quote:
>>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 | | | | re: Using the * for dynamic height
In article <g5oup5$7d4$1@registered.motzarella.org>,
"Beauregard T. Shagnasty" <a.nony.mous@example.invalidwrote: Quote:
dorayme wrote:
> Quote:
"Beauregard T. Shagnasty" <a.nony.mous@example.invalidwrote: Quote:
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 | | | | re: Using the * for dynamic height
On Jul 17, 8:11 pm, "David E. Ross" <nob...@nowhere.notwrote: Quote:
On 7/17/2008 2:07 PM, Rabel wrote:
> Quote:
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
> > Quote:
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.
> >
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 | | | | re: Using the * for dynamic height
On 7/22/2008 1:21 PM, Rabel wrote: Quote:
On Jul 17, 8:11 pm, "David E. Ross" <nob...@nowhere.notwrote: Quote:
>On 7/17/2008 2:07 PM, Rabel wrote:
>> Quote:
>>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. | | | | re: Using the * for dynamic height
On Jul 22, 8:32 pm, "David E. Ross" <nob...@nowhere.notwrote: Quote:
On 7/22/2008 1:21 PM, Rabel wrote:
>
>
> Quote:
On Jul 17, 8:11 pm, "David E. Ross" <nob...@nowhere.notwrote: Quote:
On 7/17/2008 2:07 PM, Rabel wrote:
> Quote: Quote:
>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.
> Quote: Quote:
If you want the height to be whatever is necessary, just don't specify it.
> > Quote: Quote:
David E. Ross
<http://www.rossde.com/>.
> Quote: Quote:
Q: What's a President Bush cocktail?
A: Business on the rocks.
> Quote:
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 | | | | re: Using the * for dynamic height
On 7/23/2008 9:12 AM, Rabel wrote: Quote:
On Jul 22, 8:32 pm, "David E. Ross" <nob...@nowhere.notwrote: Quote:
>On 7/22/2008 1:21 PM, Rabel wrote:
>>
>>
>> Quote:
>>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. | | | | re: Using the * for dynamic height
On Jul 23, 5:41 pm, "David E. Ross" <nob...@nowhere.notwrote: Quote:
On 7/23/2008 9:12 AM, Rabel wrote:
>
>
> Quote:
On Jul 22, 8:32 pm, "David E. Ross" <nob...@nowhere.notwrote: Quote:
On 7/22/2008 1:21 PM, Rabel wrote:
> Quote: Quote:
>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.
> Quote: Quote:
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.
> Quote: Quote:
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.
> Quote:
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.
> >
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 | | | | re: Using the * for dynamic height
Rabel <Randy@creativeness.comwrites: Quote:
On Jul 23, 5:41 pm, "David E. Ross" <nob...@nowhere.notwrote:
<snip> Quote: Quote:
>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. Quote:
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. Quote:
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. | | | | re: Using the * for dynamic height
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;"> | | | | re: Using the * for dynamic height
On 2008-08-05, Rabel wrote: Quote:
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. Quote:
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) | | | | re: Using the * for dynamic height
On 8/5/2008 10:59 AM, Rabel wrote: Quote:
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. | | | | re: Using the * for dynamic height
"David E. Ross" <nobody@nowhere.notwrites: Quote:
On 8/5/2008 10:59 AM, Rabel wrote: Quote:
>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. | | | | re: Using the * for dynamic height
On 8/5/2008 5:00 PM, Ben Bacarisse wrote: Quote:
"David E. Ross" <nobody@nowhere.notwrites:
> Quote:
>On 8/5/2008 10:59 AM, Rabel wrote: Quote:
>>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): Quote:
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. | | | | re: Using the * for dynamic height
On Aug 5, 8:00 pm, Ben Bacarisse <ben.use...@bsb.me.ukwrote: Quote:
"David E. Ross" <nob...@nowhere.notwrites:
> Quote:
On 8/5/2008 10:59 AM, Rabel wrote: Quote:
Does anyone know of a css code I could plug in there to make work?
> Quote: Quote:
I tried this and same thing, it worked in firefox but not ie
<tr style="height:auto;">
> Quote:
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. | | | | re: Using the * for dynamic height
Rabel <Randy@creativeness.comwrites: Quote:
Hey Ben, I wasnt sure what you were asking for before maybe this is
it
I wasn't asking for anything. 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. | | | | re: Using the * for dynamic height
On Aug 11, 9:42 pm, Ben Bacarisse <ben.use...@bsb.me.ukwrote: Quote:
Rabel <Ra...@creativeness.comwrites: Quote:
Hey Ben, I wasnt sure what you were asking for before maybe this is
it
>
I wasn't asking for anything.
> >
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 |  | | | | /bytes/about
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 226,295 network members.
|