close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

CSS Sculptor Template Issue

Thread began 5/08/2013 11:55 pm by kp006274029 | Last modified 5/11/2013 12:57 am by kp006274029 | 3272 views | 10 replies |

kp006274029

CSS Sculptor Template Issue

Hi,

I created a template using the 2 Column Fixed, Header and Fixed Footer Preset.. Removed the extra column as I only need one and set the footer to fixed full width. I am having a problem when adding an editable region to the content div, as soon as I do the content area jumps to the right.

When I use Site Sculptor to build the site all of the pages are centered except for the index page which as per the template is aligned to the right.

Thanks in advance
k

Sign in to reply to this post

Jason ByrnesWebAssist

please post a link where i can see the problem.

Sign in to reply to this post

kp006274029

link

Hi Jason,

http://concept1.studyit.org.uk/

Best Wishes,
k

Sign in to reply to this post

Jason ByrnesWebAssist

in screen.css, the nav wrapper is set to use 100% width, and the content wrapper is set to use 832px width

#outerWrapper #bottomheadernav {
background-color: #9E99BF;
height: 30px;
margin: 0px auto 0px auto; /* Sets the margin properties for an element using shorthand notation (top, right, bottom, left) */
padding: 0px 13px 0px 13px; /* Sets the padding properties for an element using shorthand notation (top, right, bottom, left) */
width: 100%;
}
#outerWrapper #contentWrapper {
margin: 0 auto 0 auto; /* Sets the margin properties for an element using shorthand notation (top, right, bottom, left) */
overflow: hidden;
padding-bottom: 23px;
width: 832px;
}





you should use the same width for both containers, for IE compatibility, i suggest using 832px:

#outerWrapper #bottomheadernav {
background-color: #9E99BF;
height: 30px;
margin: 0px auto 0px auto; /* Sets the margin properties for an element using shorthand notation (top, right, bottom, left) */
padding: 0px 13px 0px 13px; /* Sets the padding properties for an element using shorthand notation (top, right, bottom, left) */
width: 832px;
}
#outerWrapper #contentWrapper {
margin: 0 auto 0 auto; /* Sets the margin properties for an element using shorthand notation (top, right, bottom, left) */
overflow: hidden;
padding-bottom: 23px;
width: 832px;
}
Sign in to reply to this post

kp006274029

Thanks Jason, I was trying to bottomheadnav across the entire page and have the conent in the center. However think I should be able to use a 3 column layout to achieve the same effect.

Best Wishes,
K

Sign in to reply to this post

Jason ByrnesWebAssist

the header div achieves that by not specifying a height at all, you can do the same in the #outerWrapper #bottomheadernav to force it to full width.

Sign in to reply to this post

kp006274029

You did mean width not height? I'm no longer specifying the width for the #outerWrapper #bottomheadernav at it's now a full width and I've set the #outerWrapper #contentWrapper width back to 832px. However the original issue with the content aligning right has re-appeared. What I do not quite understand is why the issue only appears on the home page, the content pages is based on the same template and CSS and the content area is perfectly centered on these pages.

Sign in to reply to this post

Jason ByrnesWebAssist

yes, sorry, I meant width, not height.

try adding:
<br id="clearFloat" />

before the content wrapper div.

Sign in to reply to this post

kp006274029

Thanks Jason, I added it to the site sculpter template and updated all files and it worked like a charm. Just one question, when I try to make any any changes to the index.html file created by site sculpter and click save (instead of save as) why does the save as template dialog box appear instead of it just saving the file?

Sign in to reply to this post

Jason ByrnesWebAssist

because the index file has 2 template editable regions in the code, but it is not attached to template.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...