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.

div moves down in IE

Featured Replies

Hi all,

 

I'm struggling with a piece of code, where the div moves down.

 

#topright
{
float:right;
margin-right:250px;
margin-top:20px;
width:350px;
}
#nav-topright ul
{
list-style: none;
padding: 0;
margin-top: 0px;
} 
#nav-topright li
{
float: left;
margin: 0 0.15em;
padding-left: 20px;
padding-right: 20px;
} 

#search{
float:left;
margin-left:0px;
margin-top:35px;
padding-left:20px;
}

 

<div id="topright">
  <div id="nav-topright">
<ul>
	<li>Call us free<br /><span class="bigbold">0800 999 9299</span></li>
	<li>Find us on <br /><img src="images/logo_facebook.gif" /><img src="images/logo_twitter.gif" /><img src="images/logo_youtube.gif" /></li>
</ul>  

<div id="search">Find your nearest store<br />
<form name="input" action="html_form_action.asp" method="get">
<input type="text" name="user" />
<input type="submit" value="Submit" />
</form> </div>
</div>
</div>

 

Any help would be greatly appreciated.

Thanks,

Kim

Try putting a CSS reset in first. Google for it, eric meyers is a popular one.

 

 

Kyle

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.