Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x

CSS

40K

Solutions

15K

Contributors

Cascading Style Sheets (CSS) is a language used for describing the look and formatting of a document written in a markup language. Usually used to change web pages and user interfaces written in HTML, it can also be applied to any kind of XML document. CSS is designed primarily to distinguish the content of a document from its presentation.

Share tech news, updates, or what's on your mind.

Sign up to Post

http://utahkidsfoundation.com/howyoucanhelp

See the grey border around the document (circled in red)?  How can I get rid of it?

I think the border might be part of the styling for the linked google document I have embedded in the webpage.  So I need to wait to attempt the removal until AFTER the embedded page has completed loading.

Could use some help.  I am thinking about a jQuery solution and prefer that.

grey border kill
0
On Demand Webinar: Networking for the Cloud Era
LVL 10
On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Want to switch off some HTML-Code via CSS:
HTML
      <div class="display-breaks">
      <p> </p>
      <p> </p>
      </div>

Open in new window

CSS
.display-breaks { display: none !important; }

Open in new window

The display:none has no impact on the iPhone  display with Safari, but works on the iPhone with Firefox. Any idea why?
0
hello, our aging hotel software fidelio suite8 is running reports from an old Crystal Report ver 8.5 / 2012 runtime also (?).  I can send simple formatted email / reports made from Crystal in *.rpt format.

I would however like to use the latest (or at the very least, modern) newsletter formats with css etc. I would like to find out whether this be possible? Inline? or html?

My bottom line is to send a welcome letter / goodbye letter - the email format / structure will not change much. The email server is in-house.

Thanks for helping, Clifford
0
Hi all,

I've been trying to build the front end of a website using bootstap. So far the site seems to look okay in Chrome and Firefox, but not on Internet Explorer.

The site is here  - http://www.orangojapan.com/

the explorer vs chrome/firefox
The image shows how the page looks in explorer (left) against how it looks in Chrome/Firefox (right). The second row is all squashed and isn't running across all 12 columns as I specified. Also the  Bootstrap cards are not displaying properly (too much empty white space at the bottom of the cards).

The code for the initial part of the site with the row not displaying properly is displayed below:
<!-- HEADER1 --> 

 <section id="header1"><!-- header starts - this has all the information relating to the header-->
 <div class="container"><!-- section starts --> 
 	  		
			
			
			<div class="row"><!-- row starts --> 
				
	  	    				<div class="col-sm-4 header-right float-right">
							<form>
							<h4>Find a teacher</h4>
							<div class="form-group">
                              
							  <label for="exampleSelect1">Study Language:...&nbsp;&nbsp;</label>
                              <select class="form-control" id="exampleSelect1">
                                <option>1</option>
                                <option>2</option>
                                <option>3</option>
                                <option>4</option>
                                <option>5</option>
                              

Open in new window

0
Hi all,

I'm trying to build a website using Bootstap v4 beta.

Something seems to have happened to my float right command since I upgraded to v4 beta - it appears not to work.

I have a section ID and in it I have a form. I want to move the form to the right of that section. Currently it positioned to the left. This can be seen here:

http://www.orangojapan.com/index.php

I tried a couple of things to get it to move to the right:

In my code I have  tried the following:

<div class="col-sm-4 header-right float-right">

Open in new window


I was hoping float-right was a bootstrap class which I didn't have to define, but it didn't seem t work. So I defined a class 'header right' in my CSS file. In that class I specified:  float:right;

 
 #header1{
 background:url('../img/homepageimage.jpg') center center no-repeat;/*Image we display in the header - top part of the webapge*/
 background-size:cover; /*used to cover the entire page*/
 height:100%;
 color:#000000;
 display:flex;
 align-items:right;
 
 
 }
 
 #header1 img{
 padding:0 0 0px;
 width:80%;
 }
  
  
 #header1 .header-bottom{
 background:rgba(255,255,255,0.7);
 padding-top:20px;
 margin-top:20px;
 border-radius:10px;
 
 }
  
  
 #header1 .header-right{
 background:rgba(0,0,0,0.5);
 padding:30px;
 margin-top:80px;
 border-radius:10px;
 color:#FFFFFF;
 float:right;
 
 }

Open in new window



None of these seemed to work. The full code for the section ID header1 is shown below.
Any suggestions / advise much appreciated.

Many thanks

Adam



Open in new window

