HighDots Forums  

ok,if theres a god of css, i'll pray!

alt.html alt.html


Discuss ok,if theres a god of css, i'll pray! in the alt.html forum.



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

Default ok,if theres a god of css, i'll pray! - 04-05-2006 , 11:51 AM






Hi yet again,
first can I say a big load of thanks to everyone who's replyed to my posts
so far, I *think* this should be the last.

I've got the page looking practically perfect in FF but in IE the leftcell
div covers part of the maincontent div. I tried margin-left:-255px; and this
fixs it for IE but in FF the div disapears of the page.

So,
a) is there something i've missed with the posistioning of the leftcell div
?
or
b) is there someway of making FF ignore the margin-left selector in the
style sheet?

TIA

Paul

--
http://www.paulwatt.info



Reply With Quote
  #2  
Old   
Paul Watt
 
Posts: n/a

Default Re: ok,if theres a god of css, i'll pray! - 04-05-2006 , 11:53 AM







"Paul Watt" <paulioNOSPAM (AT) wattio (DOT) freeserve.co.uk> wrote

Quote:
Hi yet again,
first can I say a big load of thanks to everyone who's replyed to my posts
so far, I *think* this should be the last.

I've got the page looking practically perfect in FF but in IE the leftcell
div covers part of the maincontent div. I tried margin-left:-255px; and
this fixs it for IE but in FF the div disapears of the page.

So,
a) is there something i've missed with the posistioning of the leftcell
div ?
or
b) is there someway of making FF ignore the margin-left selector in the
style sheet?

Ooops forgot the URL: http://www.paulwatt.info/test/turn/ .
http://www.paulwatt.info/test/turn/css/turnlayout.css




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

Default Re: ok,if theres a god of css, i'll pray! - 04-05-2006 , 12:16 PM



And lo, Paul Watt didst speak in
alt.html,alt.http://www.webmaster,comp.infosystem...style sheets:

Quote:
"Paul Watt" wrote...

I've got the page looking practically perfect in FF but in IE the
leftcell
div covers part of the maincontent div. I tried margin-left:-255px; and
this fixs it for IE but in FF the div disapears of the page.

So,
a) is there something i've missed with the posistioning of the leftcell
div ?
or
b) is there someway of making FF ignore the margin-left selector in the
style sheet?

Ooops forgot the URL: http://www.paulwatt.info/test/turn/ .
http://www.paulwatt.info/test/turn/css/turnlayout.css
Paul, this is not a FF problem, it's a MSIE problem, since it looks just
fine in Opera as well. If you must hack, hack it for MSIE, not FF.

Grey

--
The technical axiom that nothing is impossible sinisterly implies the
pitfall corollary that nothing is ridiculous.
- http://www.greywyvern.com/orca#search - Orca Search: Full-featured
spider and site-search engine


Reply With Quote
  #4  
Old   
Buzby
 
Posts: n/a

Default Re: ok,if theres a god of css, i'll pray! - 04-05-2006 , 12:38 PM




"Paul Watt" <paulioNOSPAM (AT) wattio (DOT) freeserve.co.uk> wrote

Quote:
Hi yet again,
first can I say a big load of thanks to everyone who's replyed to my posts
so far, I *think* this should be the last.

I've got the page looking practically perfect in FF but in IE the leftcell
div covers part of the maincontent div. I tried margin-left:-255px; and
this fixs it for IE but in FF the div disapears of the page.

So,
a) is there something i've missed with the posistioning of the leftcell
div ?
or
b) is there someway of making FF ignore the margin-left selector in the
style sheet?
try floating the menu section to the left




Reply With Quote
  #5  
Old   
Paul Watt
 
Posts: n/a

Default Re: ok,if theres a god of css, i'll pray! - 04-05-2006 , 01:00 PM




"GreyWyvern" <spam (AT) greywyvern (DOT) com> wrote

Quote:
And lo, Paul Watt didst speak in
alt.html,alt.http://www.webmaster,comp.infosystem...style sheets:

"Paul Watt" wrote...

I've got the page looking practically perfect in FF but in IE the
leftcell
div covers part of the maincontent div. I tried margin-left:-255px; and
this fixs it for IE but in FF the div disapears of the page.

So,
a) is there something i've missed with the posistioning of the leftcell
div ?
or
b) is there someway of making FF ignore the margin-left selector in the
style sheet?

