![]() | |
#1
| |||
| |||
|
|
Hi, I'm wondering if someone could help me with the peculiarities of CSS within IE. I wish to create a <DIV> in the stylesheet that has a fixed left and right margin (100px from the left of the window and 10px from the right). This works fine in Firefox, however fails in IE if I don't have 'enough' text inside the div - by enough, it appears that if the text doesn't wrap over the whole line, then the 'box' difined by the DIV doesn't cover the fufl width that I want. Can someone please point me in the direction of a workaround? I've tried to give a full working example of the issue below. |
#2
| |||
| |||
|
|
A url would help. Almost certainly, the solution to your real problem is simple. |
|
With neither quill nor qualm, damiensawyer (AT) yahoo (DOT) com.au quothed: Hi, I'm wondering if someone could help me with the peculiarities of CSS within IE. I wish to create a <DIV> in the stylesheet that has a fixed left and right margin (100px from the left of the window and 10px from the right). This works fine in Firefox, however fails in IE if I don't have 'enough' text inside the div - by enough, it appears that if the text doesn't wrap over the whole line, then the 'box' difined by the DIV doesn't cover the fufl width that I want. Can someone please point me in the direction of a workaround? I've tried to give a full working example of the issue below. _Why_ do you need the div to be "full width" with less text? A url would help. Almost certainly, the solution to your real problem is simple. -- Neredbojias Contrary to popular belief, it is believable. |
#3
| |||
| |||
|
|
I need it to be full width with less text for page layout and formatting. I would like to have a panel that displays at full width whether there is text in it or not. Sometimes there will be, sometimes there won't be. Surely the layout of the form/page shouldn't change if there is no text in it? A url would help. Almost certainly, the solution to your real problem is simple. Please forgive me, but why do you need a URL?? I realise that a sample can be extremely important in solving these issues, and, accordingly, I have provided a full sample below. All that you need to do is save it to a sample.html file and open it in a browser. All of about 10 seconds work. I chose to do it this way because, as this is a Usenet post, it will be archived and searchable by many people for many years - long after the URL you requested of me would have been removed. This way, there is a permanent record of the question (and hopefully a solution) for those many people over those many years. I don't understand what you mean by "Almost certainly, the solution to your real problem is simple". Can you please ellaborate? Or maybe tell me this simple solution? Thanks very much in advance, |
#4
| |||
| |||
|
|
With neither quill nor qualm, damiensawyer (AT) yahoo (DOT) com.au quothed: I need it to be full width with less text for page layout and formatting. I would like to have a panel that displays at full width whether there is text in it or not. Sometimes there will be, sometimes there won't be. Surely the layout of the form/page shouldn't change if there is no text in it? A url would help. Almost certainly, the solution to your real problem is simple. Please forgive me, but why do you need a URL?? I realise that a sample can be extremely important in solving these issues, and, accordingly, I have provided a full sample below. All that you need to do is save it to a sample.html file and open it in a browser. All of about 10 seconds work. I chose to do it this way because, as this is a Usenet post, it will be archived and searchable by many people for many years - long after the URL you requested of me would have been removed. This way, there is a permanent record of the question (and hopefully a solution) for those many people over those many years. I don't understand what you mean by "Almost certainly, the solution to your real problem is simple". Can you please ellaborate? Or maybe tell me this simple solution? Thanks very much in advance, Ie6 doesn't handle the following correctly: position:absolute; left:100px; right:10px; You need a workaround. -- Neredbojias Contrary to popular belief, it is believable. |
#5
| |||
| |||
|
|
um...duh. From my original post.... "Can someone please point me in the direction of a workaround?" It's really annoying when people respond to newsgroups questions to which they don't know the answer... :-( snip |
|
"Neredbojias" <invalid (AT) neredbojias (DOT) com> wrote in message news:MPG.1e7ac407c7473cc09897fc (AT) news (DOT) isp.com... With neither quill nor qualm, damiensawyer (AT) yahoo (DOT) com.au quothed: I need it to be full width with less text for page layout and formatting. I would like to have a panel that displays at full width whether there is text in it or not. Sometimes there will be, sometimes there won't be. Surely the layout of the form/page shouldn't change if there is no text in it? A url would help. Almost certainly, the solution to your real problem is simple. |
|
Ie6 doesn't handle the following correctly: position:absolute; left:100px; right:10px; You need a workaround. |
#6
| |||
| |||
|
|
um...duh. From my original post.... "Can someone please point me in the direction of a workaround?" It's really annoying when people respond to newsgroups questions to which they don't know the answer... :-( |
|
Lets refer back to your original (annoying) statement, "Almost certainly, the solution to your real problem is simple" It wouldn't seem that it's that simple to you now, would it?? |
#7
| |||
| |||
|
|
Damien Sawyer wrote: um...duh. From my original post.... "Can someone please point me in the direction of a workaround?" It's really annoying when people respond to newsgroups questions to which they don't know the answer... :-( snip Top posters are also annoying because is jumbles the flow of the conversation. "Neredbojias" <invalid (AT) neredbojias (DOT) com> wrote in message news:MPG.1e7ac407c7473cc09897fc (AT) news (DOT) isp.com... With neither quill nor qualm, damiensawyer (AT) yahoo (DOT) com.au quothed: I need it to be full width with less text for page layout and formatting. I would like to have a panel that displays at full width whether there is text in it or not. Sometimes there will be, sometimes there won't be. Surely the layout of the form/page shouldn't change if there is no text in it? A url would help. Almost certainly, the solution to your real problem is simple. A URL can be helpful because some folks who are having problems and ask questions not only do not know the answer but also may may know what to include in their 'code example' and can make it difficult to locate the problem snip Ie6 doesn't handle the following correctly: position:absolute; left:100px; right:10px; You need a workaround. Maybe what Neredbojias meant here is not so much of a 'workaround' but a 'rethinking of your strategy'. Of course it would help to understand the purpose of this pixel-precision layout. You may have to let it hang and what for the Redmond boys to follow the specs or do something different. Remember it is a webpage not a magazine page. -- Take care, Jonathan ------------------- LITTLE WORKS STUDIO http://www.LittleWorksStudio.com |
![]() |
| Thread Tools | |
| Display Modes | |
| |