473,396 Members | 2,037 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Viewing in Different Browsers

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!

Nov 27 '07 #1
16 2032
rf

"LayneMitch" <u39402@uwewrote 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.
Nov 27 '07 #2
In article <wx*******************@news-server.bigpond.net.au>,
"rf" <rf@invalid.comwrote:
"LayneMitch" <u39402@uwewrote 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
Nov 27 '07 #3
On 27 Nov, 04:54, "LayneMitch" <u39402@uwewrote:
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.
Nov 27 '07 #4
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

Nov 27 '07 #5
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

Nov 27 '07 #6
On 27 Nov, 13:14, "LayneMitch via WebmasterKB.com" <u39402@uwewrote:
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.
Nov 27 '07 #7
Andy Dingley <di*****@codesmiths.comwrites:
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
Nov 27 '07 #8
On 27 Nov, 16:34, Sherman Pendley <spamt...@dot-app.orgwrote:
Andy Dingley <ding...@codesmiths.comwrites:
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.
Nov 27 '07 #9
Sherman Pendley wrote:
Andy Dingley <di*****@codesmiths.comwrites:
>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
Nov 27 '07 #10
Andy Dingley <di*****@codesmiths.comwrites:
On 27 Nov, 16:34, Sherman Pendley <spamt...@dot-app.orgwrote:
>Andy Dingley <ding...@codesmiths.comwrites:
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.
Certainly - I've done that too. I'm not disagreeing with that approach,
just pointing out that other options exist too. Horses for courses, and
all that. :-)

sherm--

--
WV News, Blogging, and Discussion: http://wv-www.com
Cocoa programming in Perl: http://camelbones.sourceforge.net
Nov 27 '07 #11
Andy Dingley wrote:
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.
I manage quite well with Apache under my Windows system.
http://swiftys.org.uk/ — I already had the swiftys.org.uk domain for my
"real" website, so I just pointed swiftys.org.uk at my desktop here at home.

The only drawback so far is that the Windows filesystem is
case-insensitive, so it leads me into sloppy ways not tolerated by
apache under Linux or AIX.

--
Steve Swift
http://www.swiftys.org.uk/swifty.html
http://www.ringers.org.uk
Nov 28 '07 #12
On 28 Nov, 06:58, Steve Swift <Steve.J.Sw...@gmail.comwrote:
I manage quite well with Apache under my Windows system.
Apache works pretty well under Windows these days, which certainly
wasn't the case not too long ago. However your hosting is still likely
to be Unix-based, so a bit of hands on knowledge gained at home with
no pressure is always going to come in handy.

For that matter, you still need shell access on a Windows box, so
install Cygwin (a Unix-like Bash-derived command-line shell that runs
under Windows, runs on the Windows filesystem, but makes it look
broadly like a Unix environment). This is a capable command-line shell
in the way that the Windows command prompt is still anything but! (How
do they ever get any work done at Redmond?) You'll also pick up enough
entry-level Unix command line experience to get by for most simple
tasks on your host.
Nov 28 '07 #13
Andy Dingley wrote:
>I manage quite well with Apache under my Windows system.

Apache works pretty well under Windows these days, which certainly
wasn't the case not too long ago. However your hosting is still likely
to be Unix-based, so a bit of hands on knowledge gained at home with
no pressure is always going to come in handy.

For that matter, you still need shell access on a Windows box, so
install Cygwin (a Unix-like Bash-derived command-line shell that runs
under Windows, runs on the Windows filesystem, but makes it look
broadly like a Unix environment). This is a capable command-line shell
in the way that the Windows command prompt is still anything but! (How
do they ever get any work done at Redmond?) You'll also pick up enough
entry-level Unix command line experience to get by for most simple
tasks on your host.
Hey...

Thanks guys for the advice on establishing a basic host on my PC. You are
right, if I plan to have my site work it would only make sense to setup some
inexpensive hosting program.

But, how much memory would I need for that? Right now I only have 2.58 Gigs
of RAM. Do I need to upgrade and if so how much?

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

