15 4820
Andrew Fedoniouk wrote: I have a simple test document which produce the following in Mozilla and Opera: http://terrainformatica.com/w3/p2/problem1.png Internet Explorer behaves as per recommendation (I guess)
Mozilla and Opera do one thing, IE does another and you think IE is right?!
Did I miss something and width of paragraph can be set less than its content (without overflow specification)?
Overflow must be set somewhere, even if that somewhere is the browser
default. http://www.w3.org/TR/CSS2/visufx.html#overflow
'overflow'
Initial: visible
visible
This value indicates that content is not clipped, i.e., it may be
rendered outside the block box.
- So Mozilla and Opera are doing The Right Thing.
--
David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
Thanks David for your response.
If 'overflow' is set to 'visible' by default to body element then
scrollbars will never appear. Right?
Seems like a bug. But where? In specification or in UA?
Andrew Fedoniouk. http://terrainformatica.com
"David Dorward" <do*****@yahoo. com> wrote in message
news:c8******** ***********@new s.demon.co.uk.. . Andrew Fedoniouk wrote:
I have a simple test document which produce the following in Mozilla and Opera: http://terrainformatica.com/w3/p2/problem1.png Internet Explorer behaves as per recommendation (I guess) Mozilla and Opera do one thing, IE does another and you think IE is
right?! Did I miss something and width of paragraph can be set less than its content (without overflow specification)?
Overflow must be set somewhere, even if that somewhere is the browser default.
http://www.w3.org/TR/CSS2/visufx.html#overflow 'overflow' Initial: visible
visible This value indicates that content is not clipped, i.e., it may be rendered outside the block box.
- So Mozilla and Opera are doing The Right Thing.
-- David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
> It is widely known that MSIE 5+ does not support overflow: visible the way the CSS2 spec. defined that declaration.
Seem like that you didn't get the idea...
IMHO, it is just a bug reproduced in both Mozilla and Opera.
They have problems counting margins declared in body element.
Andrew Fedoniouk. http://terrainformatica.com
Andrew Fedoniouk wrote: It is widely known that MSIE 5+ does not support overflow: visible the way the CSS2 spec. defined that declaration. Seem like that you didn't get the idea...
Or perhaps that you didn't get the idea.
IMHO,
Your opinion has little bearing on what the spec says.
it is just a bug reproduced in both Mozilla and Opera.
Well, what does the css spec say should happen? That's sort of
definitive, irrespective of your opinion.
They have problems counting margins declared in body element.
So far, all you've produced is a test showing different behavior in
different browsers and a "guess" as to which one is correct. Not very
convincing.
BTW, I see no borders at all in MSIE 5.5/Win, but I do see borders and
the overflow in Opera at a tiny window width.
--
Brian (remove "invalid" from my address to email me) http://www.tsmchughs.com/
OK, I'll try to explain it in different way.
What we know so far:
The default value of overflow attribute is 'visible'.
( http://www.w3.org/TR/CSS2/visufx.html#overflow)
1) this will apply to body also I guess.
2) if so then generally speaking scrollbars should not appear at all in UA's
window.
And sure I am getting this: http://terrainformatica.com/w3/p2/problem1.png
( http://terrainformatica.com/w3/p2/problem1.htm)
in Mozilla and Opera. And they are right according to CSS.
Seems like Internet Explorer always respects intrinsic content dimensions
and is using something like overflow:none
For me personally IE's behavior is more "humanistic " as it follows historic
traditions of HTML.
Since I did not find such thing as overflow:none in CSS spec I have a
question then:
How to say that paragraph dimensions will never be less
than its content in CSS?
Andrew Fedoniouk. http://terrainformatica.com
> > I did not find such thing as overflow:none in CSS spec No, but overflow:hidden is in that spec.
So what?
<quote>
hidden
This value indicates that the content is clipped and that no scrolling
mechanism should be provided to view the content outside the clipping
region; users will not have access to clipped content. The size and shape of
the clipping region is specified by the 'clip' property.
</quote>
How does overflow:hidden correlate with the task : "to show paragraph in
full" (a.k.a. overflow:none) ? http://www.w3.org/TR/REC-CSS2/visufx...def-visibility
This link is about the 'visibility' property. Any intention or just
mistyping?
Andrew Fedoniouk. http://terrainformatica.com
Andrew Fedoniouk wrote: I did not find such thing as overflow:none in CSS spec
overflow:hidden is in that spec.
How does overflow:hidden correlate with the task : "to show paragraph in full" (a.k.a. overflow:none) ?
Since you're asking for help, might want to tone down the exasperation a
tad.
I see *nothing* in the op to indicate that you want nothing clipped. And
overflow: none, which you now know doesn't exist, makes it sound like
you want the text to not overflow its box, i.e., to be hidden if at all
possible. So I was thinking of overflow: hidden.
Perhaps you could explain, from the top, what exactly you want to happen. http://www.w3.org/TR/REC-CSS2/visufx...def-visibility
This link is about the 'visibility' property. Any intention or just mistyping?
Should have been further up the page. Instead of visibility, I wanted to
point you to overflow: hidden (another property of overflow is visible,
hence my mistake). http://www.w3.org/TR/REC-CSS2/visufx...opdef-overflow
--
Brian (remove "invalid" from my address to email me) http://www.tsmchughs.com/ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Kai Grossjohann |
last post by:
I have a frame which is supposed to contain a list of links. The
clickable area of each link comprises a picture followed by some text.
I want the text to be cut at the right hand side when the user resizes
the frame to be "too narrow".
Right now, the source for that frame looks like this:
<table border="1" width="100%">
<tr style="background-color:#C0C0C0">
|
by: matthewmacchia |
last post by:
I believe this is a Firefox bug but I was hoping someone found a
workaround.
I have implemented drag and drop functionality, but if I try to drag an
element from a div that happens to have a div with an "overflow: auto"
it seems to lose the onmouseover event for my target.
Anyone come across this issue and found a resolution?
Please advise.
Here is a link to my code.
|
by: Simon Dean |
last post by:
Hi,
Im trying to learn CSS and putting a website in effect. Just getting
used to DIV's and SPAN's and using the proper formatting of H1 H2 H3 etc
to format HTML documents and using different stylesheets to control
formatting.
So far it's going pretty well, and Im just ripping up everything I knew
about tables and starting with DIV's. Though I seem to be having a hell
of a time working with padding and margins, then trying to realise...
|
by: Harry |
last post by:
I just implemented an "overflow: auto" for a div in the main message
window: http://www.auriance.com/docs/interaction/
This works as expected in Internet Explorer and Opera, but in Firefox
it doesn't. There shouldn't be a scrollbar on the page, but instead, on
the div that shows the messages.
Any idea?
Thanks,
|
by: reycri |
last post by:
I have a page that works as I intend in IE but not in Firefox:
<html>
<head>
<title>Overflow Test</title>
</head>
<body style='overflow:hidden; margin:0; padding:0;'>
<table border='0' cellpadding='0' cellspacing='0'
style='border-collapse:collapse; width:100%; height:100%;'>
<tr><td colspan='2' style='height:3em; border-bottom:1px solid
| |
by: Csaba Gabor |
last post by:
I have a table that sizes to take up most of the page's width. The
(mostly empty) rightmost cell of a particular row starts off as wide as
it can, but it might be that it gets something that exceeds its initial
width, such as a long web address. In this case, I would like the
horizontal overflow to be active. However, it seems that if I affix
the style overflow-x:auto, then IE6 will cover the bottom line (of the
text) with the...
|
by: vunet.us |
last post by:
How can I hide scrollbars which appear in my floating div element with
CSS property overflow:auto?
I do need to use auto overflow.
Thank you.
|
by: Justin England |
last post by:
Background:
I am working for a client putting a textbook online. The layout of the
textbook is straight forward and is easy enough to style with <h?>, <p>,
<uland <oltags. The text book also contains small images of a key that
represent a key point within the text. In the printed book, these keys are
positioned to the left of the text (in the margins if you will) and some
paragraphs may have more than one key. It is important to the...
|
by: obanite |
last post by:
Hi!
I'm having issues with css in FF and IE regarding overflow: auto and font-size.
If I have a div like this:
<div style="overflow: auto">
<span>ipsumlorendictowhateveripsumlorendictowhateveripsumlorendictowhateveasdasdripsumlorendictowhateverasdasdasdjasjdioasjiosdjasiojdoasjisdojiasojdo
</span>
</div>
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |