HighDots Forums  

Re: Newbie question re CSS margins in IE

alt.html alt.html


Discuss Re: Newbie question re CSS margins in IE in the alt.html forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Neredbojias
 
Posts: n/a

Default Re: Newbie question re CSS margins in IE - 03-08-2006 , 04:24 PM






With neither quill nor qualm, damiensawyer (AT) yahoo (DOT) com.au quothed:

Quote:
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.


Reply With Quote
  #2  
Old   
damiensawyer@yahoo.com.au
 
Posts: n/a

Default Re: Newbie question re CSS margins in IE - 03-09-2006 , 10:23 PM






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?

Quote:
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,



Damien


Neredbojias wrote:

Quote:
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.


Reply With Quote
  #3  
Old   
Neredbojias
 
Posts: n/a

Default Re: Newbie question re CSS margins in IE - 03-10-2006 , 01:01 AM



With neither quill nor qualm, damiensawyer (AT) yahoo (DOT) com.au quothed:

Quote:
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.


Reply With Quote
  #4  
Old   
Damien Sawyer
 
Posts: n/a

Default Re: Newbie question re CSS margins in IE - 03-10-2006 , 07:19 PM



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??



"Neredbojias" <invalid (AT) neredbojias (DOT) com> wrote

Quote:
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.



Reply With Quote
  #5  
Old   
Jonathan N. Little
 
Posts: n/a

Default Re: Newbie question re CSS margins in IE - 03-10-2006 , 08:24 PM



Damien Sawyer wrote:
Quote:
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.

Quote:
"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>

Quote:
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


Reply With Quote
  #6  
Old   
Neredbojias
 
Posts: n/a

Default Re: Newbie question re CSS margins in IE - 03-11-2006 , 02:54 PM



With neither quill nor qualm, Damien Sawyer quothed:

Quote:
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... :-(
It's really annoying when people don't recognize the answers they
sought. I showed you what was wrong, thus pointing you in the direction
of a workaround.

Quote:
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??
Oh, but it is. Extremely simple. Much simpler than cutting and pasting
markup which should have been examined from a url regardless of its
historic impermanence. Unfortunately, you have annoyed me so maybe
Jukka or Alan or David or Jonathan or somebody can come to your rescue
because I'm through.

--
Neredbojias
Contrary to popular belief, it is believable.


Reply With Quote
  #7  
Old   
Damien Sawyer
 
Posts: n/a

Default Re: Newbie question re CSS margins in IE - 03-11-2006 , 06:40 PM



Thanks Jonathon,

You speak wisdom.


DS



"Jonathan N. Little" <lws4art (AT) centralva (DOT) net> wrote

Quote:
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



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.