Submit Your Article Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read


Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-22-2008, 08:13 AM
fortune68's Avatar
WebProWorld Member
 
Join Date: Feb 2008
Location: Perth, Western Australia
Posts: 59
fortune68 RepRank 0
Unhappy Site Display on Internet Explorer vs. Mozilla Firefox

I have just got my new (and first!!) website pretty much finished, and now I discovered that when searched for with Internet Explorer the first page displays differently than on Mozilla Firefox.

I created the site in a sitebuilder and always worked in Mozilla Firefox. In Firefox it looks perfect.

In Internet Explorer, the writing and a picture go slightly out into the blue strip on the side.

Could anybody have a look at it and maybe tell me why that is, and how I can fix this? It is really annoying, because I think most people still use Internet Explorer, and they all will see an im-professional site.

Here is the link: Beach Theme Home Decor

Of course, if you like the site, you are invited to buy something, too (winkwink)!!!

And please tell your friends about the site if you know somebody interested in Beach Home Decor. Ta!
Reply With Quote
  #2 (permalink)  
Old 02-22-2008, 12:49 PM
kgun's Avatar
WebProWorld 1,000+ Club
WebProWorld MVP
 
Join Date: May 2005
Location: Norway
Posts: 6,117
kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10
Default Re: Site Display on Internet Explorer vs. Mozilla Firefox

The same happens in Opera 9.26. May be the reason is your use of nested tables and positioning in table cells.
__________________
Mini Network:: Financial information at your fingertips
Learn object oriented programming where it started

I will use a search engine before I ask dumb questions.

Last edited by kgun; 02-22-2008 at 12:53 PM.
Reply With Quote
  #3 (permalink)  
Old 02-22-2008, 04:52 PM
ran_dizolph's Avatar
WebProWorld Veteran
 
Join Date: Jul 2005
Location: Windsor, ON
Posts: 552
ran_dizolph RepRank 2
Default Re: Site Display on Internet Explorer vs. Mozilla Firefox

Yeowza! That's some UGLY markup!

Congrats on your first site though.

Anywho, it's going to be tough to really pinpoint the issue, as you've got so many nested divs, tables, and a span tags going on.

What i would suggest first, is try it with a strict doctype, which will aid in it rendering a little more consistently cross-browser.

Secondly, do a little reading on the Box Model hack, which may get you pointed in the right direction.

Sorry for the 'ugly' comment, but I just call it like I see it. This is a pretty common issue with WYSIWYG programs. Learn to hand-code, and you'll see the light.

Best of luck.
Reply With Quote
  #4 (permalink)  
Old 02-22-2008, 08:07 PM
WebProWorld Member
 
Join Date: Dec 2006
Posts: 65
suzstephens RepRank 0
Default Re: Site Display on Internet Explorer vs. Mozilla Firefox

For what it's worth, such differences are to be expected and are something that web site designers deal with everyday. That's why I always work on a Mac running Windows so that I can cross check in multiple browsers and on both platforms.
__________________
Suzanne Stephens, Custom Design for Point2 Real Estate Web Sites
http://www.SuzStephens.com
Reply With Quote
  #5 (permalink)  
Old 02-22-2008, 08:19 PM
kcire's Avatar
WebProWorld Pro
 
Join Date: Apr 2004
Location: Amsterdam, Netherlands
Posts: 137
kcire RepRank 0
Smile Re: Site Display on Internet Explorer vs. Mozilla Firefox

The HTML page looks terrible...This is of course because of the WYSIWYG editor you used, but I couldn't sleep when this would be the result.

Writing your code 'by hand' gives you more flexibility and a cleaner page of code. When I see the following:

Code:
<span lang="en-AU"><span lang="en-AU"><span lang="en-AU"><span lang="en-AU"><span lang="en-AU"><span lang="en-AU"><span lang="en-AU"><span lang="en-AU"><span lang="en-AU"><span lang="en-AU"><span lang="en-AU"><span lang="en-AU"><span lang="en-AU"><span lang="en-AU"><span lang="en-AU"><font size="2"><font color="#000000"><font size="2"><font color="#000000"><font size="3" face="Arial" color="#000000">
<table width="714" height="157" cellspacing="3" cellpadding="3" border="0" summary="">
I almost feel sorry for you...