0
I have this code and I need a css class to place a  red asterisk in front of label. For example *Field Rep.
The  asterisk should be bold

                  <div class="medium-3 column float left">
                        <label>
                            Field Rep
                        
                        
                        <asp:DropDownList ID="ddlFieldRep" runat="server">
                            <asp:ListItem Text="Select Field Rep" Value="0" Selected="True" />
                            <asp:ListItem Text="xxxx" Value="1" />
                            <asp:ListItem Text="llll" Value="2" />
                            <asp:ListItem Text="mmmm" Value="3" />
                        </asp:DropDownList>
                        
                        </label>

                    </div>

Open in new window

0
Here is the page: http://app2.goebase.com/methodologies/action_learning_fullresource.asp?pass=1

I want to remove the amount of space above the <ul> lists.

Is there a setting to remove that space?
Or is the problem with the default space of the <p> tag sections?
0
http://dev2.magickitchen.com/#popular  the photo here slides down, revealing text. The designer wants this, a short orange line under the H3 tag:

popular.JPG
I am not sure how to do this... a bottom border? Of course it needs to be responsive. Thanks in advance for your help
0
Hi ,

I am creating a simple component in Angular 4

-my-account  // angular project folder
--app
----account  // angular component folder
-----css
-----js
-----images
-----account.component.html

//css , js , images are folders I created and put files.


Now I want to use css files from the above css folder in account.component.html.  How do I access ?


Here is my non working code

account.component.html
----------
<head>
 <Link href="css/datatables.min.css" rel="stylesheet" type="text/css"/>
 ....
 </head>
 
 
 I'm getting error
 zone.js:2744 GET http://localhost:4200/css/datatables.min.css 404 (Not Found)

please note this file is already present in css folder.
 
Do you have any suggestion how to access css files in component html   ?  what is the proper way to fix ths issue ?
Need help
1
Dear,
I want to have the effect to disable further update (like to show gray background color), to whole page, when it's being idle for a while, by these

        .overlay {
            background: #e9e9e9;
            display: none;
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            opacity: 0.5;
        }
$(function () {
    // 1000ms=1s, here test use 10s, you could modify. 
    var time = 5000;
    var set = setInterval(function () {
        $(".overlay").show();
        $("#dialog").dialog();
    }, time);
});
    <div class="overlay">
        <div id="loading-img">
        </div>
    </div>

Open in new window

but I cannot get what I want, below
http://my-friend.co/RegRec2?id=18&user_abbr=mc2&readonly=n

what to adjust?
0
What does it mean to be "Always On"?
LVL 4
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Hello,
I have a slider and some text on my website.  There is a background image behind the slider and text.  I am having trouble making the elements scale correctly in mobile layouts.  I was wondering what is the best way to achieve this without having to make tons on media queries for each size?

http://www.kimothysblog.com

Thanks!  Any help would be greatly appreciated.
0
say, I have an XML response file from a third party web service.

This contains a result of some operation which, I need to display it to a client. this third party has also provided me with  css and javascript files, which I use to display the response XML in a web browser.

my question is how can i write back a XML file to a web browser?
0
Is it possible to declare in a CSS file that all 2nd and 3rd level bullet (<ul>) lists have no margin at their top? I want 2nd and 3rd level lists to appear close to its parent list above it.

Note, this would be the default style and not require a class designation.

Thanks in advance.
0
I need a responsive theme for the now unsupported Magento Professional ver. 1.10.0.2.

There are many themes out there but I can't find anything that says it supports Magento ver. 1.10.0.2.  Ideally, I'd like something that is free.

If this does not exist, is there a reasonably easy way to adapt other designs to 1.10?
0
Hi Experts

I am trying to use the css function @media print to print the content in <div class="test"></div>. With this code it works.

<style type="text/css">
@media print {
body * {
display:none;
}
.test {
display:block;
}
}
</style>

I placed that code in the <head> section. When I tried to code it into an external CSS, it doesn't work. I have this link to my external CSS:
<link rel="stylesheet" type="text/css" media="screen" href="test.css">

Does it mean that @media print has to be coded into <head> section while using the external CSS link will not work? Thanks
0
I am currently in the process of creating my online portfolio and I am having difficulties with my burger menu icon toggling the off canvas menu.  I've managed to set it to open but when I click it again to close it doesn't work.
0
The problem i am having in alignment of input and select fields. html and css code is attached. I am having hard time for resolving this as i am beginner in css learning.

Select fields for choosing time       from    [hour] [minutes]              to     [hour][minutes]  should be easily understood by user. right now it is not so.
Page is divided into two parts  - > left and right side.  left side's width is 60% and right side's is 40 %.

