logo
down
shadow

Buttons won't align properly in Firefox


Buttons won't align properly in Firefox

By : Tutsek Robert
Date : November 17 2020, 11:55 AM
To fix the issue you can do Rails 4, Ruby 2, Bootstrap 3, DataTables 1.10 , you set as like this to set
code :
.fg-button {
    float: left;
    cursor: pointer;
    margin: 0;
    padding: 0;
    position: relative;
    text-align: center;
    text-decoration: none !important;
}


Share : facebook icon twitter icon
div's wont align in IE 10 but work fine in Firefox

div's wont align in IE 10 but work fine in Firefox


By : tomekk88
Date : March 29 2020, 07:55 AM
This might help you I have a form that looks like this, , Changing this:-
code :
<div id="top" style="float:&quot;left&quot;; width: 286px;" width: "270px" height: "292px">
<div id="top" style="float:left; width: 286px;" width: "270px" height: "292px">
Texts wont align properly to center

Texts wont align properly to center


By : infoDZTA
Date : March 29 2020, 07:55 AM
I hope this helps you . Here's an updated fiddle with a fix: JSFiddle
The changes are noted below:
code :
#container ul {
  /* text-align: center;  moved to li */
  /* word-spacing: 150px; removed, this was causing issue as some words are longer */
  width: 100%;
  display: table;        /* added  */
  table-layout: fixed;   /* added  */
  margin: 0;
  padding: 0;
}

#container ul li {
  display: table-cell;   /* added  */
  width: auto;           /* added  */
  text-align: center;    /* moved */
  /* display: inline; removed */
  font-family: "Open Sans", Helvetica, sans-serif;
  font-size: 18px;
  font-weight: bold;
}
Interface buttons and other functions wont work properly

Interface buttons and other functions wont work properly


By : Angela Faro Lina
Date : March 29 2020, 07:55 AM
I hope this helps . The issue you describe is caused by your handler method. The way the FXMLLoader works is that it registers a handler on the control which invokes the method you specify.
So
code :
<Button fx:id="bBack" ... onMouseClicked="#setDateBack" ... />
public void setDateBack(MouseEvent event) {

    if (data.getValue() == null) {
        System.out.println("Introduceti data!!!");
    }

    if (data.getValue().equals(LocalDate.of(2014, 8, 15))) {

        ld = data.getValue();

        System.out.println("" + ld);
        sDate.setText(ld.toString());

        System.out.println("" + ora.getValue());
        labelOra.setText(listaOra.get(0).toString());

        rewindSky(Sirius, -35.5, -4.5);
        rewindSky(Procyon, -35.5, -4.5);
        rewindSky(Beetlegeuse, -35.5, -4.5);
        rewindSky(Polux, -35.5, -4.5);
        rewindSky(Capella, -35.5, -4.5);
        rewindSky(Regulus, -35.5, -4.5);
        rewindSky(Rigel, -35.5, -4.5);
        rewindSky(Aldebaran, -35.5, -4.5);
        rewindSky(Castor, -35.5, -4.5);
        rewindSky(Mirphak, -35.5, -4.5);

        System.out.println("" + Sirius.getLayoutX());
        System.out.println("" + Sirius.getLayoutY());
    }
}
Why wont this align properly? CSS

Why wont this align properly? CSS


By : KISST Soft
Date : March 29 2020, 07:55 AM
like below fixes the issue How can I make the space out properly? Theres a huge gap when the screen is resized as shown in the red circle. I would like it to align properly with the other div's instead of what it is doing now. ! , Try setting the same height to the blocks, this will work.
code :
.services .service {
  height: 250px;
  ...
}
#howItWorks h2 {
  margin-bottom: 30px;
}