It isn't smart to clean up your page, this will take a lot of time, certainly when this is your first website. I would start to learn writing HTML combined with the magic of CSS.

A good starting point is of course WebProWorld, but there are many more websites of course! A few that are very handy when you are new to HTML and CSS are:
glish.com : CSS layout techniques
Listamatic: one list, many options - Using CSS and a simple list to create radically different list options
And a little more basic explaining:
Guide to Cascading Style Sheets

Hope to have helped a bit and inspired you to clean your code.
__________________
Erick Schluter
Linkage, a nice websites portal
Amsterdam . Netherlands
http://www.linkage.nl
Reply With Quote
  #6 (permalink)  
Old 02-22-2008, 08:21 PM
WebProWorld Member
 
Join Date: Dec 2007
Posts: 70
microtekblue RepRank 0
Default Re: Site Display on Internet Explorer vs. Mozilla Firefox

nice site..

the problem with ie is that it doesnt understand xhtml and css properly..your going to have to tweak around and trial and error to fix this issue.
Reply With Quote
  #7 (permalink)  
Old 02-22-2008, 08:30 PM
advancedmerchant's Avatar
WebProWorld Pro
 
Join Date: Aug 2003
Location: Fullerton, CA
Posts: 171
advancedmerchant RepRank 2
Default Re: Site Display on Internet Explorer vs. Mozilla Firefox

Unfortunately, IE (in its various incarnations) is about 75% of browser useage (at least from OUR server logs), so you should verify appearance in IE as you build your pages. Hand coding is best, but there are HTML optimizers out there that can make your pages leaner and meaner if you do not understand code.
__________________
Accept Credit Cards Anywhere!
www.merchantanywhere.com
Reply With Quote
  #8 (permalink)  
Old 02-22-2008, 08:38 PM
bj's Avatar
bj bj is offline
WebProWorld 1,000+ Club
 
Join Date: Apr 2005
Location: Delaware Valley, PA
Posts: 1,172
bj RepRank 3bj RepRank 3
Default Re: Site Display on Internet Explorer vs. Mozilla Firefox

Run your code through here, but back it up first:

HTML Tidy Online

That should at least clean up MOST of the cruft! And if you're wondering why no one's just giving you the answer, it's because there is no way to troubleshoot a page with invalid code. You need to get your code valid first, THEN we can help you.

You might want to give this code editor a try:

Amaya Home Page
Reply With Quote
  #9 (permalink)  
Old 02-22-2008, 08:44 PM
WebProWorld Member
 
Join Date: Jan 2007
Posts: 45
ami_iss RepRank 1
Default Re: Site Display on Internet Explorer vs. Mozilla Firefox

At this moment I don't see a lot of problems in Internet Explorer 6 on your main page except that the top banner doesn't stretch across the top. The font sizes seem to be different in Internet Explorer and IE.

This page is wider than the main page and the top banner looks strange:
Seashell Home Decor Accents

Even with hand coding, browsers tend to to what they like. Firefox obeys only text sizing codes it likes, with very odd results, especially when people change the text size preferences. IE6 does not understand some div commands, which can be disastrous.

All code from WYSIWYG tools has to be cleaned up to some extent. Sometimes junk code inserts something that strops search engine spiders so they cannot read your page. Beware.

In general, it is better to do simple things that will probably work everywhere. Your code is very complex for what it does, because that's what the application did.

If you have a serious business, consider hiring a professional to make your site. Then you can yell at them when it doesn't look right.
Reply With Quote
  #10 (permalink)  
Old 02-22-2008, 08:49 PM
WebProWorld New Member
 
Join Date: Jan 2006
Location: Melbourne, Australia
Posts: 2
vanse RepRank 0
Default Re: Site Display on Internet Explorer vs. Mozilla Firefox

Quote:
Originally Posted by advancedmerchant View Post
Unfortunately, IE (in its various incarnations) is about 75% of browser useage (at least from OUR server logs), so you should verify appearance in IE as you build your pages.
Current browser stats from: Browser Statistics
show much less use for IE:

