473,796 Members | 2,607 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Out-of-date CSS person needs up-to-date CSS advice!!

Hello,

I shamefully admit to be an old web designer, from before the days of
CSS. In those heady days, tables were king and were used for every
possible kind of alignment. When CSS came along, it was useful for
specifying colours and fonts for a site in one central location, but
useless for any real kind of design work due to the poor browser
support. I got well in to using CSS for colours and fonts, but carried
on using tables for layout.

I recently came across www.csszengarden.com and was totally amazed that
you could do such things with CSS alone. I am completely rethinking my
approach to page layout, but need some help. I have looked at the CSS
there, and at a fair few other sites I have found since, but haven't yet
got the picture completely clear.

So, any suggestions for some background material that will bring me up
to date? I have trawled around Amazon and found three books that look
interesting, the CSS Zen Garden one, "More Eric Meyer on CSS" and
"Cascading Style Sheets the Definitive Guide" (also by Eric Meyer).

Any comments on this choice of books? Remember, I do have a good
understanding of basic CSS, so I don't need anything for a complete
beginner, but I am obviously missing quite a lot of the picture, so I
need something for, erm, a complete beginner!!

Also, are there any on-line resources that I can use? I prefer books as
it's easier to read on paper, but I would also like to see some on-line
material.

Finally, how good is modern browser support for CSS? I only looked at
those sites in IE6, I don't bother in other browsers (although I'm sure
they were fine). Is CSS still a major challenge of working your way
around browser deficiencies?

Thanks for any comments.

--
Alan Silver
(anything added below this line is nothing to do with me)
Aug 8 '05
32 2592
>>Any comments on this choice of books?

see http://mindprod.com/jgloss/css.html


Thanks, that's an interesting page, although why it's under Java is
beyond me!! I never knew that CSS was a part of Java - shows how little
I know<g>

Ta ra

--
Alan Silver
(anything added below this line is nothing to do with me)
Aug 15 '05 #21
>>>> I recently came across www.csszengarden.com and was totally amazed
that you could do such things with CSS alone.
Alan J. Flavell <fl*****@ph.gla .ac.uk> wrote: Yes, it's a spectacular demonstration of what can be achieved, indeed;
but under no circumstances to be used as an actual model of how to
design normal web pages.

Alan Silver <no@spam.than x> wrote:
Why not?


For one thing, many of the designs are brittle, and fail in browsing
environments that differ from what the CSS author expected. For example,
try enforcing a minimum font size, using a narrow browser window, enforcing
a narrow browser window, or turning off image-loading when CSS is enabled.


Ah, I didn't check any of those, I was so busy "wow"ing the design and
the fact that it was all done in CSS.
For another, many of the techniques common to the CSS Zen Garden designs
(e.g., replacing text with images of text) are used not because they are
good techniques for real-world projects, but because the CSS Zen Garden
imposes artificial constraints.


Not sure what you mean by that. From what I could see, he (and others)
used techniques like that because they provided a good answer to a
common problem, namely how to balance having pure text in the HTML, but
using a visually rich replacement when rendered. Why is this not a good
technique for real-world projects? Also, what artificial constraints
does ZG apply that require this?

Thanks for the reply, any further elucidation would be appreciated.

--
Alan Silver
(anything added below this line is nothing to do with me)
Aug 15 '05 #22
Alan Silver wrote:
I never knew that CSS was a part of Java


A gazillion years ago, a long-forgotten browser named Netscape invented
some stylesheet technology based on setting lots of JavaScript
properties. As it's traditional for tutorials to confuse Java and
JavaScript on all possible occasions, so the confusion begins.

Aug 15 '05 #23
>> I never knew that CSS was a part of Java

A gazillion years ago, a long-forgotten browser named Netscape invented
some stylesheet technology based on setting lots of JavaScript
properties. As it's traditional for tutorials to confuse Java and
JavaScript on all possible occasions, so the confusion begins.


I actually remember that. It was in the days when Netscape was
considered a decent browser. They lost the plot quite seriously since
then...

--
Alan Silver
(anything added below this line is nothing to do with me)
Aug 15 '05 #24
On Mon, 15 Aug 2005, Alan Silver wrote:
I actually remember that. It was in the days when Netscape was
considered a decent browser. They lost the plot quite seriously
since then...


IMHO your criticism is ill-founded: after NN4.* "they" handed over the
"plot" to a new organisation which has proved eminently capable of
producing web-compatible browsers. I think "they" deserve to be
congratulated for that.
Aug 15 '05 #25
>> I actually remember that. It was in the days when Netscape was
considered a decent browser. They lost the plot quite seriously
since then...


IMHO your criticism is ill-founded: after NN4.* "they" handed over the
"plot" to a new organisation which has proved eminently capable of
producing web-compatible browsers. I think "they" deserve to be
congratulate d for that.


I was referring to a stage in between. At the stage of NN3 and IE3, the
former was a superior browser (according to popular opinion at the
time). MS, for better or for worse, went to on to develop IE
aggressively, releasing new versions regularly. Netscape appeared to do
very little to improve their browser after the first version of NN4 came
out. There were minor releases, but none seemed significantly different
from previous ones. That's what I mean by "they lost the plot", they
just didn't appear to be making any attempt to keep up with MS.

At some point later, when the browser war was effectively lost, Netscape
handed over the browser to open source and they did with it what
Netscape themselves should have done years before. It was only then that
we saw any advances in the browser. As long as Netscape had it, nothing
worthwhile was done.

I'm commenting here from a clear memory of what I saw as a web designer
and browser user at the time. You may have a different view.

It's also worth noting that the end user judges a piece of software by
its overall features, and good CSS support (for example) is unlikely to
be an issue. IE was judged favourably by the general public as it
offered them useful features, like being able to see cached pages
offline in their entirety, instead of the plain HTML option that NN
offered. Technically IE may not be such a great browser, but as with
many MS offerings, it gave people what they wanted. NN didn't (then, I'm
not commenting on the more recent morphs).

Ta ra

--
Alan Silver
(anything added below this line is nothing to do with me)
Aug 15 '05 #26
Alan J. Flavell wrote:
I think "they" deserve to be congratulated for that.


It also improved the LA club scene no end.

Aug 15 '05 #27
Alan Silver wrote:
I actually remember that. It was in the days when Netscape was
considered a decent browser. They lost the plot quite seriously
since then...

IMHO your criticism is ill-founded: after NN4.* "they" handed over the
"plot" to a new organisation which has proved eminently capable of
producing web-compatible browsers. I think "they" deserve to be
congratulated for that.

I was referring to a stage in between. At the stage of NN3 and IE3, the
former was a superior browser (according to popular opinion at the
time). MS, for better or for worse, went to on to develop IE
aggressively, releasing new versions regularly. Netscape appeared to do
very little to improve their browser after the first version of NN4 came
out. There were minor releases, but none seemed significantly different
from previous ones. That's what I mean by "they lost the plot", they
just didn't appear to be making any attempt to keep up with MS.

At some point later, when the browser war was effectively lost, Netscape
handed over the browser to open source and they did with it what
Netscape themselves should have done years before. It was only then that
we saw any advances in the browser. As long as Netscape had it, nothing
worthwhile was done.

I'm commenting here from a clear memory of what I saw as a web designer
and browser user at the time. You may have a different view.

It's also worth noting that the end user judges a piece of software by
its overall features, and good CSS support (for example) is unlikely to
be an issue. IE was judged favourably by the general public as it
offered them useful features, like being able to see cached pages
offline in their entirety, instead of the plain HTML option that NN
offered. Technically IE may not be such a great browser, but as with
many MS offerings, it gave people what they wanted. NN didn't (then, I'm
not commenting on the more recent morphs).


Your memory is certainly different from mine. Mine is just the reverse.