.services {
  position: relative;
}
.services .service {
  height: 250px;
  padding: 30px 15px 30px;
  text-align: center !important;
  z-index: 1;
}
.services .service .service-icon {
  color: #292929;
  margin-top: 15px;
  -moz-transition: color 0.3s;
  -o-transition: color 0.3s;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
}
.services .service p {
  margin-bottom: 20px;
  max-width: 385px;
  margin: 0 auto auto;
}
.services .service h3 {
  font-size: 1.2em;
  font-weight: bolder;
  position: relative;
  padding: 10px 0 15px;
  margin-bottom: 10px;
  text-transform: capitalize;
}
.services .service h3:after {
  content: "";
  width: 40px;
  height: 1px;
  background: #dee8ed;
  left: 50%;
  margin-left: -20px;
  position: absolute;
  bottom: 5px;
}
.services .service:hover {
  z-index: 2;
  -moz-box-shadow: 0 0 30px #dcdcda;
  -webkit-box-shadow: 0 0 30px #dcdcda;
  box-shadow: 0 0 30px #dcdcda;
  background: #0084DD;
  color: white;
}
.services .service:hover a {
  color: orange;
}
.services .service:hover .animate-icon {
  color: white;
  -webkit-animation: rubberBand 1s 0.2s ease both;
  -moz-animation: rubberBand 1s 0.2s ease both;
  -ms-animation: rubberBand 1s 0.2s ease both;
  -o-animation: rubberBand 1s 0.2s ease both;
  animation: rubberBand 1s 0.2s ease both;
}
@media screen and (max-width: 992px) {
  .services {
    margin-top: 35px;
  }
}
@media screen and (max-width: 992px) {
  .services .service .service-icon {
    margin-top: 5px !important;
  }
}
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">

<section id="howItWorks">
  <div class="container">
    <div class="row">
      <div class="col-md-12">
        <h2 class="section-heading">How it Works</h2><br>
      </div>
    </div>
    <div class="services">
      <div class="row">
        <div class="service col-md-3 col-sm-6 col-xs-12" >
          <div class="fa-4x service-icon icon icon-Book animate-icon"></div>
          <h3>Step one</h3>
          <p>Tell us the textbooks<br> you'd like to sell<a href="sell.html"> here.</a><br><br></p>       
        </div>
        <div class="service col-md-3  col-sm-6 col-xs-12  " >
          <div class="fa-4x service-icon icon icon-Like animate-icon"></div>
          <h3>Step two</h3>
          <p>Get an instant quote for all your textbooks.</p>
          <br>
        </div>
        <div class="service col-md-3  col-sm-6 col-xs-12">
          <div class="fa-4x service-icon icon icon-Truck animate-icon"></div>
          <h3>Step three</h3>
          <p>Mail us your textbooks for <i>free</i> using a prepaid shipping label we send you for use with Canada Post or by courier.</p>
        </div>
        <div class="service col-md-3 col-sm-6 col-xs-12">
          <div class="fa-4x service-icon icon icon-Dollars animate-icon"></div>
          <h3>Step four</h3>
          <p>Get paid by an Interac E-Transfer or Paypal once the textbooks are received by us.</p>
          <br>
        </div>
      </div>
    </div>
  </div>
</section>
Radio buttons wont align to the left

Radio buttons wont align to the left


