A webmaster forum specifically catering for Australian site owners. We discuss site development, marketing and management issues.
Please welcome our newest member, gmicarus!
Spice up your web site with the ultimate community message board solution!
Fake Id'sGet fake Id's made right now!
vBSEOSearch Engine Optimization for your VBulletin Forum.
AdminFusion
»
xhtml 1.1 strict help..
| | #1 |
| | |||||
| Title: Veteran Join Date: Feb 2006 Posts: 592 Location: Pakistan ![]() | 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/ | ||||
| |
| | #2 |
| | |||||
| Title: Veteran Join Date: Nov 2005 Posts: 518 ![]() | 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.
__________________ | ||||
| |
| | #3 |
| | |||||
| Title: Veteran Join Date: Feb 2006 Posts: 592 Location: Pakistan ![]() | 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/ | ||||
| |
| | #4 |
| | #5 |
| | |||||
| Title: Veteran Join Date: Feb 2006 Posts: 592 Location: Pakistan ![]() | 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/ | ||||
| |
| | #6 |
| | |||||
| Title: Veteran Join Date: Nov 2005 Posts: 518 ![]() | 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.
__________________ | ||||
| |
| | #7 |
| | |||||
| Title: Veteran Join Date: Feb 2006 Posts: 592 Location: Pakistan ![]() | 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/ | ||||
| |
| | #8 |
| | #9 |
| | |||||
| Title: Veteran Join Date: Nov 2005 Posts: 518 ![]() | 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
__________________ | ||||
| |
| | #10 |
| | |||||
| Title: Veteran Join Date: Feb 2006 Posts: 592 Location: Pakistan ![]() | Thanks hell3.
__________________ TemptingBites : Tickle your taste buds SiteGuts : A website coding resource http://temptingbites.com/mango-kulfi-desert/ | ||||
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
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 |
