This is a discussion on "site is great in safari & firefox, but not IE7..." within the Starting Out section. This forum, and the thread "site is great in safari & firefox, but not IE7... are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
site is great in safari & firefox, but not IE7...
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Hi !,
I'm having real problems....!!! I've made my site in dreamweaver, on a mac. (goodbodycreate.com) But, although looking perfect in safari and firefox, it's all over the place when viewed in Internet Explorer. Help! Please have a look at my site and let me know what my problems are. All the best, Al. |
|
|
|
#2
|
|||
|
|||
|
Re: site is great in safari & firefox, but not IE7...
Quote:
|
|
#3
|
|||
|
|||
|
Here is the code for a page. Each page is the same, except the images and links are different...
Also, if I'm wanting to continue with web design, is it worth investing in a pc instead of a mac to do the work on, or is there no difference? Code:
Last edited by Ross; Jul 5th, 2007 at 15:16. Reason: Please use the [code][/code] tags when presenting code. Cheers :D |
|
#4
|
|||
|
|||
|
Re: site is great in safari & firefox, but not IE7...
Hello again !,
Any ideas as to why my code doesn't work in IE7? My head is spinning! Best, Al |
|
#5
|
|||
|
|||
|
Re: site is great in safari & firefox, but not IE7...
Hi Al:
Do you have the site online so we can visually see what the problem is? If not, can you explain the problem? Looking at the code would be like looking for a needle in a hay stack. |
|
#6
|
|||
|
|||
|
Re: site is great in safari & firefox, but not IE7...
Hello !
My site is called 'goodbodycreate.com' I have created it using a very high resolution screen, so am attempting to reduce the size of it, so that when viewed on a normal screen, the whole page is visible. However, I still have this problem with it being fine in FireFox and Safari, but all over the place in Explorer... I hope you can give me some idea as to what my problems could be. Thanks and best wishes, I'm finding your forum invaluable to my learning of web standards. Al |
|
#7
|
|||
|
|||
|
Re: site is great in safari & firefox, but not IE7...
The first thing I noticed is you have extra <body>and </header>code in the html. Delete the ones in red below.
See what that does. Then we can see what we need to do with the css. Last edited by Lchad; Jul 10th, 2007 at 16:26. Reason: Edit.. another mistake found. |
|
#8
|
|||
|
|||
|
Re: site is great in safari & firefox, but not IE7...
And you need to close your </map>
Running your site through the W3 Validator would have found you those errors. |
|
#9
|
|||
|
|||
|
Re: site is great in safari & firefox, but not IE7...
Thanks!
Will do. |
|
#10
|
|||
|
|||
|
Re: site is great in safari & firefox, but not IE7...
Hi!,
I have done what you suggested, but have not had any luck with it so far, however the code (in red) is wrong for some reason, as it is showing up as black in dreamweaver's code view. I guess this could have something to do with it....? I created the hotspots using design mode. Thanks for helping..! Al #command a{ margin: 5; </style> </head> <body> <div id="wrapper"> <div id="header"> <ul> <li id="home"><a href="Index.html">algoodbody</a></li> <li id="port"><a href="PortfolioPage.html">portfolio</a></li> <li id="misc"><a href="MiscPage.html">misc</a></li> <li id="contact"><a href="ContactPage.html">contact</a></li> </ul> </div> <div id="content"> <img src="img/PortfolioPage.html" width="800" height="536" border="0" usemap="#Map" /> <map name="Map" id="Map" <area shape="rect" coords="531,357,759,511" href="Shaun03.html" /> <area shape="rect" coords="286,357,515,511" href="4Text.html" /> <area shape="rect" coords="43,358,272,510" href="Truman.html" /> <area shape="rect" coords="531,191,759,341" href="SwissBook01.html" /> <area shape="rect" coords="285,191,514,342" href="Glob03.html" /> <area shape="rect" coords="44,192,271,341" href="Doll02.html" /> <area shape="rect" coords="530,23,757,179" href="SBook02.html" /> <area shape="rect" coords="285,23,514,178" href="Tram01.html" /> <area shape="rect" coords="45,24,272,178" href="TraillPage.html" /> </map> </body> </html> |
|
#11
|
|||
|
|||
|
Re: site is great in safari & firefox, but not IE7...
What's this?!
There's shouldn't be any position: relative in there. You haven't ran this in the validator have you? 'Cause you would see that you need to close a few </div> |
|
#12
|
|||
|
|||
|
Re: site is great in safari & firefox, but not IE7...
That is code that I was working on with a web designer, who suggested that was the best way to center my site....
#wrapper{ margin: 15px 0 0 0; width:800px; position: relative; left: 50%; margin-left: -400px; } I'll follow the 'center horizontally' you have suggested and let you know. Also - How do I run the site checker ? - Then, hopefully I can make corrections which you don't need to tell me.. Many thanks.. Back in a bit, Al |
|
#13
|
|||
|
|||
|
Re: site is great in safari & firefox, but not IE7...
Just do to the link, put you url and click on check!?
|
|
#14
|
|||
|
|||
|
Re: site is great in safari & firefox, but not IE7...
That's great!
Things are beginning to work!! Followed the center your site horizontally and to my delight it's worked! Will I need to go through every page within my site and make these changes seperately, or is there some sneaky way of applying code changes to every page, without having to start fresh, thereby having to re-link and re-load urls etc? Thanks! |
|
#15
|
|||
|
|||
|
Re: site is great in safari & firefox, but not IE7...
You should start by putting your stylesheet external instead of internal like you have and just link to it. That way ... you make one change in the CSS and it reflects on every page that links to it
Integrating CSS in your website |
|
#16
|
|||
|
|||
|
Re: site is great in safari & firefox, but not IE7...
Not sure where you are in fixing this but I've got a couple of corrections for you.
Green div closes the content div. |
|
#17
|
|||
|
|||
|
Re: site is great in safari & firefox, but not IE7...
Thanks Loads,
I've corrected much of the code. And created a seperate stylesheet.css page. I've tested things and they seem to be working very well. I've also resized the images and their files, so that loading each page will be quicker. I'll let you know how things go tomorrow.... Thank you all for your help. I am beginning to understand the basics much better now. Al |