473,399 Members | 3,302 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,399 software developers and data experts.

Displaying pure CSS Div pages in various browsers

I have a few pages written using only Divs and css stylesheets, however,
they appear very differently in IE 6 and in Firefox 1.5.0.1.
Is there a program that will take the code for one browser and convert it
into code that will have a similar appearance in another browser?

I am using Visual Studio 2005 but own Dreamweaver too... .
TIA,

Paul
Mar 20 '06 #1
4 2319
On Mon, 20 Mar 2006, Paul wrote:
I have a few pages
URL?
written using only Divs
So you wrote in "HTML 4 Compact" whose only element is DIV.
and css stylesheets, however,
they appear very differently in IE 6 and in Firefox 1.5.0.1.


Try to write *logical markup* using HTML 4 Strict.

--
All free men, wherever they may live, are citizens of Denmark.
And therefore, as a free man, I take pride in the words "Jeg er dansker!"

Mar 20 '06 #2
Hello. and thank you very much.

The URL is www.MyElectronicBoutique.com

As you see, it is very crude still

Paul

-----
"Andreas Prilop" <nh******@rrzn-user.uni-hannover.de> wrote in message
news:Pi**************************************@s5b0 04.rrzn.uni-hannover.de...
On Mon, 20 Mar 2006, Paul wrote:
I have a few pages


URL?
written using only Divs


So you wrote in "HTML 4 Compact" whose only element is DIV.
and css stylesheets, however,
they appear very differently in IE 6 and in Firefox 1.5.0.1.


Try to write *logical markup* using HTML 4 Strict.

--
All free men, wherever they may live, are citizens of Denmark.
And therefore, as a free man, I take pride in the words "Jeg er dansker!"

Mar 20 '06 #3
Mon, 20 Mar 2006 11:59:02 -0500 from Paul
<Pa***********@TheCornerStore.com>:
I have a few pages written using only Divs and css stylesheets,
Andreas has already responded to that. I'll just add that specific
HTML tags have specific meanings to the browsers. If all you've got
is DIV, you prevent browsers from doing their jobs as well as
possible.
however, they appear very differently in IE 6 and in Firefox
1.5.0.1.
You need to give up the idea that that's a problem.

Even if _you_ see them in both browsers, your visitors won't. Every
visitor will care only about how it looks in her browser. Your goal
should be that both have the content accessible, not that both look
pixel-for-pixel identical.

Anyway, that goal is impossible to meet. Different users have
different screen resolutions, different color choices, different
fonts and font sizes, etc. etc. etc.
Is there a program that will take the code for one browser and convert it
into code that will have a similar appearance in another browser?


I hope now you have some idea of why that question isn't really worth
pursuing.

Have you validated your pages? See the last link in my sig.

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2.1 spec: http://www.w3.org/TR/CSS21/
validator: http://jigsaw.w3.org/css-validator/
Why We Won't Help You:
http://diveintomark.org/archives/200..._wont_help_you
Mar 20 '06 #4
Paul wrote:
I have a few pages written using only Divs and css stylesheets, [...]
Then you will be recreating standard HTML markup like <h1>, <ul>, <ol>,
<em>, <blockquote>, <dfn>, <acronym>, etc. Why do that?
Use HTML markup the content. For instance, <hx> for headers, <ul> for
lists (like lists of links, navigation), <p> for paragraphs, <table> for
tabular data.
Use CSS to change the way the content is displayed.
Is there a program that will take the code for one browser and convert it
into code that will have a similar appearance in another browser?

ROTFL!
It is fairly easy to create pages that display nearly the same in most
browsers.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Mar 20 '06 #5

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

Similar topics

20
by: O Ransen | last post by:
Hello all, I hope you can help me. Given graphical idea for a page: http://www.ransen.com/temp/temp.htm (Large image, please be patient!) What is the best way of constructing this page...
1
by: PeterB | last post by:
Hi! I'm using Pure ASP File Upload (http://www.asp101.com/articles/jacob/scriptupload.asp) to upload a file from a client to a server. I am testing both on a local IIS and a remote server. The...
14
by: Dave | last post by:
My web site is not particularly theme-based, but it contains an Art Gallery I'd like to display in a different perspective. I would like to horizontally scroll it, rather than vertically - as if...
25
by: Michael Schuerig | last post by:
I'm trying to do something seemingly very simple, but it's brought me close to crushing my head on the keyboard. All I want is a table where the head row is fixed and the body columns below are...
6
by: Drazen Gemic | last post by:
Is there any initiative out there aiming to rewrite PHP extensions in pure PHP ? For example, MySQL driver in pure PHP or LDAP extension in pure PHP ? With Java and, as far as I know, Perl, one...
3
by: hestres | last post by:
Hello, I'm working on some link styles for this page: http://www.house.gov/velazquez/lh0205tres/reports.html I want all the links to always display in red (#CC0000), but in IE6 and 7 they...
1
by: =?Utf-8?B?c3Nhcjk=?= | last post by:
I have two folders in inetpub/wwroot. One has all HTML code, the other has HTML & ASP pages. The pure HTML files show up in IE6 just fine. The other pages just say done with a blank page. I had...
1
by: littlealex | last post by:
IE6 not displaying text correctly - IE 7 & Firefox 3 are fine! Need some help with this as fairly new to CSS! In IE6 the text for the following page doesn't display properly - rather than being...
4
by: PianoMan64 | last post by:
Hey Experts, I'm not sure how to get around this, and any help would be most greatfull. I have an issue with having a CSS menu that displays correctly in IE and not correctly in Firefox 3.0.3,...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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.