HighDots Forums  

Viewing in Different Browsers

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Viewing in Different Browsers in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
LayneMitch
 
Posts: n/a

Default Viewing in Different Browsers - 11-26-2007 , 10:54 PM






Greetings everyone.

I'm new to the webdevelopment game and I developed my first site that looks
good in IE but crappy in Mozilla/Firefox.

Any advice on making my site browser to browser compatible?

All I know so far is HTML/CSS, so I won't fair well with Javascript solutions
or any other scripting language. I'm going to conquer those next.

Any advice would be appreciated. Thanks!


Reply With Quote
  #2  
Old   
rf
 
Posts: n/a

Default Re: Viewing in Different Browsers - 11-26-2007 , 11:02 PM







"LayneMitch" <u39402@uwe> wrote

Quote:
Greetings everyone.

I'm new to the webdevelopment game and I developed my first site that
looks
good in IE but crappy in Mozilla/Firefox.

Any advice on making my site browser to browser compatible?

All I know so far is HTML/CSS, so I won't fair well with Javascript
solutions
or any other scripting language. I'm going to conquer those next.

Any advice would be appreciated. Thanks!
If there is a difference between Firefox and IE the invariably IE is getting
it wrong.

Provide a valid strict doctype so everybody is in standards mode.

Test in Firefox first.

Next validate at http://validator.w3.org

Then check in IE6, IE7, Opera, Safari and whatever other browsers you have
to hand.

Then, after tweaking for various browser quirks, validate.

--
Richard.




Reply With Quote
  #3  
Old   
dorayme
 
Posts: n/a

Default Re: Viewing in Different Browsers - 11-27-2007 , 12:02 AM



In article <wxN2j.17475$CN4.11653 (AT) news-server (DOT) bigpond.net.au>,
"rf" <rf (AT) invalid (DOT) com> wrote:

Quote:
"LayneMitch" <u39402@uwe> wrote

Greetings everyone.

I'm new to the webdevelopment game and I developed my first site that
looks
good in IE but crappy in Mozilla/Firefox.

Any advice on making my site browser to browser compatible?

All I know so far is HTML/CSS, so I won't fair well with Javascript
solutions
or any other scripting language. I'm going to conquer those next.

Any advice would be appreciated. Thanks!

If there is a difference between Firefox and IE the invariably IE is getting
it wrong.

Provide a valid strict doctype so everybody is in standards mode.

Test in Firefox first.

Next validate at http://validator.w3.org

Then check in IE6, IE7, Opera, Safari and whatever other browsers you have
to hand.

Then, after tweaking for various browser quirks, validate.
There are two issues. There's the html first. Does it make sense
without the least bit of added style? Will it allow a visitor to
get by and read your content, see your pics ok, get to your
links? Never mind the no frills look (it is quite a breathtaking
relief from some of the contortions some sites manage with their
styling. Make sure yours looks useful when it is naked.)

Next, time to style the html beyond what is barebones provided by
the browser itself. You will save yourself a lot of trouble if
you do not insist on results being identical across browsers.
Different browsers have different default settings for how they
render things.

The more you want the same, the more trouble you have to go to,
from supplying css to override the different defaults to learning
to either design for where the differences are not so noticeable
to the extreme of knowing each bug and variation and taking steps
to provide some browsers with different style instructions to
others via a variety of techniques.

--
dorayme


Reply With Quote
  #4  
Old   
Andy Dingley
 
Posts: n/a

Default Re: Viewing in Different Browsers - 11-27-2007 , 05:34 AM



On 27 Nov, 04:54, "LayneMitch" <u39402@uwe> wrote:

Quote:
Any advice would be appreciated. Thanks!
* Begin by making valid code that looks good in FF _first_. This will
usually look good in IE too, without further effort.

* If it does need work to fix it in IE, then make sure you don't break
validity and correct display in FF. Re-check afterwards.

* Whenever you post questions to this newsgroup, include a URL. It
helps people see what you;'re talking about. Never post a fragment
more than a couple of lines long.


Reply With Quote
  #5  
Old   
LayneMitch via WebmasterKB.com
 
Posts: n/a

Default Re: Viewing in Different Browsers - 11-27-2007 , 07:14 AM



Andy Dingley wrote:
Quote:
Any advice would be appreciated. Thanks!

* Begin by making valid code that looks good in FF _first_. This will
usually look good in IE too, without further effort.

