![]() | ![]() | ![]() |
| |||||||
| Forums | Register | Groups | Awards | Arcade | Pets | T-Bucks / T-Store | Invite Your Friends | Blogs | Mark Forums Read |
| Web Design Forums and discussions on webdesign |
Web Design | |||||||||
|
|
|
|
| |||||
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| Civilians | Hello again Gurus, This newbie is getting mega headaches looking for the answers on the www. But hopefully I am getting there. One thing, my bookmarks have doubled in the last week. I struggled with this page ![]() When someone has time would you please check my .css file for incorrect coding and also how I laid out my html page. Both validate but I know this does not mean I am doing it right. Any better ideas will be appreciated. Its all a learning curve for me. As always, thanks Jenny http://wairoa.net/wairoa.htm http://wairoa.net/wairoa.css |
|
| | #2 (permalink) |
| Civilians | Carved in mystic runes upon the very living rock, the last words of JennyLin of alt.www.webmaster make plain: > This newbie is getting mega headaches looking for the answers on the > www. But hopefully I am getting there. I think you've made remarkable progress! > I struggled with this page ![]() > When someone has time would you please check my .css file for > incorrect coding and also how I laid out my html page. You have three invalid selectors (center, left, right) at the bottom of your stylesheet, with invalid properties. I have some suggestions about coding style. Coding style is to some degree an individual matter; its sole purpose is to increase readability, making the code easier to work with and maintain, so do whatever works best for you. That said, it is customary to indent lines between { }. Thus you would have: h1 { text-decoration:underline; text-align:center; } Personally, I find it improves readability to put a blank line between selectors, and to line up property values: h1 { text-decoration: underline; text-align: center; } h2 { font-size: 120%; } Like I say, this is an individual matter. For some languages there are sort-of standards that have developed and are more or less followed or adapted to suit the individual coder's preferences, but the key is readability. -- Alan Little Phorm PHP Form Processor http://www.phorm.com/ |
|
| | #3 (permalink) |
| Civilians | "Alan Little" <alan@n-o-s-p-a-m-phorm.com> wrote in message news:Xns96CB5A2DE4604alanphormcom@216.196.97.131.. . > I think you've made remarkable progress! Now those words will keep me at it, must admitt I am struggling though, a lot of it is hit and miss ![]() But I guess it will fall into place eventually. > You have three invalid selectors (center, left, right) at the bottom of > your stylesheet, with invalid properties. Gone ![]() > I have some suggestions about coding style. Coding style is to some > degree an individual matter; its sole purpose is to increase readability, > making the code easier to work with and maintain, so do whatever works > best for you. > > That said, it is customary to indent lines between { }. Thus you would > have: > > h1 { > text-decoration:underline; > text-align:center; > } Done ![]() > Personally, I find it improves readability to put a blank line between > selectors, and to line up property values: > > h1 { > text-decoration: underline; > text-align: center; > } > > h2 { > font-size: 120%; > } Done > Like I say, this is an individual matter. For some languages there are > sort-of standards that have developed and are more or less followed or > adapted to suit the individual coder's preferences, but the key is > readability. Sure will be nice when I understand what I am reading also...lol Thanks Alan, Cheers Jenny |
|
![]() |
| Bookmarks |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| The masterpiece of a disaster | Snowden | News Articles | 0 | 03-21-2008 12:39 |
| Turner's lost masterpiece returns to public view | milmor_1 | Art, Poetry & Prose | 1 | 10-19-2007 14:13 |
| Da Vinci sleuth invited to find lost masterpiece | milmor_1 | The History Club Forum | 1 | 02-01-2007 18:11 |
| Masterpiece theater: Rogers gets Tigers even, but not without controversy | irish_blue69 | BaseBall | 0 | 10-23-2006 18:12 |
| My first masterpiece for checking. | JennyLin | Web Design | 44 | 09-07-2005 16:00 |
![]() | ![]() | ![]() |