Jump to content


Photo
- - - - -

set stextbox shortode width

stextbox

Best Answer Rob , 23 August 2013 - 05:43 PM

Ah, Okay.  Wrap the content within a unique class and set the width to that class.

 

You  can also place that within a responsive grid element. See this: http://support.pagel...us/grid-system/

 

In a grid element, you can set the width of the element it sits within. You could add elements on either side of it (to center it) or to one side or the other, and set the widths of each so that your width and position are as desired.

Go to the full post


  • Please log in to reply
5 replies to this topic

#1 dreamsight

dreamsight

    Super Member

  • Members

  • 159 posts
  • LocationCheltenham
  • Framework Version:Developer
  • Country: Country Flag

Posted 21 August 2013 - 04:34 PM

[stextbox id="alert"]

What's the easiest way to set the width?

 



#2 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 21 August 2013 - 09:40 PM

Hi,  I'm sorry, but the brief questions don't really explain what you're doing and in which product? DMS or Framework?



#3 dreamsight

dreamsight

    Super Member

  • Members

  • 159 posts
  • LocationCheltenham
  • Framework Version:Developer
  • Country: Country Flag

Posted 22 August 2013 - 08:59 AM

Hi Rob, sorry.

Framework site.

I'm using [stextbox id="alert"] My content... [/stextbox]

I want to set the width of this, at present it's 100% of the page width.

Thanks



#4 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 23 August 2013 - 05:43 PM   Best Answer

Ah, Okay.  Wrap the content within a unique class and set the width to that class.

 

You  can also place that within a responsive grid element. See this:

Please Login or Register to see this Hidden Content

 

In a grid element, you can set the width of the element it sits within. You could add elements on either side of it (to center it) or to one side or the other, and set the widths of each so that your width and position are as desired.



#5 dreamsight

dreamsight

    Super Member

  • Members

  • 159 posts
  • LocationCheltenham
  • Framework Version:Developer
  • Country: Country Flag

Posted 27 August 2013 - 08:43 AM

I'll have a play with the grid system, thanks Rob



#6 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 29 August 2013 - 08:45 PM

You're very welcome!