Re: [css-d] margins and other problems with cobbles CSS/HTML

2008-12-22 Thread Mike Breiding - Morgantown WV
Thanks,Georg.
I will try to get it cleaned up and then resend.
-Mike
==

Gunlaug Sørtun wrote:
 Mike Breiding - Morgantown WV wrote:
 
 HTML: http://epicroadtrips.us/ert2.htm
 
 Would be a good idea to move the myriad of inline-styles to the
 stylesheet, and get rid of the old HTML attributes that replicate CSS
 styling. Will make it easier to tune the layout to appear as you want,
 and maintain it.
 
 The old HTML attributes are easy to spot by validating the page as 
 Strict...
 
 http://validator.w3.org/check?uri=http%3A%2F%2Fepicroadtrips.us%2Fert2.htmcharset=%28detect+automatically%29doctype=XHTML+1.0+Strictgroup=0user-agent=W3C_Validator%2F1.606
  
 
 
 ...and the inline-styles are even easier to spot on their own. Having to
 modify styles both in the stylesheet and in the page makes debugging too
 time-consuming to bother with at my end, and you already have the
 necessary IDs, classes and element-names in source-code and stylesheet
 so you can see where to move those inline-styles.
 
 BTW: margins don't fluctuate, but elements move when resized. Also not
 sure if you want margins or paddings to create spaces with, since you
 have a mix of both.
 
 regards
 Georg

-- 


Morgantown WV

www.EpicRoadTrips.us

__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] margins and other problems with cobbles CSS/HTML

2008-12-21 Thread Bjoern Hoehrmann
* Mike Breiding - Morgantown WV wrote:
CSS - One error but I cannot find it.
http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fepicroadtrips.us%2Fcss%2Fstyle.cssprofile=css21usermedium=allwarning=1lang=en

You have:

  a:hover {
color: #FFF;
text-decoration: underline;
}
  
  
  
}

Compare the number of { versus the number of }.
-- 
Björn Höhrmann · mailto:bjo...@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] margins and other problems with cobbles CSS/HTML

2008-12-21 Thread Mike Breiding - Morgantown WV
Bjoern Hoehrmann wrote:
 * Mike Breiding - Morgantown WV wrote:
 CSS - One error but I cannot find it.
 http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fepicroadtrips.us%2Fcss%2Fstyle.cssprofile=css21usermedium=allwarning=1lang=en
 
 You have:
 
   a:hover {
   color: #FFF;
   text-decoration: underline;
   }
   
   
   
   }

Ah, ha!  Fixed.
 
 Compare the number of { versus the number of }.

Thanks for the tip.

-Mike

-- 


Morgantown WV

www.EpicRoadTrips.us

__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] margins and other problems with cobbles CSS/HTML

2008-12-21 Thread Gunlaug Sørtun
Mike Breiding - Morgantown WV wrote:

 HTML: http://epicroadtrips.us/ert2.htm

Would be a good idea to move the myriad of inline-styles to the
stylesheet, and get rid of the old HTML attributes that replicate CSS
styling. Will make it easier to tune the layout to appear as you want,
and maintain it.

The old HTML attributes are easy to spot by validating the page as Strict...

http://validator.w3.org/check?uri=http%3A%2F%2Fepicroadtrips.us%2Fert2.htmcharset=%28detect+automatically%29doctype=XHTML+1.0+Strictgroup=0user-agent=W3C_Validator%2F1.606

...and the inline-styles are even easier to spot on their own. Having to
modify styles both in the stylesheet and in the page makes debugging too
time-consuming to bother with at my end, and you already have the
necessary IDs, classes and element-names in source-code and stylesheet
so you can see where to move those inline-styles.

BTW: margins don't fluctuate, but elements move when resized. Also not
sure if you want margins or paddings to create spaces with, since you
have a mix of both.

regards
Georg
-- 
http://www.gunlaug.no
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/