This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > February 2004 > CSS Backgroung size





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author CSS Backgroung size
vmail

2004-02-18, 5:07 pm

[L=Please look at]http://www24.brinkster.com/vmail2/Monopoly/home.html[/L

 The page is not complete yet, I am trying to get the monopoly board to fill
something like 75% of the window, and automatically change size when the user
resize the browse

 its easy if i could use table - but tables should only be used for tabular
data and not layout
 I am also not allowed to use javascript, frames or flas


 I dont understand why the page looks different in IE5.5 and IE 6, i will look
into it late

Murray *TMM*

2004-02-18, 5:28 pm

>  its easy if i could use table - but tables should only be used for
tabular
> data and not layout
>  I am also not allowed to use javascript, frames or flas


Don't believe either of the assumptions in this paragraph.

* it's not easy if you use tables, and
* you can use tables for anything you damn well please

A background image does NOT scale in size.  In general images of any sort do
not scale well.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"vmail" <sales@vmail.tk> wrote in message
news:c10jo9$630$1@forums.macromedia.com...
> [L=Please look at]http://www24.brinkster.com/vmail2/Monopoly/home.html[/L
>
>  The page is not complete yet, I am trying to get the monopoly board to

fill
> something like 75% of the window, and automatically change size when the

user
> resize the browse
>
>  its easy if i could use table - but tables should only be used for

tabular
> data and not layout
>  I am also not allowed to use javascript, frames or flas
>
>
>  I dont understand why the page looks different in IE5.5 and IE 6, i will

look
> into it late
>



Barry Pearson

2004-02-18, 6:44 pm

vmail wrote:
[snip]
>  its easy if i could use table - but tables should only be used for
> tabular data and not layout

[snip]

Murray has responded to this. I'll just supplement what he has so accurately
and succinctly said ("you can use tables for anything you damn well please"):

"Layout tables considered valuable"
http://www.barry.pearson.name/articles/layout_tables/

There are 5 articles there. The others are:
"Reflections on CSS Positioning"
"In defence of layout tables"
"A brief history of tables"
"Sayings"

You potentially have a number of layout methods available. Normal flow,
floats, absolute positioning, tables. (And Frames, iFrames, Objects, and
various combinations of these).

They are *all* limited. Would you rather have 3 or 4 different limited methods
available, or just 2 or 3 of them? And don't believe for a second anyone who
is trying to re-write history by making claims about what tables should be
used for! See "A brief history of tables" above.

--
Barry Pearson
http://www.Barry.Pearson.name/photography/
http://www.BirdsAndAnimals.info/
http://www.ChildSupportAnalysis.co.uk/


vmail

2004-02-18, 6:44 pm

its cos of accessability and useability

is is posible to manually create the boxes that can resize when the window resizes, like style={top:15%; left:15%;  width:15%; height:15%;}
Murray *TMM*

2004-02-18, 6:44 pm

Tables used creatively needn't be an impediment to accessability, or
useability, but it sounds like you have another agenda that has been
unspoken here, so I cannot guess what that might be.

Yes you can create such boxes.  Don't expect them to cause your background
to scale however.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"vmail" <sales@vmail.tk> wrote in message
news:c10mpv$af3$1@forums.macromedia.com...
> its cos of accessability and useability
>
> is is posible to manually create the boxes that can resize when the window

resizes, like style={top:15%; left:15%;  width:15%; height:15%;}


vmail

2004-02-18, 6:45 pm

I agree with you, I have used tables in the past, if i use a table that isnt
for tabular data I will get a grade F

 [L=Tableless Layouts]http://webdesign.about.com/library/weekly/aa102102a.htm[/L

 [Q]CSS Positioning (CSS-P) is the only way to create standards based Web pages
using XHTML. Why? Because XHTML requires that tables only be used to define
tabular data, and not be used for layout. [/Q

Murray *TMM*

2004-02-18, 6:45 pm

Aha - so this is for classwork then?

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"vmail" <sales@vmail.tk> wrote in message
news:c10o73$cc9$1@forums.macromedia.com...
> I agree with you, I have used tables in the past, if i use a table that

isnt
> for tabular data I will get a grade F
>
>  [L=Tableless

Layouts]http://webdesign.about.com/library/weekly/aa102102a.htm[/L
>
>  [Q]CSS Positioning (CSS-P) is the only way to create standards based Web

pages
> using XHTML. Why? Because XHTML requires that tables only be used to

define
> tabular data, and not be used for layout. [/Q
>



Paul Anthony

2004-02-18, 6:45 pm

Lets say for a minute that you decide to not use a background image and
instead use multiple layers around the outside of the board for the coloured
effect -sounds adventurous but maybe its possible with the right blend of
javascript etc. That would then leave the only image being the centered one
for the background.

Paul.

"vmail" <sales@vmail.tk> wrote in message
news:c10jo9$630$1@forums.macromedia.com...
> [L=Please look at]http://www24.brinkster.com/vmail2/Monopoly/home.html[/L
>
>  The page is not complete yet, I am trying to get the monopoly board to

fill
> something like 75% of the window, and automatically change size when the

user
> resize the browse
>
>  its easy if i could use table - but tables should only be used for

tabular
> data and not layout
>  I am also not allowed to use javascript, frames or flas
>
>
>  I dont understand why the page looks different in IE5.5 and IE 6, i will

look
> into it late
>



Barry Pearson

2004-02-18, 6:45 pm

vmail wrote:
> its cos of accessability and useability

[snip]

Layout tables can be accessible, and certainly usable. The accessibility issue
was resolved in April 1999. The conclusion was that layout tables needed to be
linearisable. Most are.

Since perhaps 99% of pages on the web use layout tables, the usability can
speak for itself. Layout tables will exist for years and probably decades.

"A brief history of tables"
http://www.barry.pearson.name/artic...les/history.htm

--
Barry Pearson
http://www.Barry.Pearson.name/photography/
http://www.BirdsAndAnimals.info/
http://www.ChildSupportAnalysis.co.uk/


vmail

2004-02-18, 6:54 pm

thats what im working on now, but without the javascript, just using CSS
vmail

2004-02-18, 7:13 pm

ok, just testing with one bo
 <div class="boardCorner" style="{position: absolute; left:30%; top:20%;
height:30%; width:30%}"> test</div
 the colours and borders are defined in .boardCorner, eveything works except
the height of the box does not chang

vmail

2004-02-18, 7:13 pm

ok if you have a 2 colum table, a speech browser will read col1,row1, then col2, row1 instead of reading col1,row2
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews