Jump to content

All Activity

This stream auto-updates     

  1. Today
  2. I have resized an image to fit inside a canvas without any problems. However, now I need to resize a canvas without resizing the image that it contains. How do I do this? Thank You
  3. How site's admin manage their site ?

    Hey there thanks for the response.If u don't mind can u please show some real site's (i mean not example) CMS design/UI looks
  4. Yesterday
  5. How to get an iframe with no borders ?

    Thanks , got rid of '}' & width "" : Width is working fine now . How come this page can use html { height: 100%; https://www.w3schools.com/cssref/tryit.asp?filename=trycss_dim_height_percent Also , on same page they are showing Resize values . Theoretically , could I likewise calculate a Resize value , then plug this absolute value into "td height: value" ? ? Also , I am using css .thumb:hover, .thumb:hover span { . It works fine when not using <iframe . But when I use <iframe , instead the hover object and <img show up side by side . Is there a way to get hover working ? Thanks
  6. Ingolme:  I have a posting on the css area.  Would you take a look at for me.

    Thanks in advance

    ohsnyder

  7. How site's admin manage their site ?

    Everybody uses a CMS. The only difference is whether the CMS is created by a third party (like Wordpress) or is custom built by the same team that owns the website.
  8. getting max value in php

    $highmark is a string. Do not implode $highmarks.
  9. w3.css form to the php action page

    Try using value ="some data" instead of placeholder. value =" ' . <?php $var ?> . ' " or value =" ' . <?php $var['columnName'] ?> . ' " depending on situation if I'm understanding your question
  10. w3.css form to the php action page

    I am trying to use the example contact form in the w3-ccs examples. The submit form processes but there is no data sent with the form. Can some one set me on the right path on how to get the data into php processing page? php process code: <?php $EmailFrom = "email@greengardensdesign.com"; $EmailTo = "email@greengardensdesign.com"; $Subject = "Possible New Job"; $Name = Trim(stripslashes($_POST['Name'])); $Address = Trim(stripslashes($_POST['Address'])); $City = Trim(stripslashes($_POST['City'])); $Email = Trim(stripslashes($_POST['Email'])); $Phone = Trim(stripslashes($_POST['Phone'])); $Message = Trim(stripslashes($_POST['Message'])); // validation $validationOK=true; if (!$validationOK) { print "<meta http-equiv=\"refresh\" content=\"0;URL=error.htm\">"; exit; } // prepare email body text $Body = ""; $Body .= "Name: "; $Body .= $Name; $Body .= "\n"; $Body .= "Address: "; $Body .= $Address; $Body .= "\n"; $Body .= "City: "; $Body .= $City; $Body .= "\n"; $Body .= "Email: "; $Body .= $Email; $Body .= "\n"; $Body .= "Phone: "; $Body .= $Phone; $Body .= "\n"; $Body .= "Message: "; $Body .= $Message; $Body .= "\n"; // send email $success = mail($EmailTo, $Subject, $Body, "From: <$EmailFrom>"); // redirect to success page if ($success){ print "<meta http-equiv=\"refresh\" content=\"0;URL=contactthanks.php\">"; } else{ print "<meta http-equiv=\"refresh\" content=\"0;URL=error.htm\">"; } ?> input form code: <form action="/contactengine.php" method="post" class="w3-container w3-card-4 w3-light-grey w3-text-blue w3-margin"> <h2 class="w3-center">Contact Us</h2> <div class="w3-row w3-section"> <div class="w3-col" style="width:50px"><i class="w3-xxlarge fa fa-user"></i></div> <div class="w3-rest"> <input class="w3-input w3-border" name="Name" type="text" placeholder="Full Name"> </div> </div> <div class="w3-row w3-section"> <div class="w3-col" style="width:50px"><i class="w3-xxlarge fa fa-car"></i></div> <div class="w3-rest"> <input class="w3-input w3-border" name="Address" type="text" placeholder="Street Address"> </div> </div> <div class="w3-row w3-section"> <div class="w3-col" style="width:50px"><i class="w3-xxlarge fa fa-car"></i></div> <div class="w3-rest"> <input class="w3-input w3-border" name="City" type="text" placeholder="City and State"> </div> </div> <div class="w3-row w3-section"> <div class="w3-col" style="width:50px"><i class="w3-xxlarge fa fa-envelope-o"></i></div> <div class="w3-rest"> <input class="w3-input w3-border" name="Email" type="text" placeholder="Email"> </div> </div> <div class="w3-row w3-section"> <div class="w3-col" style="width:50px"><i class="w3-xxlarge fa fa-phone"></i></div> <div class="w3-rest"> <input class="w3-input w3-border" name="Phone" type="text" placeholder="Phone"> </div> </div> <div class="w3-row w3-section"> <div class="w3-col" style="width:50px"><i class="w3-xxlarge fa fa-pencil"></i></div> <div class="w3-rest"> <input class="w3-input w3-border" name="Message" type="text" placeholder="Message"> </div> </div> <button class="w3-button w3-block w3-section w3-blue w3-ripple w3-padding">Send</button> </form>
  11. How site's admin manage their site ?

    I was just thinking how the site's management panel looks like.I know there are CMSs but besides them how people manage, do they make their own custom admin panel to control the site or what else ? I was just curious how the control panel looks like that's all. Share some screenshots of your site's backend design (off course not the code -- i mean share backend working design/UI looks )
  12. W3 Cards Responsive Center Align

    I had a hard job loading on desktop, god knows what it will be like for smaller devices. All these cards use float left, they won't centre while float: left; is used.
  13. getting max value in php

    ........... ........... for ($i = 0; $i < $highmq->num_rows; $i++) { .......... .......... .......... $highmarks[] = ($highmarkth + $highmarkpr); } $highmark = implode(',', $highmarks); echo max($highmark); here!
  14. W3 Cards Responsive Center Align

    Hi Guys, I just can not get the firggeenly awesome ws-card aligned center in my responsive lay out. I been breaking my head and trying this or that but just cant... my brain cant...I need help Here is a link to my awesome w-3 responsive card layout. The lonely card at the end of the page is aligned left. I would like to center 1 image in a Row with a max-width 600px. Now when I center with the reposive cells it goes to 100% of page and thats too big. http://bestanimations.com/Holidays/Birthday/birthday-flowers-gif.html
  15. javascript rounding number contained in var up

    tested this morning and using &quot; worked it is amazing that something so simple to do , is all that was needed to fix it lol thank you for help Ingolme
  16. getting max value in php

    Where did you use the max() function?
  17. getting max value in php

    thank you @justsomeguy for the reply. your reply helped me to understand some new things. it is fruitful. i want to explain some more about my mysql columns. in the table marksheet, i insert data to only one column at one time. this means in each row, if it has data on marktheory then markpractical is surely empty. and if markpractical has some data in it, then marktheory is surely blank. so now do you think it would be ok if i set $highmarkth and $highmarkpr outside the if statements and set $higmark as an array outside the for loop? and thank you too @Ingolme . your suggested code guided me very nicely. it gave the data with commas in it. but one problem more occurred. when i use max() function, it says it is not an array (Warning: max(): When only one parameter is given, it must be an array in J:\xampp\htdocs\is-cool\test.php on line 23). and i used just mysqli->query in stead of prepared statement because it is executed internally. it has no user submitted data. wouldn't it be ok?
  18. How to get an iframe with no borders ?

    Get rid misplaced '}', double quote after width. Height with percentage value unit won't work, it has to be unit of 'px' or 'vh'.
  19. Last week
  20. Help to open this resource ?

    That's not a standalone script, you're downloading that entire package and not just the one file, right? Look at the very first line of code.
  21. How to get an iframe with no borders ?

    Hello & Thanks, Yes, the <iframe> is working , But shows up as very small height & width . My attempts to get height:100%; are not working . I whittled down my code. Can you take a look at my code & see what's the prob . Thanks <!DOCTYPE html> <head> <!-- http://vmars.us/index.html http://vmars.us/default.html --> <title> vmars.us.html </title> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> <style type="text/css"> /* html5 semantics tags */ article, aside, div, figure, footer, header, hgroup, menu, nav, p, section, summary{ display: block; } html { height: 100%; } #thumbwrap { } .thumb img { } .thumb span { } } body { font-size: 18px; line-height:1.25em; height: 100%;} iframe {height: 100%; } table { border-style: solid; border-color: #5A697D; border-width: 20px; } #tdLeft { text-align: center; height:100%; width:25%"; } #tdRight { text-align: left; height:100%; width:75%"; } h1, h2, h3 {font-size:22px;} </style> </head> <body style="background-color:#000000"> <!-- <body style="color:#FFFFFF"> --> <!-- =======================================TOP TABLE======== --> <table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2" > <tbody> <tr> <!-- ============================================== --> <td id="tdLeft" style="background-color:#D3DDEB; text-align:center; " > <!-- <div id="topLeft" style="text-align:center;"> --> <br> <iframe src="buttons_iframe.html" style="border:none; "> </iframe> <!-- </div> <!-- id="topLeft" --> </td> <!-- https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_iframe_frameborder_css --> <td id="tdRight" style="text-align: center; " bgcolor="#FFFFFF"> <div id="TopRightImage" style="text-align:center;"> <img src="http://vmars.us/javascript/images/Welcome-gold.png" alt="SmileyFace.png" width="150" height="35"> </div> <!-- TopRightImage --> <div id="TopRightContent" style="text-align:center;"> <br><br> ************************************ , <br><br> ============================= . <br><br> ********** <br><br> ============================= . <br><br> ************************************ : <br><br> <a href="http://vmars.us/freeware/clipLog/clipLog-Help.html" target="_blank">clipLog/clipFind : Personal Information Manager</a> <br><br> <a href="http://vmars.us/freeware/myFavs/myFavs_Help.html" target="_blank">myFavs : Internet Bookmark Manager</a> <br><br> <a href="http://vmars.us/freeware/mySort/mySort_Help.html" target="_blank">mySort : Handy Text Sorter</a> <br> <br>"All things in moderation , except for love and forgiveness" <br> </div> <!-- TopRightContent --> </td> </tr> </tbody> </table> <br> <!-- ============================================== --> </body> </html>
  22. meaning of *{

    https://www.w3schools.com/cssref/sel_all.asp
  23. meaning of *{

    It's just "*", the "{" is the opening brace for the rule set.
  24. meaning of *{

    Universal selector for all element whatever they are.
  25. meaning of *{

    Hi Guys Im new here and im starting to learn CSS. Can someone exolain me what this means *{ . I allready googled about it, but i can't find anything. Sorry for this basic questions. thank you
  26. javascript rounding number contained in var up

    That will probably work, considering that HTML parses all entities before executing anything. Alternatively, you can just escape double quotes with a backslash. echo "<div class='contframeturn' onclick='matchshow(\"$matchID\")'>";
  27. javascript rounding number contained in var up

    ok thanks, its 8.46PM for me now, so shall be tomorrow before I can try. I do echo the text out due to there being a variety of different match lists and options person viewing can select on page. echo "<div class='contframeturn' onclick='matchshow(&quot;$matchID&quot;)'>"; Presume the &quot; won't work in the above echo line?
  28. Help to open this resource ?

    What error?
  1. Load more activity
×