Hello Cameron,
You could always use classes with your headings. So if there is one heading that appears more than once you could use, <h1 class="heading1"></h1> or something like that.
Regards, Nan Zhong
Cameron Muir wrote:
Thanks Russ,
The reason I did that was because I wanted to have the same formatting for headings that would appear more than once (on the homepage there is 'Welcome...' and 'News...' . Is it okay to have h1 more than once on the same page, or should I give h1, h2 and h3 the same style info?
Thanks again, Cameron.
Russ Weakley - Maxdesign wrote:
Hi Cameron,
Always a good idea to turn of CSS and look at your page, or look at your page in Lynx viewer (http://www.delorie.com/web/lynxview). These two method will quickly give you feedback on whether the page has meaning without css. If you look at the page, does each block of content have the correct meaning?
If you turn off CSS and look at your page you can see it lacks some degree of structural markup...
Where possible, it is important to use headings rather than code like this: <p class="heading">Welcome to the NSW Reconciliation Council</p>
Much better to do this: <h1>Welcome to the NSW Reconciliation Council</h1>
Why? Paragraphs marked up as headings using CSS will only have meaning for browsers that support the CSS. Any other browser or device may ignore the CSS and therefore this content will not have any significant meaning.
This is the essence of semantically correct markup - wrapping content in the most appropriate html element so it will have meaning in as many devices as possible.
There two particular groups that will suffer particularly. Google and screen readers. In fact, some users of screen readers navigate pages using headings, so these paragraphs will not be treated as heading levels at all.
If it is any consolation I used to do this too. A fellow structural sinner :) Russ
Hello,
Just wondering if anyone wants to check this site: http://nswrecon.com/test2/
I was instructed to keep it close to the original: http://nswrecon.com/
It's still a draft and only the About link works. Haven't put access keys in yet, and I don't think the text is dark enough.
thanks.
*****************************************************
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
*****************************************************
*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
*****************************************************