Re: [WSG] duplicate id

2006-05-10 Thread Designer

Peter Williams wrote:

Your question is somewhat ambiguous, but if you need to style
an element repeatedly on a page you should use a class, not
an id.

CSS
.prettything {styles;}

Markup
Pretty stuff 


With a class defined using just the dot nomenclature you
could use it on any element you need to.

Pretty div
Pretty paragraph
and so on.


  

What about :

#container{  styles }

#container p{more styles}

#container p.alert {color : #f00;}

Then if (for example) you have 10 paragraphs, you can style the select 
few by classing them as "alert" viz: 


--
Best Regards,

Bob McClelland

Cornwall (UK)
www.gwelanmor-internet.co.uk


**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
**



Re: [WSG] duplicate id

2006-05-10 Thread Shawn J. Cassick

Ted Drake wrote:

Don’t base your markup decisions on how the final product looks. Base your
markup decisions on what the content is and should be.
So, if the title test is the title of the page, it should be marked up with
a header tag. Placing it in a span, div, p, etc is not giving it the
structural and semantic value it deserves.

Spans should be used conservatively. You should think twice, maybe three
times before using on. They aren’t bad, just easily abused. Look for a more
structural/semantic option first.

Use a div if it is a block, use a span if it sits within another element,
like a link or paragraph.

If you find yourself needing to use an id twice, it’s time to re-evaluate
what you are doing or use a class instead.

Ted
http://www.last-child.com   



