almost working right

I've kind of resolved the problem in that I created a "row" for the
two floating divisions to be held in so that in essence would resemble
a table. Such as <tr><td>test</td><td>test</td></tr>.
"brow" acts as <tr>. This works fine but still, if I put certain
elements within brow, very strange and unpredicatable behavior
happens.

Now with this "row", I float both cells and they appear as I want
them. I suppose I can live with that. Works just fine in IE as well.




<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Menu</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" media="all">

..bigbox { width:500px; height:200px;
border:solid 2px red;
}

..row1 {
text-align:center;
font-family:arial;
font-size:12pt;
border-bottom:solid 2px blue;
}

..brow { clear:left;
width:98%; background-color:#B1F9FE;

}

..row2a { width:50%; float:left; background-color:#B1F9FE;
border-bottom:solid 2px blue;

}

..row2b { float:left; background-color:#B1F9FE;
border-bottom: solid 2px blue;
width:30%;
}

</style>
</head>
<body>

<div class="bigbox">
<div class="row1">Artist</div>
<div class="brow">
<div class="row2a">Name</div>
<div class="row2b">Label</div>
</div>
<div class="brow">
<div class="row2a">Name</div>
<div class="row2b">Label</div>
</div>

</div>






</body>
</html>
Richard [ Mo, 14 April 2008 16:24 ] [ ID #1942430 ]

Re: almost working right

On 14 Apr, 15:24, richard <i.do.... [at] ca.re> wrote:

> Now with this "row", I float both cells and they appear as I want
> them. I suppose I can live with that. Works just fine in IE as well.

You've just about discovered basic use of float.

What are you expecting next? One of these? <http://www.amazon.co.uk/
exec/obidos/ASIN/0970822685/>
Andy Dingley [ Mo, 14 April 2008 19:26 ] [ ID #1942436 ]

Re: almost working right

On 14 Apr 2008, Andy Dingley <dingbat [at] codesmiths.com> wrote:

> On 14 Apr, 15:24, richard <i.do.... [at] ca.re> wrote:
>
>> Now with this "row", I float both cells and they appear as I want
>> them. I suppose I can live with that. Works just fine in IE as well.
>
> You've just about discovered basic use of float.
>
> What are you expecting next? One of these? <http://www.amazon.co.uk/
> exec/obidos/ASIN/0970822685/>

I ordered a copy of "Aliens Love Underpants". Wonder if I'll see dorayme
in it?

--
Neredbojias
http://www.neredbojias.com/
Great sights and sounds
Neredbojias [ Mo, 14 April 2008 20:50 ] [ ID #1942439 ]

Re: almost working right

richard … [at] ca.re> wrote in news:dup604lv6hqg2kqhmsl5jgpetq6cifc7jf [at] 4ax.com:

> I've kind of resolved the problem in that I created a "row" for the
> two floating divisions to be held in so that in essence would resemble
> a table. Such as <tr><td>test</td><td>test</td></tr>.

[snip]

Kind of like a table, perhaps maybe, depending on content IE may missbehave
and require a bit more.

[url] http://snurl.com/24e08 [/url]

--
BootNic Monday April 14, 2008 7:13 PM
Get your facts first, and then you can distort them as much as you
please.
*Mark Twain*
BootNic [ Di, 15 April 2008 01:13 ] [ ID #1943250 ]
Miscellaneous » alt.html » almost working right

Vorheriges Thema: Adding Some Saparation Text Between Two Consecutive <option> Tags of a Form?
Nächstes Thema: Re: IE not showing PHP-generated images, but Firefox does.