|
|
|
|
||||||
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
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 > |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
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 >> |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
"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. |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
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. > |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
Cheers chap - I have tried all sorts of google searches but never got the term correct.
|
|
|
|
#7 |
|
Messages: n/a
Hébergeur: |
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!!! |
|
|
|
#8 |
|
Messages: n/a
Hébergeur: |
> 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!!! > |
|
|
|
#9 |
|
Messages: n/a
Hébergeur: |
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! |
|
|
|
#10 |
|
Messages: n/a
Hébergeur: |
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! > |
|
![]() |
| Outils de la discussion | |
|
|