Jump to content

scout1idf

Members
  • Posts

    131
  • Joined

  • Last visited

Everything posted by scout1idf

  1. You could try it this way.......... <!DOCTYPE HTML><html><head> <title> </title> <style type="text/css"> /*<![CDATA[*/html, body{ height:100%; width:100%; margin:0px; padding:0px; background:#9aa;}#head{ width:95%; height:50px; border:5px solid #d2b48c; position:fixed; top:0px; left:2%; background:#d2b48c;}#headspaceleft{ width:29%; height:100%; background:red; display:inline-block; margin:0px; padding:0px;}#headspacemiddle{ width:41%; height:100%; background:white; display:inline-block; margin:0px; padding:0px;}#headspaceright{ width:29%; height:100%; background:blue; display:inline-block; margin:0px; padding:0px;}#wrap{ width:95%; min-height:100%; border:1px solid #d2b48c; margin:60px auto 60px auto; background:#7e6c54; padding:4px;}#foot{ width:95%; height:50px; border:5px solid #d2b48c; position:fixed; bottom:0px; left:2%; background:#d2b48c;} /*]]>*/ </style></head><body> <div id='head'> <div id='headspaceleft'> </div> <div id='headspacemiddle'> </div> <div id='headspaceright'> </div> </div> <div id='wrap'> Put your main content in this space...... </div> <div id='foot'> </div></body></html> A little different style, but it works for me......
  2. Instead of...... <input type="text" name="EndDate" id="EndDate" size="20" tabindex="9" value="" disabled="disabled"> try.... <input type="text" name="EndDate" id="EndDate" size="20" tabindex="9" value="" disabled>
  3. scout1idf

    Forum Issues?

    Is anyone ever going to fix this site??
  4. If I understood what you were asking, try this..... <!DOCTYPE HTML><html><head> <title>centred horizontal navigation</title><style type="text/css">/*<![CDATA[*/#navi { width: 990px; margin: 0px auto;} ul { list-style: none; margin:0px auto; text-align:center;}ul li { padding: 20px; border-left:1px solid black; display:inline-block;}li:nth-child(1){ /*remove left border on the first li*/ border-left:0px;}/*]]>*/</style></head><body> <div id="navi"> <ul> <li>Home</li> <li>Page Two</li> <li>Page Three</li> <li>Page Four</li> <li>Page Five</li> <li>Page Six</li> </ul> </div></body></html>
  5. Try http://www.colorzilla.com/gradient-editor/.
  6. Change this...... .nav ul li ul li{ margin-left: 0px; list-style:none; text-decoration:none; float:none; display: block; border: 0; box-shadow: 0 1px 0 #111, 0 2px 0 #666; color: white;} to this...... .nav ul li ul li{ margin:0px 0px 0px -40px; list-style:none; text-decoration:none; float:none; display: block; border: 0; box-shadow: 0 1px 0 #111, 0 2px 0 #666; color: white;} Adjust neg. left margin as needed. EDIT: For some reason it won't show the negative margin-left. I tested it with a minus 40px left margin and it looked pretty good to me.......
  7. It looks to me that the SQL certificate is included in the ASP certificate and the SQL (MySQL) is included in the PHP certificate. I didn't see just a SQL certificate either.
  8. http://en.wikipedia.org/wiki/ColdFusion
  9. The code you are using...... <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Style-Type" content="text/css"> <title></title> <meta name="Generator" content="Cocoa HTML Writer"> <meta name="CocoaVersion" content="1038.36"> <style type="text/css"> p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px} </style></head><body><p class="p1"><!DOCTYPE html></p><p class="p1"><html></p><p class="p1"><body></p><p class="p2"><br></p><p class="p1"><h1>My First Heading</h1></p><p class="p2"><br></p><p class="p1"><p>My first paragraph.</p></p><p class="p2"><br></p><p class="p1"></body></p><p class="p1"></html></p></body></html> .......will give you... <!DOCTYPE html> <html> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> </body> </html> To show the page you want to see, minus the styling, you need to use this code..... <!DOCTYPE html><html><head> <title>my first first website</title></head><body> <h1>My First Heading</h1> <p>My first paragraph.</p></body></html> ...... to give you.... My First HeadingMy first paragraph. Hope this helps...
  10. I've had Open Office for years and never noticed that. I have a PDF creator program I use, but this is quicker. Thanks for the info....
  11. Kindle supports PDF format if you want to go that way. I haven't tried it with my wife's Kindle, but I know that PDF is listed in the description.
  12. From a non-professionals opinion....... Put a disclaimer, commented out of course, in the code. /* This page is coded to the customers standards, NOT MINE! */ I don't know if it would do any good or if it's even allowed, but it's worth a try.
  13. See if this will help you out...... <!DOCTYPE HTML><html><head> <title> Creating Cells With Div's </title></head><body> <div style="border:2px solid red;display:table;"> <div style="width:100px;display:table-cell;"> your content.... your content.... your content.... your content.... your content.... your content.... your content.... your content.... your content.... your content.... your content.... </div> <div style="width:100px;border-left:2px solid black;display:table-cell;"> your content.... your content.... your content.... your content.... your content.... your content.... your content.... your content.... your content.... your content.... your content.... your content.... your content.... your content.... your content.... your content.... your content.... your content.... your content.... </div> <div style="width:100px;border-left:2px solid black;display:table-cell;"> your content.... your content.... your content.... your content.... your content.... your content.... your content.... your content.... your content.... your content.... </div> </div></body></html>
  14. Try another server package. I use EasyPHP and have it installed on a 4 gig flash drive. The version I use, though I see they have a couple newer ones out now, is.... EasyPHP 12.0 with PHP 5.4.4 PHP 5.4.4 | Apache 2.4.2 | MySQL 5.5.25a | PhpMyAdmin 3.5.1 | Xdebug 2.2.0 When it's not in use, I shut it down, eject the drive and put it away. If I would need to take it with me, I can just drop it in my pocket. Hope this helps.....
  15. Something like this..... <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>Demo</title><style type="text/css">#menu { width:160px; padding:0 1em;}#menu .has_children { background: url('images/arrow-right-white.gif') no-repeat 100% 50%;}#menu .has_children:hover { background: url('images/arrow-right-yellow.gif') no-repeat 100% 50%;}#menu ul { margin:0; padding:0; background-color:red;}#menu ul li { padding:0; list-style:none; color: white; border-bottom: 1px solid white; cursor:pointer;}#menu ul li:hover { background-color:pink; color: yellow; position:relative;}#menu ul li a { text-decoration: none; color: white; display:block; padding:2px 3px;}#menu ul li:hover a{background:pink}#menu ul li:hover li a{background:transparent}#menu ul li a:hover { background-color:pink; color:yellow;}#menu ul ul { /*display:none; don't use this as bad for accessibility*/ margin-left:-999em;/* use this method of hiding instead */ position:absolute; left: 130px; top:5px; border:1px solid white; background-color:#0000A0;}#menu ul li:hover ul { margin-left:0;}#menu ul ul li { border-bottom:1px solid white; width:170px; float:left; display:inline;}#menu ul ul li:hover { text-decoration:underline;}</style></head><body><div id="menu"> <ul> <li><a href="#">Item 1</a></li> <li class="has_children"><a href="#">Item 2</a> <ul> <li><a href="#">Item 2.1</a></li> <li><a href="#">Item 2.2</a></li> </ul> </li> <li><a href="#">Item 3</a></li> </ul></div></body></html>
  16. Try this, it worked for me in FF, IE, Opera and Chrome..... <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"><html><title>index</title> <frameset rows="296,*,123" framespacing="0" border="0" frameborder="0"> <frame name="top" scrolling="no" noresize="noresize" target="contents" src="top.html"> <frame name="contents" target="main" src="content.html"> <frame name="bottom" scrolling="no" noresize="noresize" target="contents" src="bottom.html"> <noframes> <p>This page uses frames, but your browser doesn't support them.</p> </noframes> </frameset></html> Notice with frameset's, you don't use <head> or <body> tags.. Hope this helps.
  17. PHP and MySQL are used for register/log-in systems.
  18. You don't use <head> or <body> tags with framesets but it might help if you make one change... <!DOCTYPE html><html><title>Well come to VAB.com</title> <frameset rows="*,65%,*" border="1"> <frame name="login" id="li" scr="head.html" scrolling="no"> </frame> <frame name="contion" id="cont" src="signup.html" scrolling="auto"> </frame> <frame name="language" id="lang" src="language.html" scrolling="auto"> </frame> </framest> <------- this should be </frameset></html>
  19. Hi, I'm working on a system to save records for my wife to take to the doctor and I need to print out only the records that we haven't taken to him already. I'm storing them in a MySQL database using PHP to both store and retrive. It's working great except for retrieving date ranges. I can retrieve either a single day or all of records. I need to be able to retrieve and print selected date ranges so we don't... 1.) duplicate records the doctor already has2.) waste my ink and paper printing what we don't need This is what I have.. Database example.....(obviously the real information is personal and more in-depth.) +----+-------+----+------+-------------+| id | month | day| year | information |+----+-------+----+------+-------------+| 1 | 2 | 3 | 13 | it's Sunday |+----+-------+----+------+-------------+| 2 | 2 | 4 | 13 | it's Monday |+----+-------+----+------+-------------+ etc..... +----+-------+----+------+-------------+| 40 | 3 | 14 | 13 | it's Thurs |+----+-------+----+------+-------------+| 41 | 3 | 15 | 13 | it's Friday |+----+-------+----+------+-------------+ etc..... Example form to retrieve information.... (the real one is complete and styled nicely ) <form> <h2>From:</h2> <input type='text' name='month1' /> //beginning month <input type='text' name='day1' /> //beginning day <input type='text' name='year1' /> //beginning year <h2>To:</h2> <input type='text' name='month2' /> //ending month <input type='text' name='day2' /> //ending day <input type='text' name='year2' /> //ending year <input class='button' type='submit' value=' GO ' /></form> What I have/need help with..... SELECT * FROM healthWHERE (this is the part I can't figure out {month1 day1 year1} {month2 day2 year2})ORDER BY day ASC Thanks in advance for your help....
  20. Try this... <!DOCTYPE html><html><head> <meta charset="utf-8"> <title></title><style type="text/css" media="screen">* {margin: 0;padding: 0;}#container {width: 70%;min-height: 400px;background: gray;border: 2px solid black;}#side {width: 30%;height: 400px; background: #FF6600;overflow: auto;text-align: center;float: right;}#footer {width: 100%;height: 45px;background: yellow;clear: both;}</style></head><body><div id="container" >Container <div id="side">Side</div> <div id="footer">Footer</div></div></body></html> Hope it helps
  21. scout1idf

    @media print

    Actually, I just used the example that was shown in the link for my question. What I'm using are <div>'s that are populated by my MYSQL database using PHP. Each one has a min-height but can expand depending on what's filling them so there isn't a set height. The actual declaration in my style sheet is.... @media print{div .holder{page-break-inside:avoid;}} Opera will work for me when I need to print out the information if there isn't a css solution to the browser problem......
×
×
  • Create New...