HighDots Forums  

Re: Border / Background inconsistent?

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Re: Border / Background inconsistent? in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Ben C
 
Posts: n/a

Default Re: Border / Background inconsistent? - 10-22-2007 , 12:54 PM






On 2007-10-22, howa <howachen (AT) gmail (DOT) com> wrote:
Quote:
On 10 23 , 12 09 , Ben C <spams... (AT) spam (DOT) eggs> wrote:

That's what you should get with the markup above. Works for me in
Firefox, Opera and Konqueror.

What browser or browser-shaped-object are you testing this in?

Yes, work with FF 2.0, but not IE7
Better submit a bug report to Microsoft then and ask them to suggest a
workaround.


Reply With Quote
  #12  
Old   
dorayme
 
Posts: n/a

Default Re: Border / Background inconsistent? - 10-22-2007 , 04:28 PM






In article
<1193044428.069018.103060 (AT) i13g2000prf (DOT) googlegroups.com>,
howa <howachen (AT) gmail (DOT) com> wrote:

Quote:
On 10 22 , 5 06 , Ben C <spams... (AT) spam (DOT) eggs> wrote:
How about this:

div style="float: left"
div style="border: 2px solid red">header</div
table style="width: 1240px; border: 2px solid green"
tr
td>sss</td
/tr
/table
div style="clear: left"></div
/div


Yes, this solution works.

Thanks.
Yes, good one Ben. The last attempt I made last night, was

<http://netweaver.com.au/test/howa6.html>

but I don't know now if it appeared because I noticed a double
dot in the name on the server, a typo. This morning I fixed this
up and also made the width 1240 (instead of 400 which illustrated
it but might cause confusion). As I said, it worked in Firefox. I
do not know if this works in IE 6

--
dorayme


Reply With Quote
  #13  
Old   
Ben C
 
Posts: n/a

Default Re: Border / Background inconsistent? - 10-22-2007 , 04:54 PM



On 2007-10-22, dorayme <doraymeRidThis (AT) optusnet (DOT) com.au> wrote:
Quote:
In article
1193044428.069018.103060 (AT) i13g20...oglegroups.com>,
howa <howachen (AT) gmail (DOT) com> wrote:

On 10 22 , 5 06 , Ben C <spams... (AT) spam (DOT) eggs> wrote:
How about this:

div style="float: left"
div style="border: 2px solid red">header</div
table style="width: 1240px; border: 2px solid green"
tr
td>sss</td
/tr
/table
div style="clear: left"></div
/div


Yes, this solution works.

Thanks.

Yes, good one Ben. The last attempt I made last night, was

http://netweaver.com.au/test/howa6.html
I see, yes, the same sort of idea-- display: table rather than float:
left on the container. Both floats and tables are shrink-to-fit, which
is the point. Position: absolute on the container is another
possibility, since that's also shrink-to-fit.

I considered display: table but thought the chances of it working in IE
were even slimmer than usual.

Not that my solution apparently works in IE either, in the case where OP
makes his header also a table.

Quote:
but I don't know now if it appeared because I noticed a double
dot in the name on the server, a typo.
It could be. I did look at most of your versions and I do remember one
of them was "page not found". Then it occurred to me what the OP might
actually be talking about.

Someone asked about this before once. The page was something to do with
oceanography I think and he had a huge graph on it that scrolled off to
the right, and didn't like the header being only as wide as the
viewport.

Quote:
This morning I fixed this up and also made the width 1240 (instead of
400 which illustrated it but might cause confusion). As I said, it
worked in Firefox. I do not know if this works in IE 6
I'm sure I've heard display: table doesn't work in IE, not even IE7. But
then nothing much works in IE so this is hardly news.


Reply With Quote
  #14  
Old   
howa
 
Posts: n/a

Default Re: Border / Background inconsistent? - 10-22-2007 , 09:41 PM



On 10 23 , 1 54 , Ben C <spams... (AT) spam (DOT) eggs> wrote:
Quote:
Better submit a bug report to Microsoft then and ask them to suggest a
workaround.
Difficult then.

I rather think of any possibility to hack for IE6/7 then.





Reply With Quote
  #15  
Old   
Ben C
 
Posts: n/a

Default Re: Border / Background inconsistent? - 10-23-2007 , 02:50 AM



On 2007-10-23, howa <howachen (AT) gmail (DOT) com> wrote:
Quote:
On 10 23 , 1 54 , Ben C <spams... (AT) spam (DOT) eggs> wrote:

Better submit a bug report to Microsoft then and ask them to suggest a
workaround.

Difficult then.

I rather think of any possibility to hack for IE6/7 then.


You could try position: absolute instead of float: left on the
container, but I doubt it will make much difference.

Best advice is probably one big table, or just settle for it not looking
quite right on IE-- so long as it's still accessible.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.