From: listdad@webstandardsgroup.org [mailto:[EMAIL PROTECTED]
On Behalf Of shawn cassick
Sent: Tuesday, May 09, 2006 4:46 PM
To: wsg@webstandardsgroup.org
Subject: [WSG] duplicate id

i am currently recoding a page from sloppy html to xhtml 1.0 strict, my
question is, how can i get around the span duplicate id defined, as i use
css to define a border around the title text, yes i thought of using h1, b,
etc. and relating the css to those tags, but the titles are to have pretty
much the same properties as the main text.  long story short does anyone
have an idea of how to get around it, i am currently at school right now but
any responses would be nice, i have thought of using a div tag instead of a
span and making the width auto, but still... 
 
 
 
thanks guys
 
Shawn Cassick

Lead Designer - Bumlabs.com

**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
**


  
alaso just so it is clear i am not speaking of the title tag  i 
am speaking of a #title a reference in my css.

**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
**



Re: [WSG] duplicate id

2006-05-10 Thread Shawn J. Cassick

Kevin Futter wrote:

On 10/5/06 9:45 AM, "shawn cassick" <[EMAIL PROTECTED]> wrote:

i am currently recoding a page from sloppy html to xhtml 1.0
strict, my question is, how can i get around the span duplicate id
defined, as i use css to define a border around the title text,
yes i thought of using h1, b, etc. and relating the css to those
tags, but the titles are to have pretty much the same properties
as the main text. long story short does anyone have an idea of how
to get around it, i am currently at school right now but any
responses would be nice, i have thought of using a div tag instead
of a span and making the width auto, but still...



thanks guys

Shawn Cassick
Lead Designer - Bumlabs.com 


I’m not sure I fully understand your question, but can’t you just use 
a class instead of an ID where the same style needs to be applied to 
multiple elements?


--
Kevin Futter
Webmaster, St. Bernard's College
http://www.sbc.melb.catholic.edu.au/
i have tossed the class in there instead of the id, but then the css for 
some reason wont render on screen.

**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
**



Re: [WSG] duplicate id

2006-05-10 Thread Patrick H. Lauke

Shawn J. Cassick wrote:

i have tossed the class in there instead of the id, but then the css for 
some reason wont render on screen.


Of course you need to change your CSS to reference classes rather than 
ids. Without sounding patronising, may I suggest a beginners tutorial on 
CSS to get to grips with the basics?


http://www.htmldog.com/guides/cssbeginner/


--
Patrick H. Lauke
__
re·dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
www.splintered.co.uk | www.photographia.co.uk
http://redux.deviantart.com
__
Web Standards Project (WaSP) Accessibility Task Force
http://webstandards.org/
__
**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
**



[WSG] IE Hell

2006-05-10 Thread Darren Wood

Hello fine people,

I've been stuggling with an IE issue for several weeks.  I'm unable to
resolve it.  The page in question is:

http://www.golfgods.com/item/11_06WCLCT.html#accessories
**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
**



Re: [WSG] IE Hell

2006-05-10 Thread Germ
Im not going to try and atempt to answer the problem as im not that talented but I have seen this similar problem a few times.I am doing an uni assignment on the new updated wembley stadium (
http://www.wembleystadium.com) and they have the similar problem but with thje menu on the side instead.On 5/11/06, Darren Wood <
[EMAIL PROTECTED]> wrote:Hello fine people,I've been stuggling with an IE issue for several weeks.  I'm unable to
resolve it.  The page in question is:http://www.golfgods.com/item/11_06WCLCT.html#accessories**
The discussion list for  http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help**-- GermWorks
http://www.germworks.nethttp://germworks.blogspot.com/http://www.germworks.net/Phantom


RE: [WSG] IE Hell

2006-05-10 Thread Peter Williams
> From: Darren Wood
> 
> I've been stuggling with an IE issue for several weeks.
> http://www.golfgods.com/item/11_06WCLCT.html#accessories

You seem to have an empty ul element near where that bottom
content goes astray in IE.


Callaway Women's Collection Cart Bag Customer Reviews



Be the first to submit a review for the Callaway Women's
 Collection Cart Bag


Your br elements are potentially trouble too,  should
be  or some browsers may stumble on them.

-- 
Peter Williams
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
**



[WSG] Column height issue

2006-05-10 Thread Jonathan Carter
I've got a simple fixed-width two-column layout, with a footer. I need 
to the two columns to span the height of the viewport regardless of 
their content, but also grow when their contents exceed the viewport's 
height. I also need the footer to always be at the bottom of the page 
regardless of the height of the content.


Here's the test page I setup with a basic example of what I'm doing:

http://www.1ofnull.com/Test.htm

Every article I found on this subject didn't seem to help me, or I 
didn't fully understand how to apply it to my situation. If anyone could 
give me some advice I would greatly appreciate it. Thanks a lot.


Jonathan


**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
**



RE: [WSG] IE Hell

2006-05-10 Thread Rachel May
Hi Darren,

I think the first step is to run the page through the validator and fix the
errors.  Often that will clear up problems like this.

http://validator.w3.org/check?verbose=1&uri=http%3A//www.golfgods.com/item/1
1_06WCLCT.html%23accessories

:)
Rachel

-Original Message-
From: listdad@webstandardsgroup.org [mailto:[EMAIL PROTECTED]
On Behalf Of Darren Wood
Sent: Thursday, 11 May 2006 3:38 p.m.
To: wsg@webstandardsgroup.org
Subject: [WSG] IE Hell

Hello fine people,

I've been stuggling with an IE issue for several weeks.  I'm unable to
resolve it.  The page in question is:

http://www.golfgods.com/item/11_06WCLCT.html#accessories
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
**


**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
**



RE: [WSG] Column height issue

2006-05-10 Thread Scott Swabey
Jonathan Carter wrote:
> I've got a simple fixed-width two-column layout, with a footer. I
> need to the two columns to span the height of the viewport regardless
> of their content, but also grow when their contents exceed the
> viewport's height. I also need the footer to always be at the bottom
> of the page regardless of the height of the content.


Exploring Footer[1] should get you going in the right direction

[1] 

Regards

Scott Swabey
Design & Development Director

Lafinboy Productions
www.lafinboy.com

www.thought-after.com




**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
**



Re: [WSG] Column height issue

2006-05-10 Thread Germ
I used this tutorial to get mine to work.http://css.maxdesign.com.au/floatutorial/tutorial0816.htmOn 5/11/06, 
Jonathan Carter <[EMAIL PROTECTED]> wrote:
I've got a simple fixed-width two-column layout, with a footer. I needto the two columns to span the height of the viewport regardless oftheir content, but also grow when their contents exceed the viewport'sheight. I also need the footer to always be at the bottom of the page
regardless of the height of the content.Here's the test page I setup with a basic example of what I'm doing:http://www.1ofnull.com/Test.htmEvery article I found on this subject didn't seem to help me, or I
didn't fully understand how to apply it to my situation. If anyone couldgive me some advice I would greatly appreciate it. Thanks a lot.Jonathan**
The discussion list for  http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help**-- GermWorks
http://www.germworks.nethttp://germworks.blogspot.com/http://www.germworks.net/Phantom