Best Way To Align Footer Elements inside footer [closed] - html

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
Im looking for an easy fix to align footer elements on the same 'line', consider this image:
Although one could argue the elments are linedup it is messy in that im using negative margins, and tables and floats.
Is there a better / easy way to achieve this, WITHOUT having to create extra elements inside footer

How about using a positive margin and divs? Play around with the margin to get it as centered as you want.
<footer style="background-color: lime; border:1px solid red; float:left; width:100%;">
<div style="float:left;">
Foo
<br/>Bar
</div>
<div style="margin-left:50%; float:left; text-align:left;">
Swiggity swooty
<br/>Bring
<br/>Me
<br/>That
<br/>Booty
</div>
<div style="float:right;">
Blah Blah Blajh
</div>
</footer>

Related

How to design progress bar with text of its value? [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 1 year ago.
Improve this question
How can I create something like this progress bar?
Simply nest a div in another div and set the width of the nested div to the progress percentage. You can align the text with text-align:center.
.progress-bar{
background-color:#EAECEF;
}
.progress-bar .bar{
background-color:#314EFF;
color:white;
text-align:center;
}
<div class="progress-bar">
<div class="bar" style="width:49%">
49%
</div>
</div>

(html/css) button not following scale of the site [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
Improve this question
So uhm I am VERY new here at StackOverflow and html/css in general.
So my problem is this: When visiting the website, the button called "Zeig mir mehr!" isn't scaled properly with the size of the browser. To get you an idea of what I mean here are some screenshots: This is how it looks like with the first pixel ratio (and how it should look like from the positioning)
now to the broken part: different pixel ratio, button overlaps with text/animation
Here is the html code:
<div class="container">
<span class="text1">Kevnkkm /Startseite </span>
<span class="text2">Willkommen!</span>
<h1>THIS PORTFOLIO WEBSITE WHICH IS USED FOR PERSONAL USAGE ONLY IS STILL HEAVILY UNDER CONSTRUCTION!</h1>
</div>
<section class="banner">
<div class="button" style="top: 500px">
Zeig mir mehr!
</div>
</section>
and this is the stylesheet:
.button{
top: 58%;
left: 50%;
position: absolute;
width: 100%;
Thanks in advance! (Also sorry for the facepalms I might cause xd)
The reason this happens is because you are using a set pixel amount for the button. Ideally, a button like that would be after the text in HTML so it would move with the text, instead of using position: absolute.
You should move the button element into the container element after the red h1. You can then replace the CSS for .button for a margin-top: 32px

CSS Grid or Columns? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
So I have already got my mobile version of my website laid out (see sketch below)
but now I am having trouble trying to achieve my envision goal for my desktop version. I did a quick sketch on paint to give you guys an idea of what I have so far.
The problem is though I want to keep my picture and textbox next to each other in the middle of the entire website. The paragraph and footer I can do myself. Is just I don't know what is the best solution to do to have my picture on the left side and the text on the right side while I can keep everything else on the bottom and do whatever I want there.
I want the picture (left side) and text (right side) to be like in the middle of the page.
put your picture and text in a div respectively and give that div below css
.parent{
display:flex;
justify-content:center;
flex-wrap:wrap;
}
.parent div{
height:200px;
width:300px;}
.img img{
width:100%;
height:100%;
}
<div class="parent">
<div class="image">
<img src="https://cdn.colorlib.com/shapely/wp-content/uploads/sites/12/2016/03/photo-1447834353189-91c48abf20e1-1-1.jpg"
alt="">
</div>
<div class="text">
<h2>About Us</h2>
<p>Usage of the Internet is becoming more common due to rapid advancement of technology and the power of
globalization. Societies are becoming more inter-connected. Thoughts from different</p>
READ MORE
</div>
</div>
}

Border crossing through links when the liks are floated to the left [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
So, I am coding website and I have a toolbar with links and some text floating to he left and the container (the class names toolbar-container) has a border on the bottom but the border is crossing through the text. I want everything to look the same, but I want the border below. The repository containing all the code is at: https://github.com/DigitalBlast/Digital-Blast/
HTML:
<div class="toolbar-container">
<div class="toolbar-container-logo">
Digital<span class="toolbar-container-logo-sub">Blast</span>
</div>
<div class="toolbar-container-home" onclick="window.location.href='home/index.html'">
<h4>Home</h4>
</div>
<div class="toolbar-container-software" onclick="window.location.href='software/index.html'">
<h4>Software</h4>
</div>
<div class="clear-left"></div>
</div>
CSS:
.clear-left {
clear: left;
}

How to set positions of form in html? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am trying to set positions of forms. My teacher says this can be achieved using <Frameset> tag but this tag creates borders between the two frames and I don't want those borders. I have basically have 2 forms , one contains basic text and the other one contains some images. I want both these forms to display side by side not one below the other. Is there any way to achieve this?? please help.
Here you go
http://fiddle.jshell.net/FBXZC/
HTML
<div class="wrapper">
<div class="halfwidth">
I am One Half
</div>
<div class="halfwidth">
<img src="http://www.metal4.de/wp-content/uploads/2012/09/steel-panther.jpg" alt="">
</div>
</div>
CSS
.halfwidth {
display: block;
width: 50%;
float: left;
}
PS: get yourself a new teacher or go complain about him, he obv. has no idea of anything.
You can use css to style forms.
try this fiddle for the sake of demo.
form
{
background-color: red;
}
Welcome to SO and I'm glad to see a new student in web development. I don't want to go against your teacher, for he/she is probably teaching you the behaviors of frameset, but frameset is not the best way.
This is what you should do :
<div class="wrapper">
<div class="left-side"></div>
<div class="right-side"></div>
</div>
DEMO
I suggest you to use Dreamweaver to give you the exact position for each element. In general tags define the positions.