|
Posted by Chaddy2222 on 02/11/06 06:06
Smiley wrote:
> "Mitja Trampus" <nun@example.com> wrote in message
> news:f0ZGf.564$76.318201@news.siol.net...
> >
> > we don't know why IE does this. At least me - I've tried applying height
> > to tr instead of td, using non-quirks mode, using table-layout:fixed -
> > none worked.
>
> So, it's a bug in IE then?
I would actually think it's more just the way IE decides to display the
PX hight.
>
> > So... tackle the problem differently. If you insist on a table-based
> > layout, go for nested tables <puke>.
> > Another alternative, as Uncle Pirate hinted, is to use DIVs and CSS.
> >
> > Try describing what layout you're trying to get, and perhaps we can come
> > up with a more elegant solution than these tables...
>
> Okay, I wanted to put a background image in the top left cell that had a
> height of 160. Unfortunately, in IE, the background image repeated itself
> because it seemed to ignore the height property.
Specifying anything in PX is generally a bad idea no matter what you
decide to use for layout.
You should set the hight of the BG image to a % of the window, for
example, in your case you may want to set the hight to something like
2%. Try some different %'s and take a look at the code in IE.
Also, if you provide an url to a test page it does make it easyer for
us to diagnose your specific problem instead of just guessing what it
might be!.
>
> The bottom left cell would be blank, and the right side cell would contain
> text. I used <BR>'s in my example because I didn't want to reproduce the
> text I was going to use here and using a bunch of <BR>'s takes much less
> room than quoting Lorem Ipsum.
You should really use <p> </p>'s to seperate your text, especially if
you want to have it marked up in paragraphs.
<br> is for line breaks and so <p> works better for what you want to
do.
HTH.
--
Regards Chad. http://freewebdesign.cjb.cc
[Back to original message]
|