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.

Form different in IE

Featured Replies

Hello

 

Was wondering if anyone could help me with forms.

 

I want to know how to make the boxes appear below their label in Internet Explorer. (fine in Chrome)

 

In Chrome browser the form looks like I want it to, but doesn't in IE, any ideas how to solve this?

 

Thank you in advance

 

http://www.marble-design.co.uk/contact.html

A quick fix would be to add "margin-left: -200px;" to "#contactform input" & "#contactform textarea". Then use an <!--[if lte IE 7]> conditional comment to pull a separate style sheet with it in.

 

The proper way to do it would be to put the following in your CSS:

p.form {
float: left;
padding-left:160px;
display:inline;
}

Then change the p class of your form from "contactdetails" to "form".

<p class="form"> 
<br/><label for="name">Name:</label> 
<br/><input type="text" name="name" id="name"/> 
<br/> 
etc, etc, etc......... 
</p> 

  • Author

Thanks everso much for help.

 

I decided to use proper way and put in p.form as suggested, now works great in IE! but unfortunately no white background in Chrome or Safari, tried putting in various things, but haven't managed to solve it.

 

Any more ideas would be greatly appreciated

 

Thanks

It may just be a float issue, so you could try deleting "float:left;" out of "p.form" and seeing if that makes a difference.

 

I can't really tell without seeing the problem though, could you upload the new version onto your server so I can have a quick look?

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.