Quick Login   
 
Register AdminFusion Tutorials
 
Featured Sponsors


One.com Domain and Hosting


Register
Forum of the Month
Australian Webmaster
fotm

A webmaster forum specifically catering for Australian site owners. We discuss site development, marketing and management issues.

Tag Cloud
Latest Threads
Forum Stats
8,066 Members
165,843 Posts
37 Users Online

Please welcome our newest member, gmicarus!

Affiliates
Go Back AdminFusion » Management » Graphics and Design » xhtml 1.1 strict help..
Welcome to the AdminFusion. AdminFusion is the ultimate resource for forum administrators and moderators. With exclusive articles, interviews with the experts, free downloadable skins, and the revolutionary post exchange system - PostFusion, AdminFusion is the place to go for all of your forum needs.  By joining AdminFusion, you will become part of a thriving admin community and immediately gain access to all of these resources. Registration is fast, simple and absolutely free so please join us today!
Want more than our forums? Try these: Post Fusion Forum Matrix
Old 12-30-2005, 10:19 PM   #1

Muhammad Haris's Avatar

Title: Veteran

Points: 3,431, Level: 16Points: 3,431, Level: 16Points: 3,431, Level: 16
Level up: 17%, 19 Points neededLevel up: 17%, 19 Points neededLevel up: 17%, 19 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Feb 2006

Posts: 592

Location: Pakistan

Muhammad Haris is on a distinguished road
Send a message via MSN to Muhammad Haris Send a message via Skype™ to Muhammad Haris  
 
xhtml 1.1 strict help..

Hello ,

i am trying to mastering css/xhtml 1.1 strict .. i am reading a e-book which is very good .. got it from www.dummies.com

The thing is that <font> tags are unsupported from xhtml , i have created a class known as car which will bring all the car sales in bold but xhtml validator said that i can't use <font> , 10 minutes google search told me to use <span> i used it and it nearly worked but the validator said to enclose it in tags such as h1,h2,h3 and etc.. so i did in <p> , as my <p> tag is classed in css as underline i dont want my listings to go underline so i grouped span class car with p.car... but it resulted as p.car underlined as well .. is there any way i can use p and as well p.car without making p.car underlined or any other alternative solutions ?
__________________
TemptingBites : Tickle your taste buds
SiteGuts : A website coding resource
http://temptingbites.com/mango-kulfi-desert/
Reply With Quote
Old 12-30-2005, 10:32 PM   #2

Title: Veteran

Points: 2,832, Level: 15Points: 2,832, Level: 15Points: 2,832, Level: 15
Level up: 16%, 218 Points neededLevel up: 16%, 218 Points neededLevel up: 16%, 218 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Nov 2005

Posts: 518

Hell³ is on a distinguished road
 
 
umm... I think the validator is triying to make sense of the structure of your site... like.. don't use p tags for listings... you use the ul/ol/li tags for listings... and then you give design to those in the css.

Edit. you have to take heed that the strict tags are structural, if you "cheat" the use for the p tag (wich is only for paragraphs) you're missing the whole point of using strict xhtml.
__________________

Reply With Quote
Old 12-30-2005, 10:41 PM   #3

Muhammad Haris's Avatar

Title: Veteran

Points: 3,431, Level: 16Points: 3,431, Level: 16Points: 3,431, Level: 16
Level up: 17%, 19 Points neededLevel up: 17%, 19 Points neededLevel up: 17%, 19 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Feb 2006

Posts: 592

Location: Pakistan

Muhammad Haris is on a distinguished road
Send a message via MSN to Muhammad Haris Send a message via Skype™ to Muhammad Haris  
 
hell3 , thanks for a lot of information about it , it really helped me but maybe more thoughts by the xhtml experts as the structure of the file is alright.
__________________
TemptingBites : Tickle your taste buds
SiteGuts : A website coding resource
http://temptingbites.com/mango-kulfi-desert/
Reply With Quote
Old 12-30-2005, 10:56 PM   #4

Title: Veteran

Points: 2,832, Level: 15Points: 2,832, Level: 15Points: 2,832, Level: 15
Level up: 16%, 218 Points neededLevel up: 16%, 218 Points neededLevel up: 16%, 218 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Nov 2005

Posts: 518

Hell³ is on a distinguished road
 
 
well then... if you insist to use p tags I would use a separate class for p.underline and p.cars and define in every instance wich one I'm using
__________________

Reply With Quote
Old 12-30-2005, 11:32 PM   #5

Muhammad Haris's Avatar

Title: Veteran

Points: 3,431, Level: 16Points: 3,431, Level: 16Points: 3,431, Level: 16
Level up: 17%, 19 Points neededLevel up: 17%, 19 Points neededLevel up: 17%, 19 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Feb 2006

Posts: 592

Location: Pakistan