2008 January
IE7 21.2% IE6 32.0% IE5 1.5% Fx 37.2% Moz 1.3% Net 1.9% Opera 1.4%

Total IE 54.7%

The IE figure has been falling steadily month by month from about 80%+ a couple of years ago.

But while IE is still around 50% of all viewers you need to make sure sites are compatible with both IE and Firefox.

Last edited by vanse; 02-22-2008 at 08:58 PM. Reason: add signature
Reply With Quote
  #11 (permalink)  
Old 02-22-2008, 08:52 PM
WebProWorld Member
 
Join Date: Jun 2006
Posts: 59
thorfjalar RepRank 1
Default Re: Site Display on Internet Explorer vs. Mozilla Firefox

Just to clarify, what some people are saying here is that the markup (what you see if you do view > page source (ctrl+U in firefox)) is ugly, not that your site is. It's nicely designed as rendered by firefox.

It may be a bummer advice to get, that you should do the site over again, but it really is the best one.

Another reason besides from cross browser compatability, why it is important to have clean (short) html code, is for the search engine spiders not to get tired reading it, they have like a million pages to go through before breakfast.

If you don't feel like learning to code by hand, you can fast forward by hiring someone on rentacoder.com or elance.com or similar, to recode your whole site in clean html and css. This would be the best option if you don't intend to update the site ofthen.

If you do, then setting it up in wordpress with a custom theme (so it looks like a site not a blog), might be a good option. Shouldn't cost more than $1-200 maximum.

Basically your options in regards to making a website are just like in printing; make it happen fast, be of quality or cheap, choose any two.
Reply With Quote
  #12 (permalink)  
Old 02-22-2008, 08:54 PM
RegDCP's Avatar
WebProWorld Pro
 
Join Date: Oct 2005
Location: Courtenay BC
Posts: 222
RegDCP RepRank 0
Default Re: Site Display on Internet Explorer vs. Mozilla Firefox

Despite the mess in your code, it REALLY should be cleaned up, I think if you change your table padding and spacing to 0 you will see a great improvement.

You have
Quote:
<table width="" cellspacing="3" cellpadding="3" border="0" align="" summary="">
IE and FF handle table padding and spacing much differently which directly affects the display.

Reg
__________________
http://DotCom-Productions.com Website Management
http://0Grief.com Budget PHP/MySQL hosting
Reply With Quote
  #13 (permalink)  
Old 02-22-2008, 08:55 PM
fortune68's Avatar
WebProWorld Member
 
Join Date: Feb 2008
Location: Perth, Western Australia
Posts: 59
fortune68 RepRank 0
Default Re: Site Display on Internet Explorer vs. Mozilla Firefox

Quote:
Originally Posted by kcire View Post
The HTML page looks terrible...This is of course because of the WYSIWYG editor you used, but I couldn't sleep when this would be the result.

Writing your code 'by hand' gives you more flexibility and a cleaner page of code. When I see the following:

Code:
<span lang="en-AU"><span lang="en-AU"><span lang="en-AU"><span lang="en-AU"><span lang="en-AU"><span lang="en-AU"><span lang="en-AU"><span lang="en-AU"><span lang="en-AU"><span lang="en-AU"><span lang="en-AU"><span lang="en-AU"><span lang="en-AU"><span lang="en-AU"><span lang="en-AU"><font size="2"><font color="#000000"><font size="2"><font color="#000000"><font size="3" face="Arial" color="#000000">
<table width="714" height="157" cellspacing="3" cellpadding="3" border="0" summary="">
I almost feel sorry for you...

It isn't smart to clean up your page, this will take a lot of time, certainly when this is your first website. I would start to learn writing HTML combined with the magic of CSS.

A good starting point is of course WebProWorld, but there are many more websites of course! A few that are very handy when you are new to HTML and CSS are:
glish.com : CSS layout techniques
Listamatic: one list, many options - Using CSS and a simple list to create radically different list options
And a little more basic explaining:
Guide to Cascading Style Sheets

Hope to have helped a bit and inspired you to clean your code.
Thanks so much, Erick,
I am learning so much, and I am sure now that next time I will have a much better result! I have started cleaning up my code, and I know it will take a long time, but I am sure it will be worth it!
Thanks again for your help.