* If it does need work to fix it in IE, then make sure you don't break
validity and correct display in FF. Re-check afterwards.

* Whenever you post questions to this newsgroup, include a URL. It
helps people see what you;'re talking about. Never post a fragment
more than a couple of lines long.

Thanks for the advice. Validating it in FF seems to be the most common answer
I'm getting.
Right now I don't have a host, so my site or work isn't online. But, I'll
work to get that done as well. Thanks.

--
Message posted via WebmasterKB.com
http://www.webmasterkb.com/Uwe/Forums.aspx/css/200711/1



Reply With Quote
  #6  
Old   
LayneMitch via WebmasterKB.com
 
Posts: n/a

Default Re: Viewing in Different Browsers - 11-27-2007 , 07:29 AM



rf wrote:
Quote:
Greetings everyone.

[quoted text clipped - 9 lines]

Any advice would be appreciated. Thanks!

If there is a difference between Firefox and IE the invariably IE is getting
it wrong.

Provide a valid strict doctype so everybody is in standards mode.

Test in Firefox first.

Next validate at http://validator.w3.org

Then check in IE6, IE7, Opera, Safari and whatever other browsers you have
to hand.

Then, after tweaking for various browser quirks, validate.

Thanks for the advice. I checked the validator and it found that I had 38
errors in the home page alone. I don't think my site would show in most
browsers with 38 errors. So I'm going to fix these first. Thanks.

--
Message posted via http://www.webmasterkb.com



Reply With Quote
  #7  
Old   
Andy Dingley
 
Posts: n/a

Default Re: Viewing in Different Browsers - 11-27-2007 , 08:23 AM



On 27 Nov, 13:14, "LayneMitch via WebmasterKB.com" <u39402@uwe> wrote:

Quote:
Right now I don't have a host, so my site or work isn't online.
You need to fix that. Sometimes weird behaviour related to HTTP
headers (usually crazy HTTP headers) doesn't show up until you see the
pages on a web server, not jut through the filesystem.

It's also well worth having a simple Unix server at home running
Apache, and that isn't the same PC as your Windows desktop. An old PC
will do, just install Ubuntu on it. Shouldn't cost more than a few
quid for a network cable and a hub.


Reply With Quote
  #8  
Old   
Sherman Pendley
 
Posts: n/a

Default Re: Viewing in Different Browsers - 11-27-2007 , 10:34 AM



Andy Dingley <dingbat (AT) codesmiths (DOT) com> writes:

Quote:
It's also well worth having a simple Unix server at home running
Apache, and that isn't the same PC as your Windows desktop. An old PC
will do, just install Ubuntu on it. Shouldn't cost more than a few
quid for a network cable and a hub.
If space and/or funds are limited, an instance of Linux running under
VirtualPC will suffice.

sherm--

--
WV News, Blogging, and Discussion: http://wv-www.com
Cocoa programming in Perl: http://camelbones.sourceforge.net


Reply With Quote
  #9  
Old   
Andy Dingley
 
Posts: n/a

Default Re: Viewing in Different Browsers - 11-27-2007 , 12:10 PM



On 27 Nov, 16:34, Sherman Pendley <spamt... (AT) dot-app (DOT) org> wrote:
Quote:
Andy Dingley <ding... (AT) codesmiths (DOT) com> writes:
It's also well worth having a simple Unix server at home running
Apache, and that isn't the same PC as your Windows desktop. An old PC
will do, just install Ubuntu on it. Shouldn't cost more than a few
quid for a network cable and a hub.

If space and/or funds are limited, an instance of Linux running under
VirtualPC will suffice.
That takes memory though. I've an endless supply of old PCs that are
fit for nothing else than being a low-load non-production web server,
but I always find it hard to squeeze extra memory onto old
motherboards that require some weird format you can't find any more
and are running out of spare slots.


Reply With Quote
  #10  
Old   
Bergamot
 
Posts: n/a

Default Re: Viewing in Different Browsers - 11-27-2007 , 01:19 PM



Sherman Pendley wrote:
Quote:
Andy Dingley <dingbat (AT) codesmiths (DOT) com> writes:

It's also well worth having a simple Unix server at home

If space and/or funds are limited, an instance of Linux running under
VirtualPC will suffice.
If space and/or funds are limited, the free space provided by your ISP
or any number of free hosting services out there will suffice for a
quick test page. Running a server at home is a must for other testing,
though.

--
Berg


Reply With Quote
Reply




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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.