Nov 29 '07 #14
In article <7bebcfc07171e@uwe>,
"LayneMitch via WebmasterKB.com" <u39402@uwewrote:
Andy Dingley wrote:
I manage quite well with Apache under my Windows system.
Apache works pretty well under Windows these days, which certainly
wasn't the case not too long ago. However your hosting is still likely
to be Unix-based, so a bit of hands on knowledge gained at home with
no pressure is always going to come in handy.

For that matter, you still need shell access on a Windows box, so
install Cygwin (a Unix-like Bash-derived command-line shell that runs
under Windows, runs on the Windows filesystem, but makes it look
broadly like a Unix environment). This is a capable command-line shell
in the way that the Windows command prompt is still anything but! (How
do they ever get any work done at Redmond?) You'll also pick up enough
entry-level Unix command line experience to get by for most simple
tasks on your host.

Hey...

Thanks guys for the advice on establishing a basic host on my PC. You are
right, if I plan to have my site work it would only make sense to setup some
inexpensive hosting program.

But, how much memory would I need for that? Right now I only have 2.58 Gigs
of RAM. Do I need to upgrade and if so how much?
Gosh, 2.5 + Gb! I have a server run on a windows 2000 box, Apache
and the thing has less than 500MB of Ram. I don't think RAM is
something a home server on your working machine gobbles up for
most things you are likely to be wanting.

--
dorayme
Nov 29 '07 #15
On 29 Nov, 04:46, "LayneMitch via WebmasterKB.com" <u39402@uwewrote:
But, how much memory would I need for that? Right now I only have 2.58 Gigs
of RAM. Do I need to upgrade and if so how much?
That's plenty to start running virtual machines in it.

My Windows desktop has 2GB in it and I use about 1.3GB tops. One of
the main memory hogs is TortoiseSVN (the version-control client). Only
if I fire up SQL Server on my desktop machine too do I statrt to use
1.9GB or so.
Nov 29 '07 #16
LayneMitch via WebmasterKB.com wrote:
But, how much memory would I need for that? Right now I only have 2.58 Gigs
of RAM. Do I need to upgrade and if so how much?
It depends on how much work your apache has to do, but if that is just
supporting a test site for your own use that is not much.

My apache is currently using less than 17Mb — it's very efficient.

--
Steve Swift
http://www.swiftys.org.uk/swifty.html
http://www.ringers.org.uk
Nov 29 '07 #17

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Lian | last post by:
Hi all, It is a newbie's question about html tag "img". The attributes "title" and "alt" for "img" seems having the same function. So what is the main difference between them? Can i use them at...
0
by: Mark | last post by:
We recently developed a .NET application in C#. It appears to work fine on a majority of browsers with subtle variation, with the exception of Explorer on a Mac. Now, I wish I could throw the...
4
by: Alex | last post by:
Sorry for the basic questions as I am just starting with ASP.Net development. 1. The pages show up fine in IE running on PCs, but not in Netscape or any other browser or even Apple-based IE....
5
by: IkBenHet | last post by:
Hello, I use this script to upload image files to a folder on a IIS6 server: ******************* START UPLOAD.ASPX FILE ********************** <%@ Page Language="VB" Debug="true" %>
6
by: InfiniteVoid | last post by:
Hello on my page when viewed with IE the spacing between the text in the tables is close together. When I view my page in firefox the spacing between the text lines it very spaced out. Any way to...
13
by: Toby Newman | last post by:
I started learning XML on Monday. I have an XML file and have written an XSL file to render it to HTML for formatted viewing in a browser. I'd like to create a second alternative view of the...
18
by: Diogenes | last post by:
Several articles I read recently regarding the demise of Netscape Navigator stated that Firefox had managed to get a 16% market share and that IE still has over 80% of the eyeballs. Yet my...
3
by: Tom | last post by:
I have a PHP 4.4.7, MySql 5.0 and I.E. 7. My PHP queries the database and renders the info into html forms. Submitting the forms manipulates the data. Now, the problem is that the browsers are...
0
by: Deceneu | last post by:
Hi everyone, this is my first post so please bear with me. I have the following situation: i have a local report that needs to have two "versions": one for viewing in the report viewer (with all...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.