Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > ok,if theres a god of css, i'll pray!

Reply
Thread Tools

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

 
 
Paul Watt
Guest
Posts: n/a
 
      04-05-2006
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
 
 
 
 
Paul Watt
Guest
Posts: n/a
 
      04-05-2006

"Paul Watt" <> wrote in message
news:...
> 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
 
 
 
 
GreyWyvern
Guest
Posts: n/a
 
      04-05-2006
And lo, Paul Watt didst speak in
alt.html,alt.http://www.webmaster,comp.infosystem...g.stylesheets:

> "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
 
Buzby
Guest
Posts: n/a
 
      04-05-2006

"Paul Watt" <> wrote in message
news:...
> 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
 
Paul Watt
Guest
Posts: n/a
 
      04-05-2006

"GreyWyvern" <> wrote in message
news...
> And lo, Paul Watt didst speak in
> alt.html,alt.http://www.webmaster,comp.infosystem...g.stylesheets:
>
>> "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
 
GreyWyvern
Guest
Posts: n/a
 
      04-05-2006
And lo, Paul Watt didst speak in
alt.html,alt.http://www.webmaster,comp.infosystem...g.stylesheets:

> Hi Grey,
>
> Why cant everyone use firefox??


Because some of us use Opera

> 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
 
Toby Inkster
Guest
Posts: n/a
 
      04-05-2006
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.)

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

 
Reply With Quote
 
Jim Higson
Guest
Posts: n/a
 
      04-05-2006

> 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
 
Paul Watt
Guest
Posts: n/a
 
      04-05-2006

"Toby Inkster" <> wrote in message
news:sfbdg3-...
> 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
 
JDS
Guest
Posts: n/a
 
      04-05-2006
On Wed, 05 Apr 2006 16:51:30 +0100, Paul Watt wrote:

> 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 | lid
| http://www.newtnotes.com
DJMBS | http://newtnotes.com/doctor-jeff-master-brainsurgeon/

 
Reply With Quote
 
 
 
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Heres a mouse theres a mouse what a mouse do? unholy Gaming 37 09-17-2006 08:59 AM
Theres lots of pop ups. richardbardsley Computer Support 13 11-27-2005 01:21 AM
Theres scratches in the sound ! =?Utf-8?B?YnkgbmVlZGluIGhlbHAgZnJvbSBwZW9wbGU=?= Microsoft Certification 3 07-07-2005 05:31 AM
theres a smell coming from the case neville Computer Support 19 02-19-2005 12:48 AM
in XP, in the registry, theres no 'run services' in windows, current version Quiz Time Computer Support 7 06-27-2004 11:39 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57