Ooops forgot the URL: http://www.paulwatt.info/test/turn/ .
http://www.paulwatt.info/test/turn/css/turnlayout.css

Paul, this is not a FF problem, it's a MSIE problem, since it looks just
fine in Opera as well. If you must hack, hack it for MSIE, not FF.

Grey

Hi Grey,

Why cant everyone use firefox??
Is there a hack that will allow me have a statement in the stylesheet that
all other browsers will ignore and only be visible for MSIE? All I need is a
margin-left:-255px statement and all my worries will be gone.

cheers

Paul




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

Default Re: ok,if theres a god of css, i'll pray! - 04-05-2006 , 01:09 PM



And lo, Paul Watt didst speak in
alt.html,alt.http://www.webmaster,comp.infosystem...style sheets:

Quote:
Hi Grey,

Why cant everyone use firefox??
Because some of us use Opera :P

Quote:
Is there a hack that will allow me have a statement in the stylesheet
that
all other browsers will ignore and only be visible for MSIE? All I need
is a
margin-left:-255px statement and all my worries will be gone.
Look up "MSIE conditional comments" and serve MSIE an additional
stylesheet.

Grey

--
The technical axiom that nothing is impossible sinisterly implies the
pitfall corollary that nothing is ridiculous.
- http://www.greywyvern.com/orca#search - Orca Search: Full-featured
spider and site-search engine


Reply With Quote
  #7  
Old   
Jim Higson
 
Posts: n/a

Default Re: ok,if theres a god of css, i'll pray! - 04-05-2006 , 01:35 PM




Quote:
Is there a hack that will allow me have a statement in the stylesheet that
all other browsers will ignore and only be visible for MSIE? All I need is
a margin-left:-255px statement and all my worries will be gone.
you can write rules like this:

* html .foo
{ margin-left:-255px;
}

IE is the only browser that thinks there is an element above html when it
looks at css rules, so you can use it for stuff you only want IE to use.

--
Jim


Reply With Quote
  #8  
Old   
Paul Watt
 
Posts: n/a

Default Re: ok,if theres a god of css, i'll pray! - 04-05-2006 , 02:29 PM




"Toby Inkster" <usenet200604 (AT) tobyinkster (DOT) co.uk> wrote

Quote:
Paul Watt wrote:

I've got the page looking practically perfect in FF but in IE the
leftcell
div covers part of the maincontent div. I tried margin-left:-255px; and
this
fixs it for IE but in FF the div disapears of the page.

Sounds like something I've seen before. Try something like:

* HTML #maincontent { margin-left: -255px; }

It's a hack, and it won't work in IE 7. (But perhaps the big won't appear
in IE 7 anyway? One can but hope.)

Got it sorted. I used the "underscore" hack in the end. _margin-left:-255px;
did the trick

Thanks to all who helped!

Paul




Reply With Quote
  #9  
Old   
JDS
 
Posts: n/a

Default Re: ok,if theres a god of css, i'll pray! - 04-05-2006 , 02:35 PM



On Wed, 05 Apr 2006 16:51:30 +0100, Paul Watt wrote:

Quote:
So,
a) is there something i've missed with the posistioning of the leftcell div
?
or
b) is there someway of making FF ignore the margin-left selector in the
style sheet?
You already used your last question in an earlier post. Sorry.

--
JDS | jeffrey (AT) example (DOT) invalid



Reply With Quote
  #10  
Old   
John Bokma
 
Posts: n/a

Default Re: ok,if theres a god of css, i'll pray! - 04-05-2006 , 02:36 PM



Jim Higson <jh (AT) 333 (DOT) org> wrote:

Quote:
Is there a hack that will allow me have a statement in the stylesheet
that all other browsers will ignore and only be visible for MSIE? All
I need is a margin-left:-255px statement and all my worries will be
gone.

you can write rules like this:

* html .foo
{ margin-left:-255px;
}

IE is the only browser that thinks there is an element above html when
it looks at css rules, so you can use it for stuff you only want IE to
use.
Don't use hacks, use conditional stuff if this is an IE thing:
http://msdn.microsoft.com/library/default.asp?
url=/workshop/author/dhtml/overview/ccomment_ovw.asp

--
John

Google Suggest Perl script http://johnbokma.com/perl/google-suggest.html


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.