Petra )
Reply With Quote
  #14 (permalink)  
Old 02-22-2008, 08:57 PM
G[dot]com's Avatar
WebProWorld Pro
 
Join Date: Mar 2004
Location: Buenos Aires - Argentina
Posts: 155
G[dot]com RepRank 1
Default Re: Site Display on Internet Explorer vs. Mozilla Firefox

I think that for that code, you should actually be happy that it is readable at all for both browsers more or less correctly! If with that source code the only problem you get is graphs and texts going a little to a side... be grateful!

It´s not that the site looks unprofessional, it IS unprofessional. And I don´t mean offense here, I am just meaning to say that you should realize that, for the expertise you have and the tools you used, you achieved a respectable result (frontend, visible to the visitor, not looking at the source code).

If you are still maturing your design skills I´d recommend you that you test the websites from your editor in IE, and "risk" that it may not render nice in firefox, and not the opposite (test in firefox, risk with IE, as you did), because still for some time to come, 70% of your visitors will see you through IE.

Good luck!
Reply With Quote
  #15 (permalink)  
Old 02-22-2008, 09:04 PM
fortune68's Avatar
WebProWorld Member
 
Join Date: Feb 2008
Location: Perth, Western Australia
Posts: 59
fortune68 RepRank 0
Thumbs up Re: Site Display on Internet Explorer vs. Mozilla Firefox

Thanks so much for your input, everybody!

I feel like I know now where the problem lies, and because this is my first website I did expect things not to go completely smooth, and now I can start to "clean up my act" and website's HTML!

I am sure my next website will not be as bad (the code, that is!!!)

Cheers
Petra
Reply With Quote
  #16 (permalink)  
Old 02-22-2008, 10:22 PM
WebProWorld New Member
 
Join Date: Feb 2004
Location: Austin, TX
Posts: 5
darocha RepRank 0
Default Re: Site Display on Internet Explorer vs. Mozilla Firefox

Hi fortune68,

To fix the layout problem all you have to do is specify the width for the div with the class "Content". Add the "width" property to the .Content class on your style sheet. After that the site will look exactly the same on both browsers.

.Content { width:710px; }

However, even after you fix this you really should clean up your code. It's not that bad but it has a lot o redundant spans and deprecated font tags.

Here are a few guidelines that I'm sure will help you with this task:

1. Remove all font tags from your code.
2. Remove all redundant span and div tags from your code.
3. Since this is a small site, it would be more manageable to keep the style sheet rules on one file. There are duplicated rules on your style sheets. Remember that rules loaded last will override earlier style sheet rules.
4. Validate your code to verify other html errors.

Tip: A technique that I always use is to add borders to all spans and divs on the page to help me quickly spot layout problems with margins, paddings and widths when adjusting layouts.

Here's how:

1. Add the following css rules to the end of your style sheet:

div {border:1px solid red; padding:1px;}
span {border:1px solid green; padding:1px; float:left;}

On your case you can do that for font tags as well. Let's use a different color for that.

font {border:1px solid yellow;}

The 1px padding will add 1px gap between nested divs and spans to better visualize what's going on on the page.
The float:left; is only needed for Firefox to expand those empty spans you have on the page.

2. Look at the page and you will see a lot of divs and spans you never knew existed.

3. After removing all redundant tags, change the padding to 0px on the rules above and check your page again. If everything looks good you can now delete these two rules from your style sheet.

Thanks.
Reply With Quote
  #17 (permalink)  
Old 02-23-2008, 01:33 AM
WebProWorld Member
 
Join Date: Dec 2006
Posts: 56
1stgirl.com RepRank 0
Default Re: Site Display on Internet Explorer vs. Mozilla Firefox

I tried to restructure Digital Products Center but still looks ugly in Mozilla Firefox.

Despite not a fan of IE, in desperation I ask my visitors to use IE.

Last edited by 1stgirl.com; 02-23-2008 at 01:57 AM.
Reply With Quote
  #18 (permalink)  
Old 02-23-2008, 05:44 AM
rizzoid's Avatar
WebProWorld New Member
 
