Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

IE css issues

Featured Replies

in your CSS, add

#header {
position:relative;
}

 

Move id=logo from the img tag and add it to the anchor tag around it.

 

Change this property in your #logo

#logo {
position:absolute;
}

 

Change this property in your #head-nav

#head-nav {
margin: 0 0 0 100px;
}

 

And by the way, if this works, don't worry about the membership.

Edited by Pedro

  • Author

Nah didn't work, the menu is displaying awfully and the client wants this fixed....

 

I have added a screenshot to show what I mean, the menu us supposed to be above that content.

 

Any help is appreciated.

post-11777-0-66565800-1310563571_thumb.png

I'm looking at the site, and the changes I mentioned are not there.

Can you add them in please, even if it doesn't fix the problem, it's how you CSS should be.

 

And by adding them in it will be easier to fix the bugs.

 

Let me know when you've added them and I'll have another look.

it does the same in IE8

 

best fix the validation error to start with http://validator.w3.org/check?uri=http%3A%2F%2Fwww.wmimmigration.com%2F&charset=%28detect+automatically%29&doctype=Inline&ss=1&outline=1&group=0&user-agent=W3C_Validator%2F1.1

 

and watch out with Super Cache. I've no idea what it does but it came up on another thread in the last week and changes weren't being reflected when the site was looked at again.

  • Author

Added your code back in Pedro but had to change it slightly cos it messed up the styling for Firefox etc,

From what I see now, do the following:

 

First, in your HTML index file, change from id="Header" to id="header".

 

Second, remove the negative margin top from #head-nav. leave it as:

#head-nav{
height: 60px;
margin: 0 0 0 100px;
width: 100%;
}

 

Third, add overflow:hidden to #MainWrapper:

#MainWrapper{
overflow:hidden;
}

 

Fourth: add this to your css:

#head-nav ul li {
float: left;
}

 

Update and let me know for more debugging

I'd take out width:100%; from #head-nav too. It's a block element, so it's already 100%. If you add width:100%, when you add margin 100px, it becomes 100% + 100px

  • Author

Fixed with one issue left, it's still displaying behind the content and pushed the content up.

 

I have added a top margin but still not working, any ideas?

  • Author

line 174 - close the </div properly. May not solve the problem but could cause others.

 

My Firefox HTML checker didn't see that :| Fixed now though

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.