Table row with an even hight
am 22.10.2006 06:37:33 von spam
Hi,
I've a table with three rows.
The middle row gets my content out of a database.
Its hight is not defined, so it has the hight it needs to display all
the content.
But I need the row in an even pixel hight, because of my backgound
graphic has to fit into the design.
Has anyone an idea, how to do this?
Best greetings,
Christoph Digwa
Re: Table row with an even hight
am 22.10.2006 15:35:25 von Jerry Stuckle
spam@djhotice.de wrote:
> Hi,
>
> I've a table with three rows.
> The middle row gets my content out of a database.
> Its hight is not defined, so it has the hight it needs to display all
> the content.
>
> But I need the row in an even pixel hight, because of my backgound
> graphic has to fit into the design.
>
> Has anyone an idea, how to do this?
>
> Best greetings,
> Christoph Digwa
>
Impossible. The height will, amongst other things, be defined by the
font size the user has set in the browser. This you cannot control.
Even if you didn't get the information from a database you'd have no
control over this. All you can do is recommend.
You need to change your design so that your graphic is not depending on
an even pixel size. Try alt.html for more help.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Re: Table row with an even hight
am 22.10.2006 17:26:29 von stryfedll
I'm guessing you could make the font 12px with CSS, make sure there is
no padding in the table then declare the height of the column as 12.
spam@djhotice.de wrote:
> Hi,
>
> I've a table with three rows.
> The middle row gets my content out of a database.
> Its hight is not defined, so it has the hight it needs to display all
> the content.
>
> But I need the row in an even pixel hight, because of my backgound
> graphic has to fit into the design.
>
> Has anyone an idea, how to do this?
>
> Best greetings,
> Christoph Digwa
Re: Table row with an even hightam 22.10.2006 17:29:11 von stryfedll
Oh, thats right, you don't want to define a height. You can get an even
12px font height with css though. Then, declare the padding and
cellspacing in px too.
stryfedll wrote:
> I'm guessing you could make the font 12px with CSS, make sure there is
> no padding in the table then declare the height of the column as 12.
>
>
> spam@djhotice.de wrote:
> > Hi,
> >
> > I've a table with three rows.
> > The middle row gets my content out of a database.
> > Its hight is not defined, so it has the hight it needs to display all
> > the content.
> >
> > But I need the row in an even pixel hight, because of my backgound
> > graphic has to fit into the design.
> >
> > Has anyone an idea, how to do this?
> >
> > Best greetings,
> > Christoph Digwa
Re: Table row with an even hightam 22.10.2006 20:00:36 von Jerry Stuckle
stryfedll wrote:
> I'm guessing you could make the font 12px with CSS, make sure there is
> no padding in the table then declare the height of the column as 12.
>
>
> spam@djhotice.de wrote:
>
>>Hi,
>>
>>I've a table with three rows.
>>The middle row gets my content out of a database.
>>Its hight is not defined, so it has the hight it needs to display all
>>the content.
>>
>>But I need the row in an even pixel hight, because of my backgound
>>graphic has to fit into the design.
>>
>>Has anyone an idea, how to do this?
>>
>>Best greetings,
>>Christoph Digwa
>
>
The problem is, that's only a recommendation. I can change it in my
browser. And then the layout falls apart.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Re: Table row with an even hightam 22.10.2006 20:03:15 von spam
Hey,
OK, thank you. My design shold be independent of the font size. So I've
to chage my design.
Best Greetings
Christoph Digwa
| | |