Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. JavaScript
  4. Why is my last input box not centering (class: powerwall-battery-input)?

Why is my last input box not centering (class: powerwall-battery-input)?

Scheduled Pinned Locked Moved JavaScript
questionalgorithmsdata-structures
2 Posts 2 Posters 10 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    WannaBeAWebDev
    wrote on last edited by
    #1

    Hello, I am trying to teach myself web development and I found a form I wanted to duplicate on a roof construction website. All my input boxes are centered except the last one that's a bit off and I cannot figure out why. The class is "powerwall-battery-input" Please don't be like stack overflow and constantly criticize the format of my question because it has gotten old over there, which is why I am here. Thanks Here is my code:

        First Name
        
        
        Last Name 
        
    
        
        Address Selection\*
        
        
        
    
        
    
        
    
        
        
    
        
    
        
    
          Roof Complexity Type\*
          Select an Option
            Simple
            Moderate
            Complex
    
    R 1 Reply Last reply
    0
    • W WannaBeAWebDev

      Hello, I am trying to teach myself web development and I found a form I wanted to duplicate on a roof construction website. All my input boxes are centered except the last one that's a bit off and I cannot figure out why. The class is "powerwall-battery-input" Please don't be like stack overflow and constantly criticize the format of my question because it has gotten old over there, which is why I am here. Thanks Here is my code:

          First Name
          
          
          Last Name 
          
      
          
          Address Selection\*
          
          
          
      
          
      
          
      
          
          
      
          
      
          
      
            Roof Complexity Type\*
            Select an Option
              Simple
              Moderate
              Complex
      
      R Offline
      R Offline
      rnbergren
      wrote on last edited by
      #2

      I am not a CSS expert. and this is in the javascript forum. But what the heck. Your issue might be the width setting about width overriding some other areas. width: 50%; //this is all over the place. You might specific in your powerwall-battery-input the width variable as well. Just a thought. reminder I am not a CSS person.

      To err is human to really elephant it up you need a computer

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups