473,513 Members | 4,753 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Request for comments: CSS layout tutorial; a start

I've started work on a css layout tutorial. I expect that it will take a
minimum of several weeks to get to a complete draft stage.

I hope to get better feedback by publishing individual pages. I've
uploaded 2 draft pages, an index and a list of definitions:
http://www.spartanicus.utvinternet.i...dex.htm.remove
http://www.spartanicus.utvinternet.i...ons.htm.remove

The urls are not valid because of the added suffix to prevent indexing
(some SE's don't respect robots.txt directives), but the server has name
guessing enabled (I forgot how it's called officially), clicking them
will produce the real link, alternatively delete the ".remove" suffixes
from the urls. The location is temporary.

Feedback requested on:
Language used, being a tutorial I don't want it to be to formal.
Correctness of terminology definitions.

Note:
The limited scope of the tutorial as set out on the index page.
External links have not been checked

--
Spartanicus
Jul 21 '05 #1
4 2554
Spartanicus <me@privacy.net> wrote:
The urls are not valid because of the added suffix to prevent indexing
(some SE's don't respect robots.txt directives), but the server has name
guessing enabled (I forgot how it's called officially), clicking them
will produce the real link


Bollocks, I just realised that this will also disclose the valid urls to
spiders :(

I'll delete the documents after a week. (I've no control over the server
config)

--
Spartanicus
Jul 21 '05 #2

Uzytkownik "Spartanicus" <me@privacy.net> napisal w wiadomosci
news:06********************************@news.spart anicus.utvinternet.ie...
I've started work on a css layout tutorial. I expect that it will take a
minimum of several weeks to get to a complete draft stage.

I hope to get better feedback by publishing individual pages. I've
uploaded 2 draft pages, an index and a list of definitions:
http://www.spartanicus.utvinternet.i...dex.htm.remove
http://www.spartanicus.utvinternet.i...ons.htm.remove


1. Why use CSS for layout?
2. Layouts that Work on the Web
3. CSS tables
4. Inline blocks
5. The flow
6. Absolute positioning
7. MS Internet Explorer
8.Floats

Looking at the above list I suspect that you're going to write that
css-based layout would be good when display: table-* property is used, and
you will advice to keep the floated-boxes layout for IE only using some
hacks. Am I right?

I ask, because I've suggested on one webdesign-related forum that it can be
the best way to build layout and I'm the only person who thinks this way.
People arguing that <div style="display: table-cell;"></div> requires extra
markup (elements with display: table-row; and display:table; to contain that
table-cell) but I think the idea of css-tables is that browsers' rendering
engines should generate anonymus boxes that are required to render that
table-cell. (it is written in CSS2.1 spec: 17.2.1 - Anonymus table objects)
And ofcourse the other argument is that IE doesn't support it, so people ask
"why should I write my css twice, when I can write one using floats and make
it work in all modern browsers?"

I hope that your tutorial will give me support in such discussions :) I
haven't found any document on the internet that says "display: table is
better than floats to make page layout", nor "it is good to use display:
table for browsers and floats for IE only" so the only argument I have now
is "beacuse I think so, I've tried few times, and it works good for me".

I made an example - http://www.csslayouts.net/dev/display-table/ and asked
people to rework it using floats, to look and behave in IE the same way it
does in Opera / Firefox. I think it's almost impossible :)
--
pawel[dot]knapik[at]gmail[dot]com
www.csslayouts.net //version beta
Jul 21 '05 #3
vatore wrote:
I haven't found any document on the internet that says "display: table is
better than floats to make page layout",
If all browsers implemented it well, then for some layouts it would be.
nor "it is good to use display: table for browsers and floats for IE only"


I did this for a while, but eventually got fed up with a Gecko bug (pages
would randomly display with the right column below the left column -
refresh and it would be fine, come back and it would be broken again) and
was changing the layout to one better suited to abs positioning anyway - so
it got ditched.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jul 21 '05 #4
On Mon, 29 Nov 2004 16:08:46 +0000, Spartanicus <me@privacy.net> wrote:
I've started work on a css layout tutorial. I expect that it will take a
minimum of several weeks to get to a complete draft stage.

I hope to get better feedback by publishing individual pages. I've
uploaded 2 draft pages, an index... [...]Note:
The limited scope of the tutorial...


That's Ok for a start, but how about putting in a challenge for a full
size CSS example at the end?

How's this for an idea?

A "CSS Master Diploma" to be given to any one who is capable to create a
"liquid" CSS suggestion for the more complex side of the "WAFFLE HOUSE"
food menu [1].

Net result should be that when a user has a viewing window with the same
height and width proportions as the original food menu, and 100% BODY
font size, that original food menu is what should be seen.

Any other proportions, and it's allowed to re-flow into a different
layout but the menu should still be usable to order any and all of its
individual items from.

[side note: a working example like this could become a usable tool to
/convince/ possible clients about the usability of CSS even in a
commercial environment]

[1] The idea is not mine originally. It just so happened, about four
years ago, that Sue and I had reason to meet with Eric Meyer, his wife
and a few of their friends, in Atlanta, and we all ended up at a local
Waffle House to get something to eat.
Eric was looking at the menu and said words to the effect...

"I wonder if any one could do this in CSS?"

Any one out there to pick up that "glove" if "Spartanicus" puts up the
competition rules for it in his layout tutorial? ;-)

--
Rex
Jul 21 '05 #5

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

Similar topics

4
3367
by: Sims | last post by:
Hi, I proud myself in having good comments, (/**/, // etc...), all over my scripts as well as a very descriptive section at the beginning of the script. No correct me if i am wrong but php must...
21
2677
by: Amy | last post by:
Hello all, Well, I've decided to take the plunge and go for this no table theory... so far I'm not impressed - the whole thing is driving me mad!!!! I'm sure once I finally get it working...
11
3181
by: Guotao Luan | last post by:
Hello All: I notice that there have been frequent questions being asked about template here so I guess it is okay to post this message here. I just wrote a c++ tempalte tutorial/review, I would...
18
1997
by: Chris Travers | last post by:
Hi all; I have been looking into how to ensure that synchronous replication, etc. could best be implimented. To date, I see only two options: incorporate the replication code into the database...
6
1662
by: planetthoughtful | last post by:
Hi All, I've written my first piece of practical Python code (included below), and would appreciate some comments. My situation was that I had a directory with a number of subdirectories that...
7
1696
by: David Veeneman | last post by:
I'm just getting started with ASP.NET in Visual Studio 2005. The last web work I did involved ASP 3.0 in FrontPage. I've been through the MSDN tutorials on creating web pages, but not of them...
53
4064
by: brave1979 | last post by:
Please check out my javascript library that allows you to create any layout for your web page, nested as deep as you like, adjusting to width and height of a browser window. You just describe it in...
11
1274
by: Daniel Norden | last post by:
Hello. Can you give me some feedback on my code layout? I have everything organized in an object, "NRL", that's used as a namespace, and there are other subobjects/modules below that, for...
0
7254
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
7153
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
7373
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,...
1
7094
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
5677
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,...
1
5079
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...
0
3230
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1585
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
452
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...

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.