Join Date: Jul 2005
Location: Near Philly, PA
Posts: 13
rizzoid RepRank 0
Default Re: Site Display on Internet Explorer vs. Mozilla Firefox

Don't feel bad about IE's faults. Our small team of programmers design content management sites and getting them to display right in IE6 is one of our main stumbling blocks every time. IE6's misinterpretation of standard CSS and standards-in-general is not just a disappointment, it adds cost to our clients.

Congrats on your first site! For my money, I would take darocha's advice above and edit the style sheet(s).

Last edited by rizzoid; 02-23-2008 at 05:53 AM. Reason: forgot encouragement - how rude of me
Reply With Quote
  #19 (permalink)  
Old 02-23-2008, 06:12 AM
WebProWorld Pro
 
Join Date: Dec 2003
Location: Eastleigh, Hampshire, UK
Posts: 192
Clarrie RepRank 3Clarrie RepRank 3
Default Re: Site Display on Internet Explorer vs. Mozilla Firefox

Quote:
Originally Posted by fortune68 View Post
Thanks so much, Erick,
I am learning so much, and I am sure now that next time I will have a much better result! I have started cleaning up my code, and I know it will take a long time, but I am sure it will be worth it!
Thanks again for your help.

Petra )
Hi Ptra

I'd endorse BJ's comment on running it through a validator. If your browser of choice is Firefox, I suggest you take a look at some of the add-ins, as these are really useful for checking code as you go. I'd particularly recommend HTML Validator and Firebug.
__________________
Clarrie
www.dvisions.co.uk - lose the camouflage and stand out...
Reply With Quote
  #20 (permalink)  
Old 02-23-2008, 06:20 AM
WebProWorld Member
 
Join Date: Feb 2004
Posts: 55
richard-s RepRank 1
Default Problem with Sitebuilders etc.

Sitebuilders are very handy for producing a quick web-page but are often poor at handling changes:

When you delete or change something, a WYSIWYG Sitebuilder will often leave unwanted, unnecessary HTML tags.

This can be corrected by simply deleting the page and building it again - boring but effective.

Also, in an attempt to simplify the task, Sitebuilders often do not allow you to edit all of the HTML directly.

Suggestions (in addition to the many good suggestions above):

1. Download & install the (free) "Web Developer" extension to Firefox. Use this tool to validate your page and to help understand the HTML.

2. If possible, make your pages as HTML version 4.01 rather than as XHTML. This is easier to learn and more forgiving. Later, you can progress to the more rigorous XHTML. (But, do use lower-case for HTML tags and use the other simple rules in readiness for XHTML. See w3schools.com)

3. Remove the redundant HTML tags, either by careful hand editing or simply by deleting the web-page and rebuilding it.

4. Consider learning about HTML / XHTML and using a "more powerful" web editing tool. There are many good online tutorials etc. including the w3schools.com web-site.

5. Don't worry: That page looks nice: Most visitors will not notice that the images are slightly off-centre. The web is different to the printed page: Different web-browsers and different PCs will always display web-pages differently. (My web-browsers change most fonts, sizes and colours to suit my needs.)

Richard
Reply With Quote
  #21 (permalink)  
Old 02-23-2008, 08:47 AM
gelcreative's Avatar
WebProWorld Member
 
Join Date: Nov 2003
Location: Kent, UK
Posts: 85
gelcreative RepRank 0
Default Re: Site Display on Internet Explorer vs. Mozilla Firefox

Hey darocha

Your advice about adding borders around spans and divs is really useful. It really helps to see the code more visually - its like putting on a good pair of glasses!!

I shall definately use your technique in the future - its not easy working *blind*.

Thanks for the advice.

Jane
__________________
Web design | CD-ROM design | Presentations
______________________________
www.gelcreative.co.uk
Reply With Quote
  #22 (permalink)  
Old 02-23-2008, 08:56 AM
WebProWorld Pro
 
Join Date: Nov 2004
Location: Westmoreland County, PA
Posts: 230
noel_x99 RepRank 1
Default Re: Site Display on Internet Explorer vs. Mozilla Firefox