By : Bryan88
Date : March 29 2020, 07:55 AM
Any of those help Theres a lot of work an little bugs in your code. I will focus on the radio buttons. 2 main errors.
1- You are setting the radio buttons width to 50% with:
code :
input {
    width: 50%;
    display: block;
    margin: 10px 0px;
}
input[type="radio"]{
    width: auto;
    display: inline;
}
label {
    display: block;
}
.feedback-background{
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    position: absolute;
    top: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feedback-content{
    width: 500px;
    height: 600px;
    background-color: white;
    border-radius: 4px;
    padding: 20px;
}

input {
    width: 50%;
    display: block;
    margin: 10px 0px;
}

label {
    display: block;
}

input[type="radio"]{
    width: auto;
    display: inline;
}
<div class="feedback-background">
    <div class="feedback-content">
        <img src="E:\IIT\Lectures\WEB\coursework1\Images\feedbackimg1.jpg" alt="Givefeedback" style="width:100px;height:100px;">
        
        <form action="">
            Name:
            <input type="text" placeholder="Name">
            E-Mail:
            <input type="text" placeholder="E-mail">
            What do you think about us?<br>
            <textarea rows="6" cols="33" "name="comment"></textarea>
            <br>
            How would you rate us?
            <br>
            
            <label><input type ="radio" name="rating" id="rating" value="Excellent">Excellent</label>
            <label><input type ="radio" name="rating" id="rating" value="Very Good">Very Good</label>
            <label><input type ="radio" name="rating" id="rating" value="Average">Average</label>
            <label><input type ="radio" name="rating" id="rating" value="Poor">Poor</label>
            <label><input type ="radio" name="rating" id="rating" value="Extreamly Poor">Extremely Poor</label>
            <br>
            <br>
            
            <a href="#" id="btn1">SUBMIT</a>
        </form>
    </div>
</div>
Related Posts Related Posts :
  • Bootstrap3 - Removed container-fluid
  • Bootstrap framework not responsive for asp.net webform
  • How to align two inner divs inside outer absolute positioned div that has fixed width in which both divs have the same w
  • Div to ignore html tags
  • Prevent caching and stale content with a static web site
  • Is there a way to change the whole document with one selector in CSS?
  • why cant I click om my navigationbar links?
  • Is there a CSS/HTML way to cut multiple shapes out of the top/bottom of a div?
  • css border around multiple links/images
  • 'No data was received in the uploaded file', but file is not empty
  • How input boxes save previous entries
  • AMP carousel direction change
  • Bootstrap multiple carousel not working on thumbnails click
  • Is there a way to put a permanent space into an input field?
  • Html boxes not displaying properly
  • How can I change a variable in Jekyll _config.yml dynamically?
  • How can I prevent DIVs from overlapping a right floated image?
  • Eclipse and .tml files highlighting not working
  • Footer is not in the bottom of the window, (phonegap jquery mobile app for windows mobile)
  • How to put div over another
  • How to use glyphicons in bootstrap 3.0
  • Wordpress page links not working
  • How Do I Use CSS to Set the Color of An ALink?
  • Webpage doesn't scroll smoothly on screen
  • YouTube iframe, browser looks for file locally
  • html displaying inline image
  • Font acting differently on IE and Firefox
  • Encoding and decoding of the character references
  • An Image Button navigate to another site html/css
  • IE8 "Save Target as ..." won't display for block elements
  • Image hover transition for span - CSS
  • How to apply min and max on textarea?
  • How to draw multiple horizontal lines (Notebook Paper effect) using css?
  • Table Printing Issue: Gaps in top and Bottom Border of th Elements
  • grouping elements with div and applying stylesheet for that group
  • Click <div> to expand, then click again to shrink - Its expanding, just not shrinking
  • CSS - How can I center a <script>'s output?
  • Django's template variable gets interpreted as HTML
  • ngx datatable vertical scroll with rowheight set to auto
  • How to make input text border with CSS when it's OnFocus
  • Anyone know of a calendar web widget for my website I could use?
  • How does Bootstrap manage to use fixed positioning for navbar on iOS?
  • Centered text in fully clickable table cell
  • Compare HTML and HTML5
  • steps of creating webpage in bangla
  • css root element margin
  • What is the point of using absolute positioning in CSS?
  • Responsive solution for long URLs (that exceed the device width)
  • Divs don't collapse as they should - media queries
  • QTreeWidgetItem display html
  • Testing html/css image on local from jfiddle
  • long attribute value of HTML
  • Why my svg picture is truncated at the bottom when embedded in html
  • Display CSS: some divs fixed, some flexible (2)
  • How to append href strings with variables in html with PHP?
  • css - Why is there a big white space between text lines?
  • div image position fixed + scroll
  • Hide specific elements from html using css
  • how to align the arrow in menu item?
  • How do I create a trapezoidal button using CSS?
  • shadow
    Privacy Policy - Terms - Contact Us © ourworld-yourmove.org