PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > macromedia.dyna.html > WHY WON"T THIS EVER WORK FOR ME????
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
WHY WON"T THIS EVER WORK FOR ME????

Réponse
 
LinkBack Outils de la discussion
Vieux 04/03/2008, 09h51   #1
Jansolo
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut WHY WON"T THIS EVER WORK FOR ME????

I try all the time to construct websites using CSS and they look great on a Mac
using Safari/Firefox but whenever I test them on a stupid Windows IE they never
work properly - EVER!!!

I have been playing with one which can be seen here:

Site:
http://www.names4design.co.uk/ultraclean

CSS:
http://www.names4design.co.uk/ultraclean/default.css

As said on a mac - great, it is all where it should be, but on a Wiindows -
the nav section is under the content and the content is not floating right
enough.

Anyone have any ideas where I am going so wrong or am I destined to use tables
forever??

Cheers

Jan

  Réponse avec citation
Vieux 04/03/2008, 14h34   #2
Philo
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: WHY WON"T THIS EVER WORK FOR ME????



This looks fine in IE7 on a win machine; sounds like you may be using
that very old IE verion for the Mac. You have to beware that not all
browsers remder things the same. If you look at the sample templates
that come in cs3 you will see where they have made adjustments for
different browsers.

>
> Site:
> http://www.names4design.co.uk/ultraclean
>

  Réponse avec citation
Vieux 04/03/2008, 14h54   #3
Murray *ACE*
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: WHY WON"T THIS EVER WORK FOR ME????

It breaks in IE6/PC.

First thing I'd do is to remove the positioning from all interior divs.
Then I'd use an IE6 conditional comment to set the width of the nav
container.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"Philo" <meansyou@nospam.net> wrote in message
news:fqjmm3$qfa$1@forums.macromedia.com...
>
>
> This looks fine in IE7 on a win machine; sounds like you may be using
> that very old IE verion for the Mac. You have to beware that not all
> browsers remder things the same. If you look at the sample templates
> that come in cs3 you will see where they have made adjustments for
> different browsers.
>
>>
>> Site:
>> http://www.names4design.co.uk/ultraclean
>>


  Réponse avec citation
Vieux 04/03/2008, 17h10   #4
Jansolo
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: WHY WON"T THIS EVER WORK FOR ME????

"Then I'd use an IE6 conditional comment to set the width of the nav container."

Could you elaborate on that? I don't really use conditional comments apart
from those I copy and paste - where can I get a list of these as well as I come
across them more and more.

Thanks for both comments though.

  Réponse avec citation
Vieux 04/03/2008, 20h32   #5
Murray *ACE*
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: WHY WON"T THIS EVER WORK FOR ME????

Google "IE CONDITIONAL COMMENTS" - you'll see....

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"Jansolo" <webforumsuser@macromedia.com> wrote in message
news:fqjvqq$6th$1@forums.macromedia.com...
> "Then I'd use an IE6 conditional comment to set the width of the nav
> container."
>
> Could you elaborate on that? I don't really use conditional comments apart
> from those I copy and paste - where can I get a list of these as well as I
> come
> across them more and more.
>
> Thanks for both comments though.
>


  Réponse avec citation
Vieux 05/03/2008, 08h55   #6
Jansolo
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: WHY WON"T THIS EVER WORK FOR ME????

Cheers chap - I have tried all sorts of google searches but never got the term correct.
  Réponse avec citation
Vieux 05/03/2008, 09h22   #7
Jansolo
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: WHY WON"T THIS EVER WORK FOR ME????

The browser I am testing it on on the PC is IE 6.

From doing the Google search, I see that you can't include these conditional
comments within a CSS - it would have to be on the page itself.

Also, I have the #nav width set already (190px) so just can't see how to go
about it - I am being thick, I am well aware of that!!!

  Réponse avec citation
Vieux 05/03/2008, 13h27   #8
Murray *ACE*
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: WHY WON"T THIS EVER WORK FOR ME????

> From doing the Google search, I see that you can't include these
> conditional
> comments within a CSS - it would have to be on the page itself.


Yes. Why is that a problem?

> Also, I have the #nav width set already (190px) so just can't see how to
> go
> about it - I am being thick, I am well aware of that!!!


Clearly, IE6 is not following that directive, since you can see that it's
much wider in that browser.

I am not sure why it's not properly sized, to be honest....

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"Jansolo" <webforumsuser@macromedia.com> wrote in message
news:fqlop4$7c5$1@forums.macromedia.com...
> The browser I am testing it on on the PC is IE 6.
>
> From doing the Google search, I see that you can't include these
> conditional
> comments within a CSS - it would have to be on the page itself.
>
> Also, I have the #nav width set already (190px) so just can't see how to
> go
> about it - I am being thick, I am well aware of that!!!
>


  Réponse avec citation
Vieux 10/03/2008, 14h10   #9
Jansolo
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: WHY WON"T THIS EVER WORK FOR ME????

Been away - sorry!

With regards to conditional comments - you can't put them in a CSS file can
you? From what I am reading when doing a Google search you can if the CSS is in
the HTML page itself but not in a CSS file!

  Réponse avec citation
Vieux 10/03/2008, 14h33   #10
Murray *ACE*
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: WHY WON"T THIS EVER WORK FOR ME????

You cannot put them in a CSS file. But you can use them to write a LINK to
a CSS file -

<!--[if IE]>
<link href="foo.css" rel="stylesheet" type="text.css">
<[endif]-->

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"Jansolo" <webforumsuser@macromedia.com> wrote in message
news:fr3bvo$263$1@forums.macromedia.com...
> Been away - sorry!
>
> With regards to conditional comments - you can't put them in a CSS file
> can
> you? From what I am reading when doing a Google search you can if the CSS
> is in
> the HTML page itself but not in a CSS file!
>


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 18h36.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,14336 seconds with 18 queries