Jump to content

psycoperl

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by psycoperl

  1. Hello... I am trying to design a sticky header bar for my project. While I have already got the sticky bar working, I am now trying to create a better layout of the content on the bar using CSS (w3.css or standard css). 

    I cannot figure out how to achieve this. Any suggestions?

    What I would like to have (w/out the borders) is:

    image.thumb.png.c18ccd3d062849fdfca5f9ec6e91a3d1.png

    <table style="width:100%">
    	<tr>
        	<td rowspan="3" width="50%">
            	<img src="img_lights.jpg" style="height:70px;width:350px" alt="logo_plc_holder">
            	<h3>PageTitle</h3> 
            </td>
            <td align="right"> 
            	Smith
            </td>
        </tr>
        <tr>
        	<td align="right">
            	Jones 
            </td>
        </tr>
        <tr>
        	<td align="right">
            	Logout 
            </td>
        </tr>    
    </table>

    what I have got so far... (but is not working as intended)...

    image.thumb.png.c0e05820a4d72a0aa7987fc73406fafb.png

    <div class="w3-row ">
    	  <div class="w3-half">
              <img src="img_lights.jpg" style="height:70px;width:350px" alt="logo_plc_holder"><br /><h3>PageTitle</h3> 
          </div>
          <div class="w3-half"> 
          	<div class="w3-row" style="float:right;"> Smith </div>
          	<div class="w3-row" style="float:right;"> Jones </div>
            <div class="w3-row" style="float:right;"> Logout </div>
          </div>
    </div>

     

  2. In comparing three browsers (Safari 12.1.1, Chrome 75.0.3770, and FireFox 67.0.2) accessing the same page I am noticing that the colors are not rendering uniformly. Any suggestions?

    html{
    	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#3949ab+25,05336b+100 */
    	background: #05336B; /* Old browsers */
    	background: -moz-radial-gradient(center, ellipse cover,  #05336B 100%, #3949ab 25%); /* FF3.6-15 */
    	background: -webkit-gradient(radial, center center, 0px, center center, 100%,  color-stop(100%,#05336b), color-stop(25%,#3949ab)); /* Chrome4-9,Safari4-5 */
    	background: -webkit-radial-gradient(center, ellipse cover, #05336B 100%, #3949ab 25%); /* Chrome10-25,Safari5.1-6 */
    	background: -o-radial-gradient(center, ellipse cover,  #05336B 100%, #3949ab 25%); /* Opera 12+ */
    	background: -ms-radial-gradient(center, ellipse cover,  #05336B 100%, #3949ab 25%); /* IE10 preview */
    	background: radial-gradient(ellipse at center,  #05336B 100%, #3949ab 25%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#05336b', endColorstr='#3949ab',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
    
    
    	background-attachment:fixed;
    }

    584278252_ScreenShot2019-06-26at9_18_28PM.png.3b67a0db251e28614df5845239096f89.png

  3. I am creating a background gradient and would like for it  to either  just stay on the screen background and not repeat during scrolling)

     

    For pages with really really long  content I would like to have the gradient applied to the entire content and scroll with the page but not repeat.

    How can I update the following part of CSS

     

    Thanks

     

    			html{
    			height:100%; max-height:100%;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#05336b+0,3949ab+100 */
    background: #05336b; /* Old browsers */
    background: -moz-linear-gradient(top,  #05336b 0%, #3949ab 100%); /* FF3.6-15 */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#05336b), color-stop(100%,#3949ab)); /* Chrome4-9,Safari4-5 */
    background: -webkit-linear-gradient(top,  #05336b 0%,#3949ab 100%); /* Chrome10-25,Safari5.1-6 */
    background: -o-linear-gradient(top,  #05336b 0%,#3949ab 100%); /* Opera 11.10-11.50 */
    background: -ms-linear-gradient(top,  #05336b 0%,#3949ab 100%); /* IE10 preview */
    background: linear-gradient(to bottom,  #05336b 0%,#3949ab 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#05336b', endColorstr='#3949ab',GradientType=0 ); /* IE6-9 */
    
    			}

     

×
×
  • Create New...