Jump to content

psycoperl

Members
  • Posts

    5
  • Joined

  • Last visited

psycoperl's Achievements

Newbie

Newbie (1/7)

0

Reputation

  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: <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)... <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; }
  3. Ok Thank you. Is there a way to have it stretch the entire length of document?
  4. 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 */ }
  5. Perfect. Thank you both... CSS is still a newer thing to me,
×
×
  • Create New...