CSS & Web Design Forum  

Welcome to the CSS & Web Design Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.
WM Media Banner

Supporters
Pos Software - POS hardware and Software to track, control and manage your inventory.
Web Templates - BoxedArt is the most reliable source for unlimited template downloads.

Directory Submission
WL Marketing - Your #1 source for building links

Go Back   CSS & Web Design Forum > Web Design > CSS
Reply
 
Thread Tools Search this Thread Display Modes
(#1)
Old
LayneMitch
Guest
 
Default Viewing in Different Browsers - 11-27-2007, 04:49 AM

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
Guest
 
Default Re: Viewing in Different Browsers - 11-27-2007, 04:49 AM


"LayneMitch" wrote in message news:7bd2bd19e5315@uwe...
> 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
Guest
 
Default Re: Viewing in Different Browsers - 11-27-2007, 08:08 AM

In article ,
"rf" wrote:

> "LayneMitch" wrote in message news:7bd2bd19e5315@uwe...
> > 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
Guest
 
Default Re: Viewing in Different Browsers - 11-27-2007, 02:14 PM

On 27 Nov, 04:54, "LayneMitch" wrote:

> 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
Guest
 
Default Re: Viewing in Different Browsers - 11-27-2007, 02:14 PM

Andy Dingley wrote:
>> 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
Guest
 
Default Re: Viewing in Different Browsers - 11-27-2007, 02:14 PM

rf wrote:
>> 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
Guest
 
Default Re: Viewing in Different Browsers - 11-27-2007, 02:14 PM

On 27 Nov, 13:14, "LayneMitch via WebmasterKB.com" wrote:

> 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
Guest
 
Default Re: Viewing in Different Browsers - 11-27-2007, 04:58 PM

Andy Dingley 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.

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
Guest
 
Default Re: Viewing in Different Browsers - 11-27-2007, 07:51 PM

On 27 Nov, 16:34, Sherman Pendley wrote:
> Andy Dingley 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
Guest
 
Default Re: Viewing in Different Browsers - 11-27-2007, 07:51 PM

Sherman Pendley wrote:
> Andy Dingley 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 Search this Thread
Search this Thread:

Advanced Search
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 On
Forum Jump



Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Hosting at Triple.com
vBulletin Skin developed by: vBStyles.com

Printing Company  Link Building Services