HighDots Forums  

Displaying pure CSS Div pages in various browsers

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


Discuss Displaying pure CSS Div pages in various browsers in the Cascading Style Sheets forum.



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

Default Displaying pure CSS Div pages in various browsers - 03-20-2006 , 10:59 AM






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



Reply With Quote
  #2  
Old   
Andreas Prilop
 
Posts: n/a

Default Re: Displaying pure CSS Div pages in various browsers - 03-20-2006 , 11:23 AM






On Mon, 20 Mar 2006, Paul wrote:

Quote:
I have a few pages
URL?

Quote:
written using only Divs
So you wrote in "HTML 4 Compact" whose only element is DIV.

Quote:
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!"



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

Default Re: Displaying pure CSS Div pages in various browsers - 03-20-2006 , 12:25 PM



Hello. and thank you very much.

The URL is www.MyElectronicBoutique.com

As you see, it is very crude still

Paul

-----
"Andreas Prilop" <nhtcapri (AT) rrzn-user (DOT) uni-hannover.de> wrote

Quote:
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!"




Reply With Quote
  #4  
Old   
Stan Brown
 
Posts: n/a

Default Re: Displaying pure CSS Div pages in various browsers - 03-20-2006 , 12:59 PM



Mon, 20 Mar 2006 11:59:02 -0500 from Paul
<PaulContactMe (AT) TheCornerStore (DOT) com>:
Quote:
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.

Quote:
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.

Quote:
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


Reply With Quote
  #5  
Old   
Jim Moe
 
Posts: n/a

Default Re: Displaying pure CSS Div pages in various browsers - 03-20-2006 , 02:24 PM



Paul wrote:
Quote:
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.

Quote:
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)


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.