How to remove extra blank space from website? [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 6 years ago.
Improve this question
I have an inhouse developed website for doing Home Inspections www.e-ghar.com. But I am facing a issue on its home page. The home page shows an extra blank space on the right side when viewed on a smaller screen. Can any expert of CSS help me in identification of issue?

There is two way to resolve your problem.
quick fix
body {
overflow-x: hidden;
}
Or actual fixes
.tt-wrapper {
overflow: hidden;
}

Try to something like this.
#fwslider {
overflow-x: hidden;
}

Looks like all you need is box-sizing: border-box.
box-sizing: border-box includes the padding and border in the width.
* {
box-sizing: border-box;
}
If you do this, you will have to change your .product1_of_3 to:
.product1_of_3 {
float: left;
width: 29.3333%;
padding: 2%;
margin: 0 2%;
background: #ffffff;
}

Try this.
#fwslider {
overflow: hidden;
}

Related

Icon Image Keeps Repeating in Background [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 5 years ago.
Improve this question
CSS
This icon image in on my recently installed forums style keeps repeating, creating an obnoxious background that is too noisy and distracts from the actual words.
Here is a copy of that particular element's CSS:
element {
}
ul.topiclist li.row dl {
padding: 2px 0;
}
ul.topiclist dl {
font-size: 10px;
}
ul.topiclist dl {
position: relative;
}
.clearfix, fieldset dl, ul.topiclist dl, dl.polls {
overflow: hidden;
}
dl.icon {
background-position: 95% 15%;
position: relative;
}
.topic_read_mine {
background-image: url("./images/icons/topic_read_mine.png");
}
I was able to retrieve this from the browser inspection tool # http://www.gaymerscommunity.com/viewforum.php?f=4
I would like for the icon to display only once. It is meant to be an indicator if the forum was read/unread.
Answered Below
added 'background-repeat: no-repeat' to the ul.topiclist dl
Also found 'dl.icon' and adjusted the background-position to display on the right.
Thank you.
Css Code to fix that.
ul.topiclist dl {
background-repeat: no-repeat;
}
background-repeat: no-repeat;
There is no PHP in here

Removing dots from a navbar [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 6 years ago.
Improve this question
I found this wonderful navbar online but I don't find the line in the code to remove the dots.
The current Looking: https://gyazo.com/0531847d45ebfc31d7a15b09b5404c9f
JSFiddle: https://jsfiddle.net/ujzge3sg/
#import url(http://fonts.googleapis.com/css?family=Open+Sans:700);
nav {
display: block;
width: 100%;
}
.navbar {
background: #f96e5b;
width: 100%;
}
.navbar-fixed-top {}
.navbar ul {
margin: 0;
padding: 0;
line-height: 1;
display: block;
zoom: 1;
}
Here's a tutorial of list-style-type, or in your words, those are the black dots.
Just do list-style-type: none; on the li list. It would help if you would learn HTML and CSS before asking a question about it.
Update
After seeing the full HTML and CSS, I saw the 'problem'. There was an after adding squares after every li. To remove the squares, just delete from line 68-78 in the JSFiddle.
Here's an updated version: https://jsfiddle.net/d7Lrartp/

how to avoid design break up in html [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 7 years ago.
Improve this question
This is what I have so far:
body {
padding: none;
background: green;
}
.layoutTable {
width: 100%;
height: 100%;
border: 2px solid black;
position: fixed;
background: red;
margin: 0;
padding: 0;
}
.bodyStyle,
html,
.layoutTable {
margin: 0px;
padding: 0px;
}
<table class="layoutTable">
<tr>
<td>
<!-- japaneseclass Schedule -->
</td>
</tr>
</table>
The output:
I ran this code in IE11 and there is a gap between body and table, I don't know how to remove this, and the design breaks on zoom.
All HTML document by default have a margin surrounding all four corners of it. As desirable as margins are in most cases, sometimes they with your design, such as a header bar that spans the entire page horizontally. In this tutorial I'll show you the two techniques most commonly used to remove the document's margins, so content presses right against the edge of the window.
<body bgcolor="green" style="padding:0;margin:0">
Codepen http://codepen.io/noobskie/pen/avVQQy?editors=110
This seems to remove the gap between your elements all you need to do was add padding:0; & margin:0; to the body tag i'm not sure what you mean when you say the design breaks whenever you zoom though can you explain?
Also it seems redundant to have a separate class for body ie bodystyle(assuming thats what your using that for) when you can just use body as a selector itself
I think you just forgot to attach your bodyStyle class in your CSS to the body tag in your HTML...
<body bgcolor="green" style="padding:none;" class="bodyStyle">
It's always a good idea to do a 'browser reset' as all browsers treat this gap differently. That's why you should add the following css:
* {
margin: 0;
padding: 0;
}

Website display issue in Firefox, all align to the right, other browsers look fine [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 8 years ago.
Improve this question
Can anyone help to check on this site?
http://chanbaneng.com/demo/
When in Firefox, all the content gets pushed to the right. In all the other browsers I tried (Chrome, Safari, and IE), it works just fine.
Is there anything wrong with the code?
Used to this way
ul.bjqs{
overflow: hidden; // remove this line in your css
}
==========================
your second problem solution is this
now define this css in your style sheet
#container{clear:both;}
Just change this class and set it again because its slider
ul.bjqs {
position: absolute;
list-style: none outside none;
margin: 0px;
overflow: hidden;
display: none;
}
I am sure there will be some calculations will be done on bases of resolutions so it will better to put in absolute position and then do other stuffs this will result in to same for all browsers
Please modify this
<ul class="bjqs" style="height: 380px; width: 100%; display: block;">
to
<ul class="bjqs" style="height: 380px; width: 100%; display: block; overflow: -moz-hidden-unscrollable;">
The simplest way I found to solve this without rewriting your code is:
Go to your li a selector (line 73) and remove height: 28px;
You a tags already get their correct height and setting it manually messes up with the flow of the display.

How do I stop my website's header from moving? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Improve this question
See http://www.levomedia.com/contact-us/
If your screen is of a good size there might not be a scroll so you will have to zoom in... but when there is a scroll and you move down the page, my theme forces my header to travel with you, which I would like to remove if possible.
What would be the best way of stopping this from happening, so that it stays in the same position and does not travel with you?
The Best thing would be to remove the relevant Js code , which is causing this.
I have found this
<script src="http://www.levomedia.com/wp-content/themes/sensitive/js/jquery.stickymenu.js?ver=3.6" type="text/javascript">
js code file inclusion in your page, just remove it, everthing should works fine, as you intend to.
this will also improve your page rendering time and efficiency :)
Happy Coding :)
you need to remove the css attribute :
position: fixed
Which you had used on the header.
Stop using the jquery.stickymenu.js script and things gonna be ok. It applies position:fixed to your header, when you scroll the page down and you don't need it.
Like this
please add position:fixed, top:0; width:100%; in .navbar-wrapper selector
and
please add position:relative; top:66px; in this selector .type-post, .type-post .post, .type-page, .type-page .post
CSS
.navbar-wrapper {
background: url("images/wild_oliva.png") repeat scroll 0 0 #EEEEEE;
margin-bottom: 20px;
padding-bottom: 0;
padding-top: 20px;
position: fixed;
top: 0;
width: 100%;
z-index: 1;
}
.type-post, .type-post .post, .type-page, .type-page .post {
margin: 0 !important;
padding: 0 !important;
position: relative;
top: 66px;
}
In your case, Js is adding the position:fixed attribute in topmenu once you scroll down.So you can do this by css.
convert this :
<div id="topmenu" class="container" >
to this:
<div id="topmenu" class="container" style="position:relative !important" >
If you dont want inline Css Make a class like this:
.container{
position:relative !important
}