Netscape was superior to IE and IE was trying to keep up to Netscape.
Netscape realised after a while that they had taken a wrong turn with
their Javascript based CSS (JCSS) and decided to forget about the NS 4
series, to not spend resources to correct bugs (after an attempt with a
NS 5 which was never released), but to start a complete re-write for the
NS 6 series; Mozilla Open Source (started by Netscape!), fully standards
compliant. They never "lost the plot" but lost to MS's monopoly game,
resulting in $700 million or so in restitution, but irreversable damage
was done - Netscape had already been aquired by AOL. Under the AOL
umbrella they released NS 6, continued on to the NS 7 series and were
finally set free on their own as Mozilla Foundation of today under which
umbrella they have continued on with the Mozilla 1 series and onward to
the (Phoenix/Firebird/) Firefox 1 series.

What MS did was to present the IE 5 series to be 'compatible' with NS 4.
IE 5.5 was the first decent thing released and superior to NS 4 only
because Netscape no longer supported the NS 4 series by then. Later on,
IE 6 was released, which really should have only been a full point IE 5
release, nothing more. With all of MS's resources, nothing was done for
years to improve IE since they had the mass market wrapped up already
and concentrated on wrapping up other markets. If anyone "lost the plot"
regarding browser improvement, it was MS with its IE, but then it was
never on their radar. Their radar was directed differently, had a
different "plot" which succeeded and is still succeeding, by placing IE
only in front of Windows users. It's not providing, as you say, 'what
people wanted', but provides 'something good enough' - the masses don't
really know what they want or need; IE is put in front of them, it does
basically what they want, they get used to it and stick to it just
because they don't know any better.

My memory is that Netscape, and as the Mozilla successor, continued
unhaltingly to improve whereas IE did not, but came to a stand still.

--
Gus
Aug 15 '05 #28
Re: CSS Zen Garden
I wrote:
For another, many of the techniques common to the CSS Zen Garden designs
(e.g., replacing text with images of text) are used not because they are
good techniques for real-world projects, but because the CSS Zen Garden
imposes artificial constraints.

Alan Silver <no@spam.than x> wrote: Not sure what you mean by that. From what I could see, he (and others)
used techniques like that because they provided a good answer to a
common problem, namely how to balance having pure text in the HTML, but
using a visually rich replacement when rendered. Why is this not a good
technique for real-world projects?
The common pictures-of-text techniques embed the content within the style
sheet, or at least, within the images the style sheet uses to replace the
text content.

IMHO, the style sheet (and its associated resources) should be unaffected
if someone makes a small change to the text content (e.g., changing the
first H3 element from "The Road to Enlightenment" to "The Path to
Enlightenment") .
Also, what artificial constraints does ZG apply that require this?


"Thou shalt not change the HTML for any reason whatsoever."

In the real world, content images should use the IMG element. Content
images that are pictures of text should provide the text in the ALT
attribute.
--
Darin McGrew, mc****@stanford alumni.org, http://www.rahul.net/mcgrew/
Web Design Group, da***@htmlhelp. com, http://www.HTMLHelp.com/

"If at first you don't succeed, then plug it in and try again."
Aug 15 '05 #29
On Mon, 15 Aug 2005, Darin McGrew wrote (along with much that
didn't seem contentious):
In the real world, content images should use the IMG element.
Content images that are pictures of text should provide the text in
the ALT attribute.


Well, yes; but, on the other hand, there's a body of informed advice
which says that making images that are nothing more than images of
text is poor practice. Better would be to include the text itself in
the HTML with appropriate markup (and if you don't like the visual
result, to propose something via the stylesheet to modify the visual
result in appropriate presentation situation/s).

best regards
Aug 15 '05 #30

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

Similar topics

4
1242
by: areese801 | last post by:
i am using a website with a form that passes criteria to a javascript to run a query rather than just appending my criteria to parts of the URL. i need to import a bunch of records into MS access from this site. this would be very easy to do if i could just change part of the url and programatically navigate there. unfortunatly this javascript is doing all of the querying. is there a good place to start to be able to get around this?
3
1743
by: Karen | last post by:
Hi This may be a really easy answer for you! I usually work with Oracle but have an Access project to work on. I have a table of clients (name, addr1, addr2, addr3, pcode etc) which I need to use as a basis for a query result set which will include literal values for an accounting package. The way I do this in Oracle is:
0
9531
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10459
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10237
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10018
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9055
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7553
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5578
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3735
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2928
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.