How is that not semantic?

On Thu, Jun 13, 2013 at 11:10 AM, zaphod <[email protected]>wrote:

>
> correct, I referred to them incorrectly, they are classes.
>
> I still believe they are not semantic especially when you have to start
> using multiple bootstrap classes like
>
> <div class="span9 offset2">
>
> or
>
> <table class="table table-striped table-bordered table-condensed">….
>
>
> On Jun 13, 2013, at 10:04 AM, Maureen <[email protected]> wrote:
>
> >
> > Those aren't spans.  They are bootstrap classes that "span" columns in
> > the grid.  Named badly perhaps but very different from a <span> tag.
> >
> > On Thu, Jun 13, 2013 at 7:44 AM, zaphod <[email protected]>
> wrote:
> >>
> >> I would suggest that you also check into a css preprocessor so that you
> can clean up your html.  Bootstrap will have you putting a bunch of span
> tags into your divs which I personally can't stand.  If you use a
> preprocessor like LESS or SASS, you can change it from:
> >>
> >> <div class="row">
> >>  <div class="span3">My Column</div>
> >>  <div class="span9">My other Column</div>
> >> </div>
> >>
> >>
> >> to something like:
> >>
> >> <div class="myForm">
> >>  <div class="label">My Column</div>
> >>  <div class="value">My other Column</div>
> >> </div>
> >>
> >> in this example, my sass file would look like this:
> >>
> >> .myForm
> >>  @extend .row
> >>    .label
> >>      @extend .span3
> >>    .value
> >>      @extend .span9
> >>
> >>
> >> That way if you need to change the layout, you're not hunting down span
> classes in your html and your css remains more semantic.  You'll also not
> be tied to bootstrap this way.
> >>
> >>
> >>
> >>
> >> On Jun 13, 2013, at 9:07 AM, Maureen <[email protected]> wrote:
> >>
> >>>
> >>> Just go here: http://twitter.github.io/bootstrap/ - read the getting
> >>> started section and proceed from there.  It's major league easy.
> >>>
> >>> On Thu, Jun 13, 2013 at 7:03 AM, Larry C. Lyons <[email protected]>
> wrote:
> >>>>
> >>>> Anyone have suggestions on how to get started with Bootstrap?
> >>>>
> >>>> thx,
> >>>> larry
> >>>
> >>>
> >>
> >>
> >
> >
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-community/message.cfm/messageid:364517
Subscription: http://www.houseoffusion.com/groups/cf-community/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-community/unsubscribe.cfm

Reply via email to