close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Menu position in IE7 shifts to the right

Thread began 3/09/2011 9:09 am by ptaylor423109 | Last modified 4/04/2011 7:53 am by Jason Byrnes | 1688 views | 4 replies |

ptaylor423109

Menu position in IE7 shifts to the right

www.pcshub.com is the website. The menu looks great in IE8 but in IE7 the menu is shifted to the right about an inch into the body of the webpage.

Sign in to reply to this post

Jason ByrnesWebAssist

the problem is caused by the text-align: center; applied to the .thrColFixHdr #sidebar1

.thrColFixHdr #sidebar1 {
float: left; /* since this element is floated, a width must be given */
width: 180px; /* the background color will be displayed for the length of the content in the column, but no further */
padding: 5px; /* padding keeps the content of the div away from the edges */
background-color: #FFF;
margin-left: 0px;
text-align: center;
}


add a div around the menu, use an inline style to align the text to the left:
<div style="text-align: left;">
<menu code>
</div>


then edit the CSSMenuWriter/cssmw/menu.css file.


change:'ul#cssmw {
cursor: default;
list-style-type: none;
margin: 0 0 0 0;
padding: 0 0 0 0;
width: 0;
}


to:
ul#cssmw {
cursor: default;
list-style-type: none;
margin: 0 0 0 0;
padding: 0 0 0 0;
width: 0;
text-align: center;
}

Sign in to reply to this post

ptaylor423109

patch did not work

I applied your patch verbatim with copy and paste editing. The behavior is exactly the same as it was.

Sign in to reply to this post

ptaylor423109

I stand corrected

My first attempt had all of the revisions intact but the menu.css had not been saved when the template modifications were applied to all of the webpages. I reapplied the template and it is working as it should in both ie8 and ie7. Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

glad to hear it is working.

Sign in to reply to this post

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...