To help avoid problems as you are developing the site, add the IE Tab addon to FF. (It uses the IE enginet to show the page as IE would. ) I usually display the page I'm working on in two tabs in FF - one set to FF and one set to IE. If there's a problem, you see it immediately - and you have a sense of what caused the problem.

I use a WYSIWYG editor, but I never trust the display. Every change I make is tested in FF & IE as I work. I work on two monitors, so that makes it pretty easy.
__________________
Jane Noel
http://www.InWestmoreland.com
Westmoreland County PA's Business Directory
Reply With Quote
  #23 (permalink)  
Old 02-23-2008, 09:25 AM
WebProWorld New Member
 
Join Date: Aug 2007
Posts: 9
joezstuff RepRank 0
Default Re: Site Display on Internet Explorer vs. Mozilla Firefox

Hey I feel for you,
I use both and have had a similar problem.
I used front page and it helped, you more a less just put what you want and it writes it's own tags html Tags etc.
I just moved up to Web Express (same thing just a little newer) and I'm going through the video now, It's a little bit to comprehend but you can take it one step at a time.it actually shows you how to do it.

I'm don't even scratch the surface of these other people they are awesome but I just want to let you know from a beginner now for 3 years..ha ha

you learns as you go. But I had a similar problem and I went back to the video and fixed it.

most of the time these guys are great in helping but I know how it is when they talk over your head it gets frustrating when you first start.
But keep coming to this site you will learn soooo much. These guys are the greatest. That's how I'm learning.
Joe

Last edited by joezstuff; 02-23-2008 at 11:00 AM. Reason: Forgot Fire fox and explorer
Reply With Quote
  #24 (permalink)  
Old 02-23-2008, 10:58 AM
WebProWorld New Member
 
Join Date: Dec 2005
Location: Portugal
Posts: 2
lumby RepRank 0
Default Re: Site Display on Internet Explorer vs. Mozilla Firefox

Hello Fortune 68
I also use Firefox and have had a similar problem in the past
I have found a Firefox add-on to enable me to switch between Firefox and Explorer very easily to check for coding problems.
the add-on called IE Tab is at https://addons.mozilla.org/en-US/firefox/addon/1419
Reply With Quote
  #25 (permalink)  
Old 02-23-2008, 11:21 AM
kgun's Avatar
WebProWorld 1,000+ Club
WebProWorld MVP
 
Join Date: May 2005
Location: Norway
Posts: 6,117
kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10
Default Re: Site Display on Internet Explorer vs. Mozilla Firefox

Quote:
Originally Posted by 1stgirl.com View Post
I tried to restructure Digital Products Center but still looks ugly in Mozilla Firefox.

Despite not a fan of IE, in desperation I ask my visitors to use IE.
  1. Is IE a W3C DOM Compliant browser?
  2. What about Vector Graphics in IE (the Canvas object?)
  3. Try this feature sniffing in FF, IE 6.+ and Opera:
var canvase = document.getElementById("graphicsID");

if typeof canvas.getContext != "undefined") {

var context=canvas.getContext("2d");

.....

}

IE does not support the Canvas object (Coordinate Systems, Transformations and Units - SVG 1.1 - 20030114), while FF and Opera is building 3d methods. Most probably this is the future of (already the reality of) Scalable Vector Graphics with client side scripting.

Generally, I recommend using CSS to style your site. Resources:
  1. W3Schools Online Web Tutorials Css Tutorials
  2. Practical Books for Web Developers and Designers CSS books with free example chapters.
  3. The three layers of the web. Simply javascript: The Three Layers of the Web [JavaScript & AJAX Tutorials]
  4. DigitalStart.net: The starting point for English speaking surfers and webmasters Read about the 4 layers (3 above + the security) of the web, when you have time.
__________________
Mini Network:: Financial information at your fingertips
Learn object oriented programming where it started

I will use a search engine before I ask dumb questions.

Last edited by kgun; 02-23-2008 at 11:49 AM.
Reply With Quote
  #26 (permalink)  
Old 02-23-2008, 11:36 AM
WebProWorld New Member
 
Join Date: Feb 2004
Location: Austin, TX
Posts: 5
darocha RepRank 0
Default Re: Site Display on Internet Explorer vs. Mozilla Firefox

Hi 1stgirl.com,