Form is in the left side. (which is to be consider)
select.php
capture18.PNG
0
Dear,
I do not know why event cannot be fired below, after having clicked the button.

<input type="submit" name="LoginButton" value="登录" id="LoginButton" class="LoginButton" onclick="LoginButton_Click" style="font-weight: bold; position:fixed; top:30%;left:50%; z-index:1000"/>

Open in new window

0
I need to stylize the sidebars for some pages one way and for others another way.  Can't figure out a way to modify css so text is white on green box without making text white on contact page.

Here is css for green box
/*  Locations pages green box in sidebar
--------------------------------------------- */
.greenbox-locations { 
  background-color: #016633; 
  padding:20px 10px 20px 30px;
  color:#fff;
  margin-left:30px;
  width:100%;
}

.greenbox-locations p h2 { 
  color:#FFF;
}

Open in new window


On location pages, I need to have a green box with white text.
beta link: http://25a.e58.myftpupload.com/ccs-sioux-city-plant-1/
screenshot: https://www.screencast.com/t/a54fIOeYBdvG

On this Contact page, I need to have black text with white background.
beta link: http://25a.e58.myftpupload.com/contact-cloverleaf-storage/
Screenshot: https://www.screencast.com/t/kXVUsUV40a

here is css for contact page:
/* ........SIDEBAR ........... */

.sidebar .widget {    /* SIDEBAR IMAGES */
    padding: 0px 30px 10px 0px;
}

.sidebar {
  margin-top:60px;}


.sidebar-primary {
    background-color: #fff;
}


.sidebar p {
    margin-bottom: 16px;
}

.sidebar .widget h2 {
margin-bottom:1.3em;
font-size: 1.6em;}

Open in new window

0
Industry Leaders: We Want Your Opinion!
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Why do my navigation buttons flash a white color immediately before the mouseover color (dark green) appears?

http://25a.e58.myftpupload.com/
0
Hi, Please see the dark footer at dev.magickitchen.com, user name pepe and pw: BobTheBuilder45!!

I need to add a div in front of the words DON'T MISS OUR LATEST PROMOS AND NEWS, aligned left, with social icons in it.

So it will look like:
Capture.JPG
With the social icons in a separate div from the text.

Here's the social icons code: <a href="http://facebook.com/magickitchen"><i class="fa fa-facebook" aria-hidden="true"></i></a>&nbsp;&nbsp;<a href="http://pinterest.com/magickitchen"><i class="fa fa-pinterest" aria-hidden="true"></i></a>&nbsp;&nbsp;<a href="http://twitter.com/magickitchen"><i class="fa fa-twitter" aria-hidden="true"></i></a>&nbsp;&nbsp;

With or without the non-breaking spaces, I just need a way to create that extra div and can't figure that part out. Thanks.
0
How to I modify the google map in the left sidebar so that it fits in widget better.  If I change the width of the map, then it won't resize properly.

beta site
http://25a.e58.myftpupload.com/ccs-sioux-city-plant-1/

screenshot
https://screencast.com/t/5itICvYKxH
0
I am trying to have the sidebar area have a green background and white text like this wireframe.

Screenshot
https://screencast.com/t/8chlxupaVN

Beta page
http://25a.e58.myftpupload.com/ccs-sioux-city-plant-1-flipped/

Why does the green box appear above all text?

I am using a widget for the sidebar.  Here is the code in the widget

<span class="greenbox-locations">
<h2>CCS Sioux City Plant 1</h2>
2900 Murray Street
Sioux City, IA 51111
(712) 279-0918

Plant Manager
(712) 279-0918 xXXX

Regional Director
(712) 279-8000 xXXX</span>

<strong>MAP GOES HERE</strong>

Open in new window


Here is css
.greenbox-locations { 
    background-color: #016633; 
  padding:5px 30px;
}

Open in new window

0
http://25a.e58.myftpupload.com/ccs-cherokee/
trying to get map to resize as page viewport gets smaller.
0
Any idea why this two column page is not responsive?

http://25a.e58.myftpupload.com/ccs-sioux-city-plant-1/
0

CSS

40K

Solutions

15K

Contributors

Cascading Style Sheets (CSS) is a language used for describing the look and formatting of a document written in a markup language. Usually used to change web pages and user interfaces written in HTML, it can also be applied to any kind of XML document. CSS is designed primarily to distinguish the content of a document from its presentation.