Muhammad Haris is on a distinguished road
Send a message via MSN to Muhammad Haris Send a message via Skype™ to Muhammad Haris  
 
well hell3 seems like you have muhc knowledge about css/xhtml 1.1 strict..

the new questions is that in the e-book i am reading it says that some OS does not support fonts that windows uses and that way font-family supports to resolve that problem.. now the question is that can i load the fonts into my server and then link to the the css , like http://www.fonts.com/jokerfont.ttf..

will this work because this might resolve most of the OS compatbility issues.
__________________
TemptingBites : Tickle your taste buds
SiteGuts : A website coding resource
http://temptingbites.com/mango-kulfi-desert/
Reply With Quote
Old 12-30-2005, 11:52 PM   #6

Title: Veteran

Points: 2,832, Level: 15Points: 2,832, Level: 15Points: 2,832, Level: 15
Level up: 16%, 218 Points neededLevel up: 16%, 218 Points neededLevel up: 16%, 218 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Nov 2005

Posts: 518

Hell³ is on a distinguished road
 
 
here's the thing, yes you can upload fonts to your server, the one you're linking wich is a ttf might only work on windows servers, but that's another story. The main thing is that when the user agent (the browser) loads the page, it will look for that font in the client machine, not in the server, and if it's not there the user agent will display the next font that appears in the family list, if there's one defined, if it doesn't find any font in the family list then will use the default serif or sans serif font defined in the user agent options.
__________________

Reply With Quote
Old 12-31-2005, 12:11 AM   #7

Muhammad Haris's Avatar

Title: Veteran

Points: 3,431, Level: 16Points: 3,431, Level: 16Points: 3,431, Level: 16
Level up: 17%, 19 Points neededLevel up: 17%, 19 Points neededLevel up: 17%, 19 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Feb 2006

Posts: 592

Location: Pakistan

Muhammad Haris is on a distinguished road
Send a message via MSN to Muhammad Haris Send a message via Skype™ to Muhammad Haris  
 
i see , but i might confirm from a css expert.
__________________
TemptingBites : Tickle your taste buds
SiteGuts : A website coding resource
http://temptingbites.com/mango-kulfi-desert/
Reply With Quote
Old 12-31-2005, 12:15 AM   #8

Danny's Avatar

Title: Admin-Technical

Points: 2,621, Level: 14Points: 2,621, Level: 14Points: 2,621, Level: 14
Level up: 15%, 129 Points neededLevel up: 15%, 129 Points neededLevel up: 15%, 129 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Aug 2005

Posts: 195

Danny is on a distinguished road
 
 
Quote:
Originally Posted by Muhammad Haris View Post
i see , but i might confirm from a css expert.
I'm not an expert, but he is correct. Font being display is determined on the client-side, not the server-side..
__________________
Currently: Very Busy!
Reply With Quote
Old 12-31-2005, 12:54 AM   #9

Title: Veteran

Points: 2,832, Level: 15Points: 2,832, Level: 15Points: 2,832, Level: 15
Level up: 16%, 218 Points neededLevel up: 16%, 218 Points neededLevel up: 16%, 218 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Nov 2005

Posts: 518

Hell³ is on a distinguished road
 
 
The use of font family lists is to give a solution for possible differences in font names depending the plataform the client uses.

Example. Windows machines name this font Arial, OSX ones name it Helvetica, what you do is to put both names in the family list to ensure that both windows and osx show the same font and not the default font defined in the user agent options
__________________

Reply With Quote
Old 12-31-2005, 08:33 AM   #10

Muhammad Haris's Avatar

Title: Veteran

Points: 3,431, Level: 16Points: 3,431, Level: 16Points: 3,431, Level: 16
Level up: 17%, 19 Points neededLevel up: 17%, 19 Points neededLevel up: 17%, 19 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Feb 2006

Posts: 592

Location: Pakistan

Muhammad Haris is on a distinguished road
Send a message via MSN to Muhammad Haris Send a message via Skype™ to Muhammad Haris  
 
Thanks hell3.
__________________
TemptingBites : Tickle your taste buds
SiteGuts : A website coding resource
http://temptingbites.com/mango-kulfi-desert/
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

 
Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
JOB OFFER: XHTML CSS Coder needed docquesting Buy and Sell 0 12-07-2006 02:44 AM
Showing off XHTML & CSS compliency Jolteon Graphics and Design 14 11-02-2006 02:04 PM
[Great Bundle] CSSDump.com + Valid xHTML Design Gareth Buy and Sell 2 09-09-2006 12:05 PM
Browser Support & Workarounds: CSS Zachary Graphics and Design 3 10-27-2005 04:01 AM

AdminFusion

All times are GMT +1. The time now is 11:14 PM. Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0 © 2005-2008 AdminFusion - All Rights Reserved


From:
Title:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72