Your fix is also easy to do:

Locate the line below on your code. It's just above the table with id="4". Then remove the height and increase the width to 250px.

Change this:
<div style="float: right; width: 150px; height: 100px;">

To:
<div style="float: right; width: 250px;">

IE expands divs heights if the content inside of it is larger than the specified height, Firefox always keeps its height and width even if the content inside of it is larger.

Thanks.
Reply With Quote
  #27 (permalink)  
Old 02-23-2008, 08:33 PM
fortune68's Avatar
WebProWorld Member
 
Join Date: Feb 2008
Location: Perth, Western Australia
Posts: 59
fortune68 RepRank 0
Default Re: Problem with Sitebuilders etc.

Hi Richard,

I'm sorry, but I don't understand what "validating your code" is, and I also don't know what a style sheet is. I am struggling through some of the advice given in this thread and I know I have to learn A LOT still, but maybe you could just very briefly tell me about those 2 things. Thanks!

Petra.
Reply With Quote
  #28 (permalink)  
Old 02-23-2008, 08:52 PM
kula's Avatar
WebProWorld Member
 
Join Date: Feb 2006
Location: Kula, Maui, Hawaii, USA
Posts: 26
kula RepRank 1
Default Re: Site Display on Internet Explorer vs. Mozilla Firefox

Doesn't have anything to do with the display difficulties, but if you trim the background image to 1 pixel wide you will cut about 15kb out of the load cycle.
__________________
Sell the tourists
kulawebguy
Reply With Quote
  #29 (permalink)  
Old 02-23-2008, 08:56 PM
kula's Avatar
WebProWorld Member
 
Join Date: Feb 2006
Location: Kula, Maui, Hawaii, USA
Posts: 26
kula RepRank 1
Default Re: Site Display on Internet Explorer vs. Mozilla Firefox

btw, style sheets are the files referenced in the link tags in your page head and "validating" your code is submitting it to an analysis of whether it conforms to the html(or xhtml) standard.

style sheets control the way that referenced "id"s and "class"s and "element"s are displayed
__________________
Sell the tourists
kulawebguy
Reply With Quote
  #30 (permalink)  
Old 02-24-2008, 05:04 AM
WebProWorld Member
 
Join Date: Feb 2004
Posts: 55
richard-s RepRank 1
Default Re. Style Sheets, and Validating Code

In an effort to "keep it simple," Sitebuilder programs often limit what you can do. So, you may not be able to follow all the suggestions while still using the Sitebuilder rather than a more flexible - more complicated - web editing program.

Style Sheets:

These are small files written using CSS (Cascading Style Sheet) "language" which define the appearance of your web-page. CSS is explained on the W3Schools Online Web Tutorials web-site.

A style sheet would be called something like "beachstyle.css" and be uploaded with your web-site. It can be typed into an ordinary text editor like MS Notepad and then saved with the .css file extension.

Styles can define most aspects of the appearance of the web-page, including font types & sizes, colours, borders, etc. etc.

By using the "link" tag in the "head" part of your web-page, you can tell the visitor's web-browser to use the styles defined in a style sheet. A web-page can use more than one style sheet. The visitor's web-browser "obeys the latest command"!

Using style sheets can simplify the web-page, help make the pages in a web-site more consistent and make changes easier.

Validating Code:

Word Processors provide spell-checkers etc., Web Editing programs provide "Validators." Some expensive web-editing programs have a built-in validator but many people use the (free) online tools.

These are automatic tools which read the HTML in a web-page and report any errors.

Being automatic rather than human, they are not infallible but are very useful.

You can browse to the tool and submit a web-page, but I use the "Web Developer" extension to Firefox which provides many useful tools including submitting web-pages for validation.

This is a report on your web-page.

Remember, errors near the top of a web-page will confuse the validator so that it reports spurious errors further down: Always correct errors starting at the top of the page.

Also, XHTML is more strict than ordinary HTML so is harder to get right - while you're learning.

Richard

Last edited by richard-s; 02-24-2008 at 05:08 AM. Reason: correct w3schools.com URL (The "s" is VITAL!)
Reply With Quote
  #31 (permalink)  
