Notes ACCESS 2022 | Browsers | Css | Htacess | Html | Html5 | Javascript | Microsoft Excel | Mysql | Mysql Dumps | Php | Vb.net | VBscript | Windows <=8 | Windows >=10 | WP | WP Plugin | WP Themes | _Misc Software | ABCDEFGHIJKLMNOPQRSTUVWXYZONPRTOFF codeid operationid title keywords application code languageid show_html show_iframe make_public viewed viewed_date language operation <- Look Inside DataConditions:Order: 30 Language Operation Title Keywords Application Code Languageid Show Html Show Iframe Make Public Viewed Viewed Date Css Archive Assembly.css Backup assembly css floating header line height Library 1st part runs everything. Rest formatting is in the xxxCustom.css and floatingheader.css //* begin auto css 4.2020.801.1875 */ input, textarea, select,a {font-family:verdana;font-size:10pt;margin-top:3px;} /* Checkbox element, when checked */ input[type="checkbox"] { box-shadow: 0 0 0 1px hotpink; } table.reportActionTable {max-width:1200px;min-width:800px;} td.viewnumber{text-align:right;} .button_cell{min-width:125px;} .tableInput {min-width:100px;} table.formtablewidth {width:100%;max-width:600px;} textarea.textareaDimension{ width:98%; min-height: 100px; } textarea.descriptionPUR { height:300px; } textarea.descriptionFIL { height:200px; } textarea.NoteBox{ width:100%; max-width:600px; min-width:400px; min-height: 300px; } hr.cell_split{color:red;} img {border:0px;border-style:inset;border-color:black} UL {margin-left:20px;margin-bottom:0in;margin-top:0in;font-size:10pt;} LI {margin:1px 1px 1px 1px} LI.large {margin:1px 1px 1px 1px;font-size:16pt} body{margin-left:27px;margin-top:0px;font-size:10pt;font-family:Verdana} p{font-family:verdana;font-size:12pt} p.menu{font-family:verdana;font-size:12pt;margin-right:20px;margin-top:.5em} table{border-color:black;border-collapse:collapse;mso-padding-alt:0in 5.4pt 0in 5.4pt} tr.alt{background-color:#FFEFD5;} td{font-family:verdana;font-size:10pt;border:1px solid #000000;padding:3px;} td.debt{color:red;} div {font-size:10pt;zoom:1;} div.scroll{overflow:auto;text-align:left;min-width:200px;max-width:600px;max-height:200px; } .navletters {margin:0 7px 0 7px; } h1 {font-size:26pt; } textarea.descriptionLED {height:250px; } ..ui-datepicker.ui-datepicker-multi { min-width: 30% !important; /* Makes the multi-month datepicker responsive to its parent container */ } .ui-datepicker { min-width: 38em; /* Adjust the pixel value as needed .ui-datepicker table { width: 100%; } */ font-size: 10pt; /* Adjust font size to fit more months if necessary */ } @media screen and (max-width: 1100px) { body{ zoom:1;} } /* end auto css 4.2020.801.1875 */ Old archived stuff .navletters{margin:0 5px 0 10px;} .fertilizer {font-size:14pt;margin-left:75px;page-break-after: always;} A:link {text-decoration:underline;color:#330033;font-size:8pt} A:visited {text-decoration:none;color:#0033FF;font-size:8pt} A:link.menu {text-decoration:none;color:#330033;font-size:8pt;font-family:Arial} A.menu:visited {text-decoration:none;color:#666666;font-size:8pt} A:hover.menu {color:#ffcc66;font-size:8pt} A.menu:active {text-decoration:none;color:#666666;font-size:8pt} A:link.calendar {text-decoration:underline;color:#330033;font-size:8pt} A:link.menu {text-decoration:none;color:#330033;font-size:8pt;font-family:Arial} .navletters{margin:0 5px 0 10px;} input, textarea, select {font-family:verdana;font-size:8pt;margin-top:3px} input[type="checkbox"] { border: 2px solid #2c4358; } input.txwhere {min-width:300px;} table.formtablewidth {width:100%;max-width:800px;} table.reportActionTable {max-width:1200px;min-width:800px;} textarea.textareaDimension{ width:100%;min-height: 200px; } hr.cell_split{color:red;} img {border:0px;border-style:inset;border-color:black} UL {margin-left:20px;margin-bottom:0in;margin-top:0in;} LI {margin:1px 1px 1px 1px} LI.large {margin:1px 1px 1px 1px;font-size:16pt} body{margin-left:25px;margin-top:0px;font-size:10pt;font-family:Verdana} /* body {min-width:4150px;} */ p{font-family:verdana;font-size:10pt} p.menu{font-family:verdana;font-size:8pt;margin-right:20px;margin-top:.5em} table{border-color:black;border-collapse:collapse;mso-padding-alt:0in 5.4pt 0in 5.4pt;} tr.alt{background-color:#D1EED0;} td{font-family:verdana;font-size:8pt;border:1px solid #000000;padding:3px;} td.small{font-family:verdana;font-size:6pt} td.menu{font-family:verdana;font-size:7pt} p.title{font-family:verdana;font-size:12pt;font-weight:bold} p.large{font-family:verdana;font-size:22pt} input, textarea, select {font-family:verdana;font-size:8pt;margin-top:3px} #menud table{border:none;border-color:#000000;width:150;border-collapse:collapse;background-color:#CCCCCC} #menud td.menuon {background-color:#66FF00;color:#000000;border:1pt solid #000000;text-align:right} #menud td.menuoff {background-color:#0033FF;color:#FFFFFF;border:1pt solid #000000;text-align:right} #menud tr.space{height:15px} #menud td.space{Border-top:0px;Border-bottom: 0px solid;Border-right:1pt solid #000000;Border-left:1pt solid #000000} #menud tr{height:20px} #menud p{font-family:Verdana;font-size:10pt;font-weight:bold;margin-left:5px;margin-right:5px} input, textarea, select {font-family:verdana;font-size:8pt;margin-top:3px} div.scroll{overflow:auto;text-align:left;max-width:450px;max-height:150px; } #lightbox{ position: absolute; left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;} #lightbox img{ width: auto; height: auto;} #lightbox a img{ border: none; } #outerImageContainer{ position: relative; background-color: #fff; width: 250px; height: 250px; margin: 0 auto; } #imageContainer{ padding: 10px; } #loading{ position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0; } #hoverNav{ position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; } #imageContainer>#hoverNav{ left: 0;} #hoverNav a{ outline: none;} #prevLink, #nextLink{ width: 49%; height: 100%; background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; } #prevLink { left: 0; float: left;} #nextLink { right: 0; float: right;} #prevLink:hover, #prevLink:visited:hover { background: url(../images/prevlabel.gif) left 15% no-repeat; } #nextLink:hover, #nextLink:visited:hover { background: url(../images/nextlabel.gif) right 15% no-repeat; } #imageDataContainer{ font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; margin: 0 auto; line-height: 1.4em; overflow: auto; width: 100% ; } #imageData{ padding:0 10px; color: #666; } #imageData #imageDetails{ width: 70%; float: left; text-align: left; } #imageData #caption{ font-weight: bold; } #imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em; } #imageData #bottomNavClose{ width: 66px; float: right; padding-bottom: 0.7em; outline: none;} #overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; } Css 8 01/22/2025 Css Customizing Fixing Content While Scrolling div fixed content scroll top menu Some content here or your menu links Css 1406 09/09/2023 Css Customizing Assembly.css Instructions assembly vb.net phpscript whs transaction zoom Developer customize top and bottom table: input.txwhere {min-width:300px;} length of where textbox table.formtablewidth {width:100%;max-width:800px;} table.reportActionTable {max-width:1200px;min-width:800px;} width of bottom table textarea.textareaDimension{ width:100%;min-height: 200px; } hr.cell_split{color:red;} color of line in merged cells .navletters{margin:0 5px 0 10px;} input, textarea, select {font-family:verdana;font-size:8pt;margin-top:3px} input[type="checkbox"] { border: 2px solid #2c4358; } table.formtablewidth {width:100%;max-width:800px;} textarea.textareaDimension{ width:100%;min-height: 200px; } table.reportActionTable {max-width:1200px;min-width:800px;} A:link {text-decoration:underline;color:#330033;font-size:8pt} A:visited {text-decoration:none;color:#0033FF;font-size:8pt} A:link.menu {text-decoration:none;color:#330033;font-size:8pt;font-family:Arial} A.menu:visited {text-decoration:none;color:#666666;font-size:8pt} A:hover.menu {color:#ffcc66;font-size:8pt} A.menu:active {text-decoration:none;color:#666666;font-size:8pt} A:link.calendar {text-decoration:underline;color:#330033;font-size:8pt} A:link.menu {text-decoration:none;color:#330033;font-size:8pt;font-family:Arial} A:visited.calendar {text-decoration:underline;color:#666666;font-size:8pt} A:hover.calendar {color:#ffcc66;font-size:8pt} A:active.calendar {text-decoration:underline;color:#666666;font-size:8pt} hr.cell_split{color:#FFFF00;} img {border:0px;border-style:inset;border-color:black} UL {margin-left:20px;margin-bottom:0in;margin-top:0in;} LI {margin:1px 1px 1px 1px} LI.large {margin:1px 1px 1px 1px;font-size:16pt} body{margin-left:30px;margin-top:0px;font-size:10pt;font-family:Verdana} p{font-family:verdana;font-size:10pt} p.menu{font-family:verdana;font-size:8pt;margin-right:20px;margin-top:.5em} table{border-color:#CCCCCC;border-collapse:collapse;} tr.alt{background-color:#EEEEEE;} td.debt{ color:red; } td{font-family:verdana;font-size:8pt;border:1px solid #CCCCCC;padding:3px 4px 3px 6px;} td.small{font-family:verdana;font-size:6pt} td.menu{font-family:verdana;font-size:7pt} p.title{font-family:verdana;font-size:12pt;font-weight:bold} p.large{font-family:verdana;font-size:22pt} input, textarea, select {font-family:verdana;font-size:8pt;margin-top:3px} #menud table{border:none;border-color:#000000;width:150;border-collapse:collapse;background-color:#CCCCCC} #menud td.menuon {background-color:#66FF00;color:#000000;border:1pt solid #000000;text-align:right} #menud td.menuoff {background-color:#0033FF;color:#FFFFFF;border:1pt solid #000000;text-align:right} #menud tr.space{height:15px} #menud td.space{Border-top:0px;Border-bottom: 0px solid;Border-right:1pt solid #000000;Border-left:1pt solid #000000} #menud tr{height:20px} #menud p{font-family:Verdana;font-size:10pt;font-weight:bold;margin-left:5px;margin-right:5px} input, textarea, select {font-family:verdana;font-size:8pt;margin-top:3px} div.scroll{overflow:auto;text-align:left;min-width:450px;max-width:600px;max-height:200px; } textarea.descriptionLED {height:250px; } @media screen and (max-width: 1100px) { body{ zoom:2.5;} } Css 0 01/22/2025 Css Files Linking To A Style Sheet link head ad this to the head of your web page. make sure your sheet has the same .css name Css 1820 02/22/2024 Css Form Style Various Forms Of Input input type Text Boxes input[type=text] {padding:5px; border:2px solid #ccc; -webkit-border-radius: 5px; border-radius: 5px; } input[type=text]:focus {border-color:#333; } input[type=submit] {padding:5px 15px; background:#ccc; border:0 none; cursor:pointer; -webkit-border-radius: 5px; border-radius: 5px; } input[type=checkbox] { /* Double-sized Checkboxes */ -ms-transform: scale(2); /* IE */ -moz-transform: scale(2); /* FF */ -webkit-transform: scale(2); /* Safari and Chrome */ -o-transform: scale(2); /* Opera */ padding: 10px; } -ms-transform: scale(2); -moz-transform: scale(2); -webkit-transform: scale(2); -o-transform: scale(2); padding: 10px; Css 4 09/09/2023 Css Formatting Hyperlink hyperlink decoration color A !NOTE pLACE IN THIS ORDER TO KEEP HOVER WORKING ON VISITED LINKS #steve a:link { font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #FFFFFF; text-decoration: underline; text-align: center;} #steve a:visited { font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold;color: yellow; text-decoration: underline; text-align: center;} #steve a:hover { font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold;color: #000000; text-decoration: underline; text-align: center;} a:link { color: rgb(0, 0, 153) } /* for unvisited links */ a:visited { color: rgb(153, 0, 153) } /* for visited links */ a:active { color: rgb(255, 0, 102) } /* when link is clicked */ a:hover { color: rgb(0, 96, 255) } /* when mouse is over link */ ******** <a href="http://http://www.time.gov/" class="link">Example of class="link" Link</a> (font : 12px Verdana, Geneva, Arial, Helvetica, sans-serif a.link:link {text-decoration : underline; color : #996600 a.link:hover {color : #999999; text-decoration : none a.link:visited {text-decoration: underline; color : #333333 a.link:visited:hover {text-decoration: none; color : #666666) ************************* A:link {Text-decoration:none;color:red} A:visited {Text-decoration:none;color:red} A:hover {Text-decoration:underline;color:olive} A:active {Text-decoration:none;color:gray} UL {margin-left:15px;margin-bottom:0in;margin-top:0in;} LI {margin:1px 1px 1px 1px} <A style="color : blue"> Sometimes you may want to show hypertext links without them being underlined. You can do this by setting the text-decoration property to none, for example: a.plain { text-decoration: none } Which would suppress underlining for a link such as: This is not underlined Print #3, "" Css 1640 09/09/2023 Css Formatting Bullets And Numbering bullets li ul ol 5.6.3 'list-style-type' Value: disc | circle | square | decimal | lower-roman | upper-roman | lower-alpha | upper-alpha | none Initial: disc Applies to: elements with 'display' value 'list-item' Inherited: yes Percentage values: N/A This property is used to determine the appearance of the list-item marker if 'list-style-image' is 'none' or if the image pointed to by the URL cannot be displayed. OL { list-style-type: decimal } /* 1 2 3 4 5 etc. */ OL { list-style-type: lower-alpha } /* a b c d e etc. */ OL { list-style-type: lower-roman } /* i ii iii iv v etc. */ 5.6.4 'list-style-image' Value: | none Initial: none Applies to: elements with 'display' value 'list-item' Inherited: yes Percentage values: N/A This property sets the image that will be used as the list-item marker. When the image is available it will replace the marker set with the 'list-style-type' marker. UL { list-style-image: url(http://png.com/ellipse.png) } 5.6.5 'list-style-position' Value: inside | outside Initial: outside Applies to: elements with 'display' value 'list-item' Inherited: yes Percentage values: N/A The value of 'list-style-position' determines how the list-item marker is drawn with regard to the content. For a formatting example see section 4.1.3. 5.6.6 'list-style' Value: [disc | circle | square | decimal | lower-roman | upper-roman | lower-alpha | upper-alpha | none] || [inside | outside] || [ | none] Initial: not defined for shorthand properties Applies to: elements with 'display' value 'list-item' Inherited: yes Percentage values: N/A The 'list-style' property is a shorthand notation for setting the three properties 'list-style-type', 'list-style-image' and 'list-style-position' at the same place in the style sheet. UL { list-style: upper-roman inside } UL UL { list-style: circle outside } LI.square { list-style: square } Setting 'list-style' directly on 'LI' elements can have unexpected results. Consider: level 1 level 2 Since the specificity (as defined in the cascading order) is higher for the first rule in the style sheet in the example above, it will override the second rule on all 'LI' elements and only 'lower-alpha' list styles will be used. It is therefore recommended to set 'list-style' only on the list type elements: OL.alpha { list-style: lower-alpha } UL { list-style: disc } In the above example, inheritance will transfer the 'list-style' values from 'OL' and 'UL' elements to 'LI' elements. A URL value can be combined with any other value: UL { list-style: url(http://png.com/ellipse.png) disc } In the example above, the 'disc' will be used when the image is unavailable. Css 2134 09/09/2023 Css Formatting Customizing Formats For Mircrosoft IE ONLY !ie IE firefox browser css I had a table that would format for either FireFox or IE but not both. I used the border-collapse property with "!ie" at the end which IE recognizes but other browswers do Not. Try it with other styling in your css Specify a border collapse for ie #directory table{border-color:#000000; border-collapse:separate; border-collapse:collapse !ie; border-spacing:0px;} #event td{padding:10px 10px 10px 10px;} Css 1276 09/09/2023 Css Formatting ??????Keeping Place Holders placeholder Persistent background text Css 0 01/07/2026 Css Formatting Background Changes background css fixed url background- hand property for: background-color body {background-color: coral;} background-image body { background-image: url("paper.gif"); background-color: #cccccc; } background-position body { background-image: url('w3css.gif'); background-repeat: no-repeat; background-attachment: fixed; background-position: center; } background-size #example1 { background: url(mountain.jpg); background-repeat: no-repeat; background-size: auto; } #example2 { background: url(mountain.jpg); background-repeat: no-repeat; background-size: 300px 100px; } background-repeat body { background-image: url("paper.gif"); background-repeat: repeat-y; } background-origin #example1 { border: 10px dashed black; padding: 25px; background: url(paper.gif); background-repeat: no-repeat; background-origin: content-box; } background-clip Specify how far the background should extend within an element: div { border: 10px dotted black; padding: 15px; background: lightblue; background-clip: padding-box; } background-attachment A background-image that will not scroll with the page (fixed): body { background-image: url("img_tree.gif"); background-repeat: no-repeat; background-attachment: fixed; } How to position a background-image on x-axis: div { background-image: url('w3css.gif'); background-repeat: no-repeat; background-position-x: center; } How to position a background-image on y-axis: div { background-image: url('w3css.gif'); background-repeat: no-repeat; background-position-y: center; } <table> <tr> <th>Value</th> <th>Description</th> <th>CSS</th> </tr> <tr> <td> <i> background-color </i> </td> <td>Specifies the background color to be used</td> <td>body { background-color:yellow; } h1 { background-color:#00ff00; } p { background-color:rgb(255,0,255); } </td> </tr> <tr> <td> <i> background-position</i> </td> <td>Specifies the position of the background images</td> <td>body { background-image:url('smiley.gif'); background-repeat:no-repeat; background-attachment:fixed; background-position:center; } </td> </tr> <tr> <td> <i> background-size</i> </td> <td>Specifies the size of the background images</td> <td> div { background:url(img_flwr.gif); background-size:80px 60px; background-repeat:no-repeat; } </td> </tr> <tr> <td> <i> background-repeat </i> </td> <td>Specifies how to repeat the background images</td> <td>body { background-image:url('paper.gif'); background-repeat:repeat-y; } </td> </tr> <tr> <td> <i> background-origin </i> </td> <td>Specifies the positioning area of the background images</td> <td>div { background-image:url('smiley.gif'); background-repeat:no-repeat; background-position:left; background-origin:content-box; } </td> </tr> <tr> <td> <i> background-clip </i> </td> <td>Specifies the painting area of the background images</td> <td>div { background-color:yellow; background-clip:content-box; } </td> </tr> <tr> <td> <i> background-attachment </i> </td> <td>Specifies whether the background images are fixed or scrolls with the rest of the page</td> <td>body { background-image:url('w3css.gif'); background-repeat:no-repeat; background-attachment:fixed; } </td> </tr> <tr> <td> <i> background-image </i> </td> <td>Specifies ONE or MORE background images to be used</td> <td>body { background-image:url('paper.gif'); background-color:#cccccc; } </td> </tr> </table> body { background-image: url(../images/backg.gif); background-repeat: no-repeat; background-position: top center; background-attachment: fixed } background-color:white;opacity:.5;filter:alpha(opacity=50); // for firefox and IE background-color: transparent; color: orange; Css 1621 09/09/2023 Css Formatting Scrolling In A Table Table Cell td scrolling table cell div.scroll{color: #000000; width: 486px;height: 300px;overflow: auto;scrollbar-face-color: #FF9900; scrollbar-shadow-color: #3D5054;scrollbar-highlight-color: #C3D6DA; scrollbar-3dlight-color: #3D5054;scrollbar-darkshadow-color: #89C; scrollbar-track-color: #E0E0E6;scrollbar-arrow-color: #ffffff;} Css 1545 09/09/2023 Css Formatting Table Formatting table tr td [TABLE] style='border-color:black;border-collapse:collapse;mso-border-alt:solid windowtext .5pt;mso-padding-alt:0in 5.4pt 0in 5.4pt' style="border:5px solid #FF6633" makes outside border only This combined solution worked for me, I wanted equal width columns [TD] td {padding:10px 10px 10px 10px;border:1px solid #CCCCCC;vertical-align:top} border-top:1px solid #61686c; border-left:25px solid #26942F; border-bottom:1px solid #e3e3a1; td {margin:0px;padding:3px;} td{white-space: nowrap; vertical-align: top;text-align:center; background-color:#9595FF} Css 2013 09/09/2023 Css Formatting Fieldsets And Legends border box fieldset legend Web syntax:<fieldset><legend>Mytext</legend></fieldset> fieldset{border:1px solid #000000;padding:10px 10px 10px 10px;text-align:left;margin: 0px 5px 15px 20px; } legend{border:1px solid #000000;padding:2px 2px 2px 2px;text-align:left; } fieldset { display: block; margin-left: 2px; margin-right: 2px; padding-top: 0.35em; padding-bottom: 0.625em; padding-left: 0.75em; padding-right: 0.75em; border: 2px groove (internal value); } Css 1447 09/09/2023 Css Formatting Centering A Table center table The old way to center a table was easy: ... The "align" attribute has been deprecated, however, in favor of CSS (Cascading Style Sheets), and this is a good thing. However, it's not so obvious how to center a table using CSS. The obvious way might appear to use the CSS "text-align: center;" somewhere, maybe like one of these: OR ... OR, if you get really desperate, ... None of these will work. The table itself will be left-aligned, but all the content in the table cells will be centered. Why? Because "text-align" applies to inline content, not to a block-level element like "table". Method 1 To center a table, you need to set the margins, like this: table.center {margin-left:auto; margin-right:auto;} And then do this: ... At this point, Mozilla and Opera will center your table. Internet Explorer 5.5 and up, however, needs you to add this to your CSS as well: body {text-align:center;} Method 2 If you want your table to be a certain percentage width, you can do this: table#table1 {width:70%; margin-left:15%; margin-right:15%;} And then in your HTML/XHTML, you would do this: ... Note that I was using an id to describe the table. You can only use an id once on a page. If you had many tables on a page that you wanted to be the same width and centered, you would do this in your CSS: table.center {width:70%; margin-left:15%; margin-right:15%;} And this in your HTML: ... ... Method 3 If you want your table to be of fixed width, define your CSS like this: div.container {width:98%; margin:1%;} table#table1 {text-align:center; margin-left:auto; margin-right:auto; width:100px;} tr,td {text-align:left;} Set "width:100px" to whatever width you need. "text-align: center" is there for Internet Explorer, which won't work without it. Unfortunately, "text-align: center" will center all the text inside your table cells, but we counter that by setting "tr" and "td" to align left. In your HTML, you would then do this: ... Once again, I'm using an id. If you need to center several tables the same way, use a class instead of an id. Css 1744 09/09/2023 Css Formatting Use Div To Place Data In Different Columns div format table float #main { float:left; width:500px; background:#9c9; } #sidebar { float:right; width:250px; background:#c9c; } Css 1342 09/09/2023 Css Formatting Multiple Menu Color Changes wordpress menu color changes css With the new css dropdown menus it is easier to assign a class to the top ul and use the format like below: ul.menu-widget li a {color: #fff;} This is faster that applying a class to the "a". Just change the ul class for each new menu Css 666 09/09/2023 Css Formatting Setting The Font Weight font weight bold ValueDescriptionPlay itnormalDefines normal characters. This is defaultPlay it »boldDefines thick charactersPlay it »bolderDefines thicker charactersPlay it »lighterDefines lighter charactersPlay it »100 200 300 400 500 600 700 800 900Defines from thin to thick characters. 400 is the same as normal, and 700 is the same as boldPlay it »initialSets this property to its default value. Read about initialPlay it »inheritInherits this property from its parent element. Read about inherit Css 845 09/09/2023 Css Formatting Float Divs Next To Each Other float left div box frame border Boxes Float Next To Each Other In this example, the three divs will float next to each other. Div 1 Div 2 Div 3 Advanced box div { width: 300px; border: 15px solid green; padding: 50px; margin: 20px; } Css 10 09/09/2023 Css Formatting Creating And Styling Borders border property color size Web border border-block border-block-color border-block-end-color border-block-end-style border-block-end-width border-block-start-color border-block-start-style border-block-start-width border-block-style border-block-width border-bottom border-bottom-color border-bottom-left-radius border-bottom-right-radius border-bottom-style border-bottom-width border-collapse border-color border-end-end-radius border-end-start-radius border-image border-image-outset border-image-repeat border-image-slice border-image-source border-image-width border-inline border-inline-color border-inline-end-color border-inline-end-style border-inline-end-width border-inline-start-color border-inline-start-style border-inline-start-width border-inline-style border-inline-width border-left border-left-color border-left-style border-left-width border-radius border-right border-right-color border-right-style border-right-width border-spacing border-start-end-radius border-start-start-radius border-style border-top border-top-color border-top-left-radius border-top-right-radius border-top-style border-top-width border-width Hello, I want to display a box around a div, and I want it's size to adjust to the text width. In Firefox, this code works as I want. In IE6/IE7, the box is as big as possible. I want to make this work for IE6 and IE7 (I actually care less about FF, because it's for an intranet). I tried different values for display and width (which only has one value anyway), but none does what I need. Here's the relevant CSS code: /* Div acting like a box */ div.box { border: solid 1px #CCCCCC; background-color: #f9f9f9; display: table; padding: 4px; margin: 4px 4px 0px 4px; } My DOCTYPE is: ============================================== ***double **** Box properties treat all block-level formatting elements like a virtual 'box'. The height and width of the box is determined by (going from inner-most dimension outward) the height and width of the contained elements (text and/or images) plus heights and widths for space around the element ('padding'), plus the height and widths created by added borders ('border'), along with exterior margin values ('margin') relative to elements exterior to the virtual box. The border properties allow borders to be defined (of course) for any element. These properties give a much wider array of display options for creating line effects around elements than has previously been possible in HTML. If a border is rendered for an element with an inherent or assigned 'inline' 'display' property status, the browser may render a border for each line if the element spans more than one line. Selector { border: [width] [line-style] [color] } Example Ext/Doc: blockquote { border: medium dashed #ff0000 } In-Line: this is a beautiful blockquote test -------------------------------------------------------------------------------- [border-width] [width] IE | N4B4 Please see the description of allowed values in the 'border-width' property. [border-style] [line-style] IE | N4B4 Please see the explanations of these values in the 'border-style' property. [border-color] [color] IE | N4B4 Please see the explanations of these values in the 'border-color' property. -------------------------------------------------------------------------------- border-top [IE | N] Applicable Tags: ALL HTML Equivalent: | Inherit From Parent: No Default Values: NA What Is It? This property controls the properties of the top border of an element. The border is drawn using the included color value. If no color is specified, the value will be taken from the 'color' property. If the property is used on an element with an inherent or assigned 'inline' 'display' property status, the browser may render a border for each line if the element spans more than one line. Usage: Selector { border-top: [width] [line-style] [color] } Example Ext/Doc: div.out { border-top: 10px outset #ffffff } In-Line: this is a beautiful test -------------------------------------------------------------------------------- [border-width] [width] IE | N Please see the description of allowed values in the 'border-width' property. [border-style] [line-style] IE | N Please see the explanations of these values in the 'border-style' property. [border-color] [color] IE | N Please see the explanations of these values in the 'border-color' property. -------------------------------------------------------------------------------- border-right [IE | N] Applicable Tags: ALL HTML Equivalent: | Inherit From Parent: No Default Values: NA What Is It? This property controls the properties of the right border of an element. The border is drawn using the included color value. If no color is specified, the value will be taken from the 'color' property. If the property is used on an element with an inherent or assigned 'inline' 'display' property status, the browser may render a border for each line if the element spans more than one line. Usage: Selector { border-right: [width] [line-style] [color] } Example Ext/Doc: em { border-right: thick double yellow } In-Line: this is a beautiful test -------------------------------------------------------------------------------- [border-width] [width] IE | N Please see the description of allowed values in the 'border-width' property. [border-style] [line-style] IE | N Please see the explanations of these values in the 'border-style' property. [border-color] [color] IE | N Please see the explanations of these values in the 'border-color' property. -------------------------------------------------------------------------------- border-bottom [IE | N] Applicable Tags: ALL HTML Equivalent: | Inherit From Parent: No Default Values: NA What Is It? This property controls the properties of the bottom border of an element. The border is drawn using the included color value. If no color is specified, the value will be taken from the 'color' property. If the property is used on an element with an inherent or assigned 'inline' 'display' property status, the browser may render a border for each line if the element spans more than one line. Usage: Selector { border-bottom: [width] [line-style] [color] } Example Ext/Doc: span { border-bottom: solid green } In-Line: this is a beautiful test -------------------------------------------------------------------------------- [border-width] [width] IE | N Please see the description of allowed values in the 'border-width' property. [border-style] [line-style] IE | N Please see the explanations of these values in the 'border-style' property. [border-color] [color] IE | N Please see the explanations of these values in the 'border-color' property. -------------------------------------------------------------------------------- border-left [IE | N] Applicable Tags: ALL HTML Equivalent: | Inherit From Parent: No Default Values: NA What Is It? This property controls the properties of the left border of an element. The border is drawn using the included color value. If no color is specified, the value will be taken from the 'color' property. If the property is used on an element with an inherent or assigned 'inline' 'display' property status, the browser may render a border for each line if the element spans more than one line. Usage: Selector { border-left: [width] [line-style] [color] } Example Ext/Doc: strong { border-left: thin groove blue } In-Line: this is a beautiful test -------------------------------------------------------------------------------- [border-width] [width] IE | N Please see the description of allowed values in the 'border-width' property. [border-style] [line-style] IE | N Please see the explanations of these values in the 'border-style' property. [border-color] [color] IE | N Please see the explanations of these values in the 'border-color' property. -------------------------------------------------------------------------------- border-width [IE | N4B3] Applicable Tags: ALL HTML Equivalent: | Inherit From Parent: No Default Value: medium What Is It? This property controls the thickness for one to four border sides. If multiple borders are specified, they are given as a space separated list of width values. Value assignments: 1 value present: All four borders are set to that value. 2 values present: Top and bottom borders receive first value while right and left borders are set to the second value. 3 values present: Top - first value, right&left - second value, bottom - third value. 4 values present: Top, right, bottom and left respectively. Usage: Selector { border-width: [width] } Example Ext/Doc: strong { border-width: thick } In-Line: this is a beautiful test -------------------------------------------------------------------------------- thin | medium | thick explicit IE | N4B3 These values set the weight (thickness) of the line used to draw the borders. The browser will determine what thicknesses these keywords shall hold. 'medium' is the default value. [length] calculated IE | N4B3 This is an explicit or relative size measurement of the thickness of the border. Consult the Units Page for acceptable length unit systems. -------------------------------------------------------------------------------- border-top-width [IE | N4B3] Applicable Tags: ALL HTML Equivalent: | Inherit From Parent: No Default Value: medium What Is It? This controls the thickness of the top border. Usage: Selector { border-top-width: [width] } Example Ext/Doc: strong { border-top-width: thin } In-Line: this is a beautiful test -------------------------------------------------------------------------------- [border-width] [width] IE | N4B3 Please see the description of allowed values in the 'border-width' property. -------------------------------------------------------------------------------- border-right-width [IE | N4B3] Applicable Tags: ALL HTML Equivalent: | Inherit From Parent: No Default Value: medium What Is It? This controls the thickness of the right border. Usage: Selector { border-right-width: [width] } Example Ext/Doc: strong { border-right-width: 10px } In-Line: this is a beautiful test -------------------------------------------------------------------------------- [border-width] [width] IE | N4B3 Please see the description of allowed values in the 'border-width' property. -------------------------------------------------------------------------------- border-bottom-width [IE | N4B3] Applicable Tags: ALL HTML Equivalent: | Inherit From Parent: No Default Value: medium What Is It? This controls the thickness of the bottom border. Usage: Selector { border-bottom-width: [width] } Example Ext/Doc: strong { border-bottom-width: medium } In-Line: this is a beautiful test Browser Notes - Netscape 4 Beta 3 Rendering of border properties on single sides (in contrast to using the shorthand 'border-width' property) cuts in to the rendering of adjacent elements. -------------------------------------------------------------------------------- [border-width] [width] IE | N4B3 Please see the description of allowed values in the 'border-width' property. -------------------------------------------------------------------------------- border-style [IE | N4B3] Applicable Tags: ALL HTML Equivalent: | Inherit From Parent: No Default Value: none What Is It? This property controls the type of line used for the border of the current element. It uses from one to four space separated values which are bound to the four borders as illustrated in the "What Is It?" section of the 'border-width' attribute. Usage: Selector { border-style: [line-style] } Example Ext/Doc: strong { border-style: groove } In-Line: this is a beautiful test none explicit IE | N4B3 Default value. No border is rendered, regardless of any 'border-width' present. dotted explicit IE | N A dotted line drawn on top of the background of the element. dashed explicit IE | N A dashed line drawn on top of the background of the element. solid explicit IE | N4B3 A solid line. groove explicit IE | N4B3 A 3-D groove is drawn based upon the [color] value. ridge explicit IE | N4B3 A 3-D ridge is rendered based upon the [color] value. inset explicit IE | N4B3 A 3-D inset is rendered based upon the [color] value. outset explicit IE | N4B3 A 3-D outset is rendered based upon the [color] value. double explicit IE | N4B3 A double line drawn on top of the background of the element. The two lines with the space between adds up to the 'border-width' properties. -------------------------------------------------------------------------------- border-color [IE | N4B3] Applicable Tags: ALL HTML Equivalent: | Inherit From Parent: No Default Value: The value of the 'color' property. What Is It? This property controls the color for one to four border sides. It uses from one to four space separated values which are bound to the four borders as illustrated in the "What Is It?" section of the 'border-width' attribute. If no color is specified, this value will be taken from the 'color' property. Usage: Selector { border-color: [color] } Example Ext/Doc: strong { border-color: blue } In-Line: this is a beautiful test [color] explicit IE | N4B3 This value specifies the color to use in creating the border. Please see the section on Color Units for more details. -------------------------------------------------------------------------------- Value Description none No border. dotted Dotted line drawn over the top of the element. dashed Dashed line drawn over the top of the element. solid Solid line. double Double line drawn over the top of the element; the width of the two lines and the space between them equals the border-width value. groove 3-D groove drawn in colors based upon color. ridge 3-D ridge drawn in colors based upon color. inset 3-D inset drawn in colors based upon color. outset 3-D outset drawn in colors based upon color. border-top-width Css 3 09/09/2023 Css Formatting Create A Scrolling Div scroll bars Divs Resources Hebrew/Greek Your Content Luke 2 New International Version The Birth of Jesus 2 In those days Caesar Augustus issued a decree that a census should be taken of the entire Roman world. 2 (This was the first census that took place while[a] Quirinius was governor of Syria.) 3 And everyone went to their own town to register. 4 So Joseph also went up from the town of Nazareth in Galilee to Judea, to Bethlehem the town of David, because he belonged to the house and line of David. 5 He went there to register with Mary, who was pledged to be married to him and was expecting a child. 6 While they were there, the time came for the baby to be born, 7 and she gave birth to her firstborn, a son. She wrapped him in cloths and placed him in a manger, because there was no guest room available for them. 8 And there were shepherds living out in the fields nearby, keeping watch over their flocks at night. 9 An angel of the Lord appeared to them, and the glory of the Lord shone around them, and they were terrified. 10 But the angel said to them, “Do not be afraid. I bring you good news that will cause great joy for all the people. 11 Today in the town of David a Savior has been born to you; he is the Messiah, the Lord. 12 This will be a sign to you: You will find a baby wrapped in cloths and lying in a manger.” 13 Suddenly a great company of the heavenly host appeared with the angel, praising God and saying, 14 “Glory to God in the highest heaven, and on earth peace to those on whom his favor rests.” 15 When the angels had left them and gone into heaven, the shepherds said to one another, “Let’s go to Bethlehem and see this thing that has happened, which the Lord has told us about.” 16 So they hurried off and found Mary and Joseph, and the baby, who was lying in the manger. 17 When they had seen him, they spread the word concerning what had been told them about this child, 18 and all who heard it were amazed at what the shepherds said to them. 19 But Mary treasured up all these things and pondered them in her heart. 20 The shepherds returned, glorifying and praising God for all the things they had heard and seen, which were just as they had been told. 21 On the eighth day, when it was time to circumcise the child, he was named Jesus, the name the angel had given him before he was conceived. Jesus Presented in the Temple 22 When the time came for the purification rites required by the Law of Moses, Joseph and Mary took him to Jerusalem to present him to the Lord 23 (as it is written in the Law of the Lord, “Every firstborn male is to be consecrated to the Lord”[b]), 24 and to offer a sacrifice in keeping with what is said in the Law of the Lord: “a pair of doves or two young pigeons.”[c] 25 Now there was a man in Jerusalem called Simeon, who was righteous and devout. He was waiting for the consolation of Israel, and the Holy Spirit was on him. 26 It had been revealed to him by the Holy Spirit that he would not die before he had seen the Lord’s Messiah. 27 Moved by the Spirit, he went into the temple courts. When the parents brought in the child Jesus to do for him what the custom of the Law required, 28 Simeon took him in his arms and praised God, saying: 29 “Sovereign Lord, as you have promised, you may now dismiss[d] your servant in peace. 30 For my eyes have seen your salvation, 31 which you have prepared in the sight of all nations: 32 a light for revelation to the Gentiles, and the glory of your people Israel.” 33 The child’s father and mother marveled at what was said about him. 34 Then Simeon blessed them and said to Mary, his mother: “This child is destined to cause the falling and rising of many in Israel, and to be a sign that will be spoken against, 35 so that the thoughts of many hearts will be revealed. And a sword will pierce your own soul too.” 36 There was also a prophet, Anna, the daughter of Penuel, of the tribe of Asher. She was very old; she had lived with her husband seven years after her marriage, 37 and then was a widow until she was eighty-four.[e] She never left the temple but worshiped night and day, fasting and praying. 38 Coming up to them at that very moment, she gave thanks to God and spoke about the child to all who were looking forward to the redemption of Jerusalem. 39 When Joseph and Mary had done everything required by the Law of the Lord, they returned to Galilee to their own town of Nazareth. 40 And the child grew and became strong; he was filled with wisdom, and the grace of God was on him. The Boy Jesus at the Temple 41 Every year Jesus’ parents went to Jerusalem for the Festival of the Passover. 42 When he was twelve years old, they went up to the festival, according to the custom. 43 After the festival was over, while his parents were returning home, the boy Jesus stayed behind in Jerusalem, but they were unaware of it. 44 Thinking he was in their company, they traveled on for a day. Then they began looking for him among their relatives and friends. 45 When they did not find him, they went back to Jerusalem to look for him. 46 After three days they found him in the temple courts, sitting among the teachers, listening to them and asking them questions. 47 Everyone who heard him was amazed at his understanding and his answers. 48 When his parents saw him, they were astonished. His mother said to him, “Son, why have you treated us like this? Your father and I have been anxiously searching for you.” 49 “Why were you searching for me?” he asked. “Didn’t you know I had to be in my Father’s house?”[f] 50 But they did not understand what he was saying to them. 51 Then he went down to Nazareth with them and was obedient to them. But his mother treasured all these things in her heart. 52 And Jesus grew in wisdom and stature, and in favor with God and man. Css 3 09/09/2023 Css Formatting Set Font Color font color Text Color The color property is used to set the color of the text. The color is specified by: a color name - like "red" a HEX value - like "#ff0000" an RGB value - like "rgb(255,0,0)" Look at CSS Color Values for a complete list of possible color values. The default text color for a page is defined in the body selector. Example body { color: blue; } h1 { color: green; } Css 2 09/09/2023 Css Formatting Force Long Text And Urls To Wrap On All Browser break url cell CSS to force long text and urls to wrap on all browser Sometimes we need to wrap a long text and url forcefully. Without word wrap our design layout become awkward. So to do proper alignment of text, we need to wrap text. We can force a long or continuous text to wrap in a new line by defining css word-wrap property to break-word. Word-wrap is supported in all browsers like IE 5+, FF 3.5+, and Safari, Opera etc. Cross browser CSS to wrap long text and urls .wordwrap { /* wrap long text and urls */ white-space: pre; /* CSS 2.0 */ white-space: pre-wrap; /* CSS 2.1 */ white-space: pre-line; /* CSS 3.0 */ white-space: -pre-wrap; /* Opera 4-6 */ white-space: -o-pre-wrap; /* Opera 7 */ white-space: -moz-pre-wrap; /* Mozilla */ word-wrap: break-word; /* IE 5+ */ word-break:break-all /* Breaks Mid Word */ } TABLE CELL EXAMPLE-FORCES HYPERLINK WITH NO SPACES TO WRAP IN THE CELL td.converted_mod {width:90px;min-width:90px;max-width:90px;overflow:hidden; /* wrap long text and urls */ white-space: pre; /* CSS 2.0 */ white-space: pre-wrap; /* CSS 2.1 */ white-space: pre-line; /* CSS 3.0 */ white-space: -pre-wrap; /* Opera 4-6 */ white-space: -o-pre-wrap; /* Opera 7 */ white-space: -moz-pre-wrap; /* Mozilla */ word-wrap: break-word; /* IE 5+ */ } Css 2 09/09/2023 Css Formatting @media media screen Developer CSS In CSS, @media screen is a component of media queries, which are a powerful feature enabling responsive web design. It allows the application of specific CSS styles based on the characteristics of the device displaying the content, specifically targeting screen-based devices like computer monitors, laptops, smartphones, and tablets. Here's how it works: @media Rule: The @media at-rule introduces a media query block. This rule conditionally applies CSS styles based on the result of the media query. screen Media Type: The screen keyword within the @media rule specifies that the enclosed styles should only apply when the content is being displayed on a screen. This distinguishes it from other media types like print (for printed output) or speech (for screen readers). Conditions (Media Features): Following the screen media type, you can add conditions or "media features" enclosed in parentheses. These conditions specify characteristics of the device or viewport that must be met for the styles to apply. Common media features include: min-width: Applies styles when the viewport width is equal to or greater than the specified value. max-width: Applies styles when the viewport width is equal to or less than the specified value. orientation: Checks if the device is in portrait or landscape mode. min-resolution / max-resolution: Targets devices based on their pixel density. Logical Operators: You can combine multiple conditions using logical operators like and, or (represented by a comma ,), and not. /* Default styles for all screen sizes */ body { background-color: red; } /* Styles applied only when the screen width is 768px or wider */ @media screen and (min-width: 768px) { body { background-color: green; } } /* Styles applied only when the screen width is 600px or less */ @media screen and (max-width: 600px) { body { background-color: blue; } } In this example: The body will have a red background by default. If the screen width is 768px or more, the background will turn green. If the screen width is 600px or less, the background will turn blue. By using @media screen with various media features and logical operators, developers can create responsive designs that adapt to different screen sizes and device characteristics, providing an optimized user experience across a wide range of devices. @media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2),only screen and (min-resolution:192dpi),only screen and (min-resolution:2dppx){#branding .logo a img.normal_logo.show_logo,.side_logo a img.normal_logo{display:none} #branding .logo a img.retina_logo.show_logo,.side_logo a img.retina_logo{display:block} }@media only screen and (max-device-width:1023px) and (-webkit-min-device-pixel-ratio:2){#branding .logo a img.retina_logo.original_logo{display:block} #branding .logo a img.original_logo.normal_logo,#branding .logo a img.retina_logo.custom_logo{display:none !important} }@media only screen and (min-width:1000px){.vc_shape-divider-wrap[data-style="clouds"] .vc_shape-divider{min-width:1700px} }@media(min-width:1024px){.minimal_layout .wp-block-image{max-width:none;margin-left:-15%;margin-right:-15%} .clients_carousel.gallery_expanded{overflow:visible} .clients_carousel.gallery_expanded .owl-stage-outer{overflow:visible} .clients_carousel.gallery_expanded .owl-stage-outer .owl-stage{height:100%} }@media(min-width:1030px){.clients_carousel.gallery_expanded[data-items-margin=yes] .owl-item div{padding-right:50px} }@media screen and (min-width:1170px){.flat_images figure.modern_portfolio_layout.cols-2{width:47%} }@media screen and (max-width:1024px){.mobile-panel-open{overflow:hidden} .mobile_view{display:inherit;visibility:visible} .desktop_view{display:none;visibility:hidden} #branding .logo a img.original_logo.desktop_logo,.side_logo a img.desktop_logo{display:none} #branding .logo a img.mobile_logo,.side_logo a img.mobile_logo{display:inherit} #branding .logo a img.custom_logo.normal_logo{display:none} #branding .logo.mobile_logo_render a img.original_logo,#branding .logo.mobile_logo_render a img.custom_logo{display:none !important} }@media(max-width:1024px){.wrapper-out .container{max-width:100%} .creativo-enable-parallax{background-position:center center !important;background-attachment:scroll !important;background-size:cover} .single-creativo_portfolio [data-gallery-width=expanded] .owl-carousel .owl-stage-outer .owl-item div{padding:0} .single-creativo_portfolio [data-gallery-width=expanded] .owl-carousel,.single-creativo_portfolio [data-gallery-width=expanded] .owl-carousel .owl-stage-outer{overflow:hidden} .single-creativo_portfolio [data-gallery-width=expanded] .owl-carousel .owl-stage{height:0} }@media only screen and (max-width:1024px){.grid-masonry.masonry-cols-5 .posts-grid-item,.grid-masonry.masonry-cols-4 .posts-grid-item,.grid-masonry.masonry-cols-3 .posts-grid-item,.grid-masonry.masonry-cols-2 .posts-grid-item{width:calc(50% - 1rem)} }@media only screen and (max-width:1023px) and (-webkit-min-device-pixel-ratio:1){#branding .logo a img.original_logo.normal_logo{display:block} #branding .logo a img.custom_logo.normal_logo,#branding .logo a img.show_logo.custom_logo{display:none} }@media only screen and (max-width:1000px){.vc_shape-divider-wrap[data-style="clouds"] .vc_shape-divider{min-width:800px} .vc_shape-divider{height:75%} .vc_shape-divider-wrap[data-style="clouds"] .vc_shape-divider{height:55%} }@media(max-width:960px){.cr-recent-posts-container .cr-grid-masonry.masonry-cols-5 .posts-grid-item,.cr-recent-posts-container .cr-grid-masonry.masonry-cols-4 .posts-grid-item,.cr-recent-posts-container .cr-grid-masonry.masonry-cols-3 .posts-grid-item{width:49.9%} .instagram_footer_wrap ul,. Css 1 10/13/2025 Css Formatting Wrap Table Text wrap Developer smaller cells use :word-break:break-all; table.reportTable,table.navTable{table-layout:fixed;} td.ID_mod {width:140px;min-width:140px;overflow:hidden; /* wrap long text and urls */ white-space: pre; /* CSS 2.0 */ white-space: pre-wrap; /* CSS 2.1 */ white-space: pre-line; /* CSS 3.0 */ white-space: -pre-wrap; /* Opera 4-6 */ white-space: -o-pre-wrap; /* Opera 7 */ white-space: -moz-pre-wrap; /* Mozilla */ word-wrap: break-word; /* IE 5+ */ } td.laboratoryid_mod {width:85px;min-width:55px;overflow:hidden;} td.comment_mod {width:110px;min-width:110px;overflow:hidden;} td.sample_desc_mod {width:110px;min-width:110px;overflow:hidden;} td.process_mod {width:80px;min-width:80px;overflow:hidden;} td.extract_date_mod {width:100px;min-width:100px;overflow:hidden;} td.analysis_date_mod {width:55px;min-width:55px;overflow:hidden;} td.labID_mod {width:100px;min-width:100px;overflow:hidden;} td.analysis_methodid_mod {width:200px;min-width:200px;overflow:hidden;} td.extraction_tech_mod {width:80px;min-width:80px;overflow:hidden;} td.analytical_tech_mod {width:200px;min-width:200px;overflow:hidden;} td.CBDV_mod {width:45px;min-width:45px;overflow:hidden;} td.CBD_A_mod {width:45px;min-width:45px;overflow:hidden;} td.CBG_A_mod {width:45px;min-width:45px;overflow:hidden;} td.CBG_mod {width:45px;min-width:45px;overflow:hidden;} td.CBD_mod {width:45px;min-width:45px;overflow:hidden;} td.THCV_mod {width:45px;min-width:45px;overflow:hidden;} td.CBN_mod {width:45px;min-width:45px;overflow:hidden;} td.CBC_mod {width:45px;min-width:45px;overflow:hidden;} td.D9_THC_mod {width:45px;min-width:45px;overflow:hidden;} td.THC_A_mod {width:45px;min-width:45px;overflow:hidden;} td.D8_THC_mod {width:45px;min-width:45px;overflow:hidden;} td.D109R_THC_mod {width:55px;min-width:55px;overflow:hidden;} td.D109S_THC_mod {width:55px;min-width:55px;overflow:hidden;} td.max_active_THC_mod {width:75px;min-width:75px;overflow:hidden;} td.max_active_CDB_mod {width:55px;min-width:55px;overflow:hidden;} td.total_active_cannabinoids_mod {width:105px;min-width:105px;overflow:hidden;} td.percent_decarb_mod {width:55px;min-width:55px;overflow:hidden;} td.CBD_THC_ratio_mod {width:100px;min-width:100px;overflow:hidden;} td.density_mod {width:85px;min-width:85px;overflow:hidden;} td.converted_mod {width:55px;min-width:55px;overflow:hidden;} td.extension_mod {width:200px;min-width:200px;overflow:hidden;} td.pdf_mod {width:90px;min-width:90px;overflow:hidden;word-break:break-all;} td.counts_mod {width:90px;min-width:90px;overflow:hidden;} td.check_column {min-width:25px;width:26px;} td.button_column{min-width:125px;width:125px;} Css 1 11/20/2023 Css Formatting Stored Css For 2017 Theme 2017 footer credits seventeen theme Jesus sell Jesus Over Gangs footer credits in site-info.php Sell hay .entry-content{ margin: 0 auto; max-width: 1400px;min-width:700px;} body {overflow:visible;} table{border-color:black;border-collapse:collapse;mso-padding-alt:0in 5.4pt 0in 5.4pt} textarea{ font-size:8pt; } hr.cell_split{color:red;} tr.alt{background-color:#EEEEEE;} td{font-family:verdana;font-size:8pt;border:1px solid #000000;padding:5px;} .navletters {margin:0 7px 0 7px; } td.code_mod {max-width: 600px;} td.description_mod {min-width:400px;} div.scroll{overflow:auto;text-align:left;min-width:200px;max-width:600px;max-height:200px; } input[type="button"],input[type="submit"]{ background-color: #64c9ea; border: none; border-radius: 2px; box-shadow: none; color: #fff; cursor: pointer; padding: 5px 5px; min-width:10px;margin:5px;} input[type="text"],input[type="select"] {font-family:verdana;font-size:10pt;margin:5px;padding: 2px 2px;width:70%} td.file_mod{width:250px;} @media screen and (min-width: 48em) { .wrap { max-width: 1300px; } } table.reportTable,table.navTable{table-layout:fixed;} td.product_mod {width:125px;min-width:125px;overflow:hidden;padding:10px;} td.sale_mod {overflow:hidden;padding:10px;} td.units_mod {overflow:hidden;padding:10px;} td.location_farm_mod {width:125px;min-width:125px;overflow:hidden;text-align:center;padding:10px;word-break:break-all;} td.location_shed_mod {width:125px;min-width:125px;overflow:hidden;padding:10px;word-break:break-all;} td.discount_mod {width:125px;min-width:125px;overflow:hidden;padding:10px;} td.analysis_mod {width:80px;min-width:80px;overflow:hidden;padding:10px;text-align:center;} td.still_image_mod {width:80px;min-width:80px;overflow:hidden;padding:10px;} td.movie_mod {width:80px;min-width:80px;overflow:hidden;padding:10px;text-align:center;} td.date_mod {overflow:hidden;padding:10px;} td.invoice_mod {overflow:hidden;padding:10px;text-align:right;} td.check_column {min-width:25px;width:25px;} td.button_column{min-width:125px;width:125px;} admin custom css .entry-content a img, .comment-content a img, .widget a img { -webkit-box-shadow: 0 0 0 0px #fff; box-shadow: 0 0 0 0px #fff; } .entry-content a, .entry-summary a, .comment-content a, .widget a, .site-footer .widget-area a, .posts-navigation a, .widget_authors a strong { -webkit-box-shadow: inset 0 -1px 0 rgba(15, 15, 15, 1); box-shadow: none;} .single-post:not(.has-sidebar) #primary, .page.page-one-column:not(.twentyseventeen-front-page) #primary, .archive.page-one-column:not(.has-sidebar) .page-header, .archive.page-one-column:not(.has-sidebar) #primary { max-width: 1100px; } Jesus over Gangs Add at the end of style.css .entry-content{ margin: 0 auto; max-width: 1400px;min-width:700px;} body {overflow:visible;} table{border-color:black;border-collapse:collapse;mso-padding-alt:0in 5.4pt 0in 5.4pt} textarea{ font-size:8pt; } hr.cell_split{color:red;} tr.alt{background-color:#EEEEEE;} td{font-family:verdana;font-size:8pt;border:1px solid #000000;padding:5px;} .navletters {margin:0 7px 0 7px; } td.code_mod {max-width: 600px;} td.description_mod {min-width:400px;} div.scroll{overflow:auto;text-align:left;min-width:200px;max-width:600px;max-height:200px; } input[type="button"],input[type="submit"]{ background-color: #64c9ea; border: none; border-radius: 2px; box-shadow: none; color: #fff; cursor: pointer; padding: 5px 5px; min-width:10px;margin:5px;} input[type="text"],input[type="select"] {font-family:verdana;font-size:10pt;margin:5px;padding: 2px 2px;width:70%} td.file_mod{width:250px;} @media screen and (min-width: 48em) { .wrap { max-width: 1300px; } } Css 4 03/16/2025 Css Formatting Set Styling For Jesus Loves Humor Website 2013 theme jesus loves humor Jesusloveshumor place in the style.css body {overflow:visible;} table{border-color:black;border-collapse:collapse;mso-padding-alt:0in 5.4pt 0in 5.4pt} textarea{ font-size:8pt; } hr.cell_split{color:red;} tr.alt{background-color:#EEEEEE;} td{font-family:verdana;font-size:8pt;border:1px solid #000000;} .navletters {margin:0 7px 0 7px; } td.code_mod {max-width: 600px;} td.description_mod {min-width:300px;} td.description_mod div{min-width:275px;} div.scroll{overflow:auto;text-align:left;min-width:200px;max-width:600px;max-height:200px; } input[type="button"],input[type="submit"]{ background-color: #64c9ea; border: none; border-radius: 2px; box-shadow: none; color: #fff; cursor: pointer; padding: 5px 5px; min-width:10px;margin:5px;} input[type="text"],input[type="select"] {font-family:verdana;font-size:10pt;margin:5px;padding: 2px 2px;width:70%} td.file_mod{width:200px;} .entry-content {max-width:1200px; } Css 2 04/16/2025 Css Formatting Using CSS Transform: Scale() / CSS Zoom Property: zoom enlarge Enlarge Text To enlarge a CSS layout on load, various methods can be employed, primarily using CSS properties or a combination of CSS and JavaScript. 1. Using CSS transform: scale(): The transform: scale() property can be applied to a parent element or the body to scale the entire layout. This will visually enlarge the content without changing its actual dimensions in the document flow. Code body { transform: scale(1.2); /* Enlarges the entire body by 20% */ transform-origin: top left; /* Sets the origin for the transformation */ } 2. Using CSS zoom property: The zoom property offers a similar effect to transform: scale(), but it can affect the page layout and element positioning. It's important to note that zoom is not a standard CSS property and might have inconsistent browser support. Code body { zoom: 1.2; /* Enlarges the entire body by 20% */ } 3. Adjusting width and height with viewport units or percentages: For a more responsive approach, you can define element sizes using viewport units (vw, vh) or percentages, which will automatically adjust the layout based on the viewport dimensions. Code .container { width: 90vw; /* 90% of viewport width */ height: 80vh; /* 80% of viewport height */ } Css 0 10/13/2025 Css Formatting CSS Scale Property scale zoom Media Screens The CSS scale property allows you to resize elements by scaling them along the x, y, and z axes. This property is particularly useful for creating responsive designs and animations. The scale property can be defined with one, two, or three values, depending on the dimensions you want to scale. Syntax and Usage The syntax for the scale property is as follows: scale: x-axis y-axis z-axis | initial | inherit; Copy x-axis: Defines the scale factor along the x-axis. y-axis: Defines the scale factor along the y-axis. z-axis: Defines the scale factor along the z-axis. initial: Sets the property to its default value. inherit: Inherits the property from its parent element. Examples Scaling uniformly in both x and y directions: div { scale: 2; } Copy Scaling differently in x and y directions: div { scale: 2 0.5; } Copy Scaling in x, y, and z directions: div { scale: 1 1.5 2; } Copy Alternative: CSS Transform Property An alternative to the scale property is using the CSS transform property with the scale() function. This function allows you to scale elements in 2D or 3D space. For example: div { transform: scale(2); } Copy This will achieve the same effect as scale: 2; but is part of the broader transform property. Important Considerations Accessibility: Scaling and zooming animations can trigger migraines for some users. It's advisable to provide a control to turn off animations or use the prefers-reduced-motion media feature to disable animations for users who have reduced motion preferences. Child Elements: The scale property affects all descendant elements, meaning that if you scale a parent element, all its children will be scaled as well. Layout Flow: Unlike the scale() function in the transform property, the scale property does not cause other elements to reflow around it. By understanding and utilizing the CSS scale property, you can create dynamic and responsive web designs that enhance user experience. Whether you choose to use the scale property directly or the transform property with the scale() function, both methods offer flexibility and control over element sizing. Css 0 12/13/2025 Css Language Table-layout Table size fixed First Column Second Column Third Column Row 1 Text 1 Row 2 Abcdefg 123 Row 3 Abcdefghijklmnop 123456 Css 3 12/23/2023 Css Printing Using Css To Induce Printing printing page break CSS and Printing By Joe Burns Use these to jump around or read it all... [Page Break] [The Format] [Setting A Specific Page Break] I get a lot of questions asking if there are ways to "force" people's browsers to do certain things. The events most often asked for are to force a browser to bookmark the page, to set user preferences, and this one: How can I force a person's browser to print my page? The short and truthful answer is that you can't. There's no command or tag, to my knowledge, that produces a print when your page loads. There are just too many factors involved. Is the user's printer turned on? Can the Web page fit nicely in the print space set by the viewer? And most importantly: Does the viewer want to print your page? It would cheese me if I logged into your page and all of a sudden my printer was humming. Update! As of 10/99 there is still no way to force a printer to print a page; however, you can initiate a print request. See the tutorial. You can take some control when the user decides he or she does want to print your page. Through the magic of Style Sheets, you can now make a point of indicating where the pages will break during the print process. As of 12/21/98, this CSS2 command is supported only by Internet Explorer browsers version 4 and above. -------------------------------------------------------------------------------- Page Break There are two commands you're worried about here: page-break-after page-break-before You can pretty much pick out what each does. The first sets the printing page break just before the element, the second sets the page break just after. Each command has, in theory anyway, four attributes: always | auto | left | right always tells the browser to break the print page after this element always. auto is the default. You're telling the browser to do what it would do anyway: Page break where the page ends. left is not supported by any browser yet. It is used if your printer will print both sides of a page, like a manuscript. If the page is a left-facing page, use this attribute. right is what you use if it's a right-facing page. -------------------------------------------------------------------------------- The Format Here's what it looks like in your page's <HEAD> tags: <STYLE TYPE="text/css"> H2 {page-break-before: always} </STYLE> That format will produce a print page break before each H2 on the page. Would you like to try it out? This page has four H2 headings. Go ahead and print the page. Each H2 will use a new page and will act as the Header for the printed page. Remember, though, that you have to be using Internet Explorer 4 or better. -------------------------------------------------------------------------------- Setting A Specific Page Break Maybe it's better not to have every H2 break the page. Maybe you'd like a page break at a specific point to keep a particular look. You do that by setting up a class of page breaks. You can set up the class on any HTML command, but I think the best method is to set up the class within a <BR> or <P> command. That way there's some white space where the page can break. Here's a look at the format (this will sit between your <HEAD> tags): <STYLE TYPE="text/css"> P.breakhere {page-break-before: always} </STYLE> This then will be the activator for the page break: <P CLASS="breakhere"> You can set up as many different classes as you'd like as long as you keep following the same format as above. -------------------------------------------------------------------------------- And That's That... This is another one of those commands that I would use if there's a need for it, regardless of the type of browser the viewer is running. Those that understand the command get the effect, and those that don't just get a straight page print. Either way, the user gets a nice print of the page. It's just that in one of the prints, you're able to set a few parameters. Enjoy! Css 1089 03/30/2025