Hi,
Working with Flare 11 in Windows 7.
I have a question about DIVs. I haven’t used them in a while and I need a refresher on creating a DIV that fixes the <body> width to a max width. I do not want the topic body to be the width of the browser window in full screen.
Please provide me with a CSS example of the DIV entry and where I would put it in the MasterPage.
My brain is working at half speed today, so please type slowly.
Yaacov
Question about DIVs to control the <body> width
-
ChoccieMuffin
- Senior Propellus Maximus
- Posts: 2650
- Joined: Wed Apr 14, 2010 8:01 am
- Location: Surrey, UK
Re: Question about DIVs to control the <body> width
Rather than using a div, couldn't you set the max width property in your stylesheet? (It's possible I've typed too fast for myself, so feel free to shoot this suggestion down if it's not what you're after.)
Started as a newbie with Flare 6.1, now using Flare 2024r2.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
Re: Question about DIVs to control the <body> width
I set a max-width within the <body> tag (in css) to control the width of the text. I'm not sure if you can set it in Skins though.
body
{
etc etc...
max-width:1200px;
min-width:500px;
position:absolute;
text-align:left;
etc.etc..
}
body
{
etc etc...
max-width:1200px;
min-width:500px;
position:absolute;
text-align:left;
etc.etc..
}
Re: Question about DIVs to control the <body> width
Thanks all, After waking up from a coffee induced coma, I just added
div.Alignment
{
max-width:800px;
margin-left: 50px;
}
to my css file and
<div class="Alignment"> to my MasterPage file between <body> </body>.
It's amazing to see how the brain works -when it doesn't.
Yaacov
div.Alignment
{
max-width:800px;
margin-left: 50px;
}
to my css file and
<div class="Alignment"> to my MasterPage file between <body> </body>.
It's amazing to see how the brain works -when it doesn't.
Yaacov