Old 02-24-2008, 08:55 AM
kgun's Avatar
WebProWorld 1,000+ Club
WebProWorld MVP
 
Join Date: May 2005
Location: Norway
Posts: 6,117
kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10
Default Re: Problem with Sitebuilders etc.

Quote:
Originally Posted by fortune68 View Post
Hi Richard,

I'm sorry, but I don't understand what "validating your code" is, and I also don't know what a style sheet is. I am struggling through some of the advice given in this thread and I know I have to learn A LOT still, but maybe you could just very briefly tell me about those 2 things. Thanks!

Petra.
Then I suggest that you start with the HTML and CSS tutorials at W3 Schools that I mentioned in the post above. It is regarded as an authoritative site on web tutorials with more than 30 mill visitors / month.

Since you use FireFox, I also advice you to install Firebug - Web Development Evolved and learn how to use it. You will get acces to it as a green / (red icon with errors on the page) in the lower right corner of the page. You also get access to the tool on the "Tools" menu.

There is a (highly reccomende) SitePoint book (that also explain the SVG canvas object) that I mentioned above

The*Art*& Science*of JavaScript - SitePoint Books

that has a full chapter (4) explaining FireBug

You may get expert help at the Dev Opera community. You may also find good articles there.

Advanced example Using animateMotion in SVG - Opera Developer Community that may be too early now, but relevant for the future.
__________________
Mini Network:: Financial information at your fingertips
Learn object oriented programming where it started

I will use a search engine before I ask dumb questions.

Last edited by kgun; 02-24-2008 at 11:54 AM.
Reply With Quote
  #32 (permalink)  
Old 02-24-2008, 01:09 PM
jScott_Harris's Avatar
WebProWorld Member
 
Join Date: Jun 2003
Location: Madisonville, Ky
Posts: 60
jScott_Harris RepRank 0
Default Re: Site Display on Internet Explorer vs. Mozilla Firefox

I'm a huge advocate of Firefox and IE 7 has ingrained that even more. Firefox has a ton of extensions that can really help, my favorite being Web Developer.

Another is https://addons.mozilla.org/en-US/firefox/addon/1419.

But even with these you're somewhat limited. Check out BrowserCam.com - BrowserCam . they offer a free account where they will render your website on multiple browsers using multiple operating systems. Keeps you from having to have a Mac,Linux and a PC.

Hope this helps.
__________________
J. Scott Harris
Developing the Web one site at a time | C.A.D Website Design

Last edited by jScott_Harris; 02-24-2008 at 01:11 PM.
Reply With Quote
  #33 (permalink)  
Old 02-25-2008, 11:04 AM
WebProWorld New Member
 
Join Date: Oct 2005
Posts: 11
chebyrashka RepRank 0
Default Re: Site Display on Internet Explorer vs. Mozilla Firefox

In regards to the browser stats posted earlier, I wouldn't recommend basing browser usage off of them. That is for the W3schools site, it leans heavily towards designers/developers so FireFox usage will skew. I think you'll see generally FF around 15%.

Generally though it's not that difficult to design for all the browsers and even if FF is whiz bang cool, the majority of users out there are using IE.

2008 January
IE7 21.2% IE6 32.0% IE5 1.5% Fx 37.2% Moz 1.3% Net 1.9% Opera 1.4%

Total IE 54.7%
Reply With Quote
Reply

  WebProWorld > Site Design > Graphics & Design Discussion Forum

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adwords and Internet Explorer cannot display the webpage jtracking Graphics & Design Discussion Forum 0 02-22-2007 10:39 PM
Internet Explorer vs. Firefox Zachery Graphics & Design Discussion Forum 5 08-25-2005 11:21 AM
Firefox vs. Explorer supernatural_247 Accessibility and Usability Forum 3 06-10-2005 02:13 AM
Switching from Internet Explorer to Mozilla Firefox danno Internet Security Discussion Forum 0 08-20-2004 08:21 AM
Mozilla v's Internet Explorer/Outlook matauri The Castle Breakroom (General: Any Topic) 1 03-15-2004 08:21 PM


All times are GMT -4. The time now is 11:24 AM.



Search Engine Optimization by vBSEO 3.3.0