HTML

57K

Solutions

30K

Contributors

HTML (HyperText Markup Language) is the main markup language for creating web pages and other information to be displayed in a web browser, providing both the structure and content for what is sent from a web server through the use of tags. The current implementation of the HTML specification is HTML5.

Share tech news, updates, or what's on your mind.

Sign up to Post

I have a form to send an email.  However it does not work........

<form action="mailto:ds@mediascrubber.com" method="post" enctype="text/plain">
              <form class="form-horizontal" method="post">
                  <div class="input-group">
                    <input type="text" class="def-input" placeholder="Your Email Here">
                    <span class="input-group-btn">
                      <button class="btn-form btn" type="button">Subscribe</button>
                    </span>
                  </div>
              </form>

Open in new window

0
Technology Partners: We Want Your Opinion!
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

I have the following angular code:

var myApp = angular.module('myApp', []);

myApp.controller('myAppController', ['$scope', function ($scope) {

    $scope.displayData = [{
        column1: 'row1 column1',
        column2: 'row1 column2',
        column3: 'row1 column3',
        column4: 'row1 column4'
    },
    {
        column1: 'row2 column1',
        column2: 'row2 column2',
        column3: 'row2 column3',
        column4: 'row2 column4'
    },
    {
        column1: 'row3 column1',
        column2: 'row3 column2',
        column3: 'row3 column3',
        column4: 'row3 column4'
    },
    {
        column1: 'row4 column1',
        column2: 'row4 column2',
        column3: 'row4 column3',
        column4: 'row4 column4'
    }

    ];

}]);

Open in new window


With the following html view:
<div ng-app="myApp">
    <div ng-controller="myAppController">
        <div class="row" style="background-color: gray; color: white;">
            <div class="row" style="background-color: gray; color: white;">
                <div class="col-xs-4 col-md-4">Header 1</div>
                <div class="col-xs-2 col-md-2">Header 2</div>
                <div class="col-xs-1 col-md-1">Header 3</div>
                <div class="col-xs-3 col-md-3">Header 4</div>
                <div class="col-xs-1 col-md-1"></div>
                <div class="col-xs-1 col-md-1"></div>
            </div>
        </div>
        <div ng-repeat="dataItem in displayData">
            <div class="row">
                <div class="col-xs-4 col-md-4">{{ dataItem.column1 }}</div>
                <div class="col-xs-2 col-md-2">{{ dataItem.column2 }}</div>
                <div class="col-xs-1 col-md-1">{{ dataItem.column3 }}</div>
                <div class="col-xs-3 col-md-3">{{ dataItem.column4 }}</div>
                <div class="col-xs-1 col-md-1">update</div>
                <div class="col-xs-1 col-md-1">delete</div>
            </div>
        </div>
    </div>
</div>

Open in new window


Which produces the following result:
RegularView.png
But when I make the browser smaller or change the device view, the column header and data seem to overlap:
Problem1.png
Is there an elegant way to resolve this issue?


Thanks.
0
<div class="panel panel-default">

<div class="panel-body">

<form action="/action_page.php">

<div class="form-group">
    <label for="productType">Product Type*</label>
    <select class="form-control" id="productType">
      <option>Purchase</option>
      <option>Refinance</option>
    </select>
  </div>
 

<label for="purchasePrice">Purchase Price*</label>
<div class="input-group">
  <span class="input-group-addon" id="purchasePrice">$</span>
  <input type="text" class="form-control" aria-describedby="purchasePrice">
</div>

<label for="downPayment">Down Payment*</label>
<div class="input-group">
  <span class="input-group-addon" id="downPayment">$</span>
  <input type="text" class="form-control" aria-describedby="downPayment">
</div>

<label for="state">State*</label>
<div class="form-group">
      
      <div>
            <select class="form-control" id="state" name="state">
                  <option value="">N/A</option>
                  <option value="AK">Alaska</option>
                  <option value="AL">Alabama</option>
                  <option value="AR">Arkansas</option>
                  <option value="AZ">Arizona</option>
                  <option value="CA">California</option>
                  <option value="CO">Colorado</option>
                  <option value="CT">Connecticut</option>
                  <option value="DC">District of Columbia</option>
                  <option value="DE">Delaware</option>
                  <option value="FL">Florida</option>
                  <option value="GA">Georgia</option>
                  <option value="HI">Hawaii</option>
                  <option value="IA">Iowa</option>
                  <option …
0
requirements for the regex are:

•      Length: 17 chars
•      Positions 1 – 4: ‘70Z0’ or ‘70z0’ where 0 is zero

^70[Zz]0[A-Za-z0-9]{1,17}$

Open in new window


Does anyone see where I'm missing something?

Thanks
0
Howdy All,

Have an issue with Outlook crashing. From what i can tell it seems to be only occurring with emails that have embedded HTML images.

The issue occurs whether Outlook is running normally or in safe mode. The crashing occurs as soon as Outlook tries to load the images - so if you disable the reading pane you can use outlook, until you double click and try to open an email.

So far i've

 - Repaired Outlok
 - Removed and reinstalled office
 - Disabled all add on's in Outlook
 - Removed and recreated Outlook Profile
 - Removed and recreated Outlook PST File
 - Setup new gmail account, new PST file in a new Profile

It was also suggested that it may be related to an IE issue. IE opens without an issue, can browse and load web pages without any errors or freezing.

System Details:

Win 7 Pro
Office 2013 Home & Business
0
I am building a html5-canvas application which can draw line, circular text and now i need to write the text in oval shaped text.
https://stackoverflow.com/questions/44927005/how-to-draw-an-ovel-shaped-text-in-html-canvas
0
i created one html5 form which is connected to phpmyadmin .The form is opening in other PC's with the help of my IP address.But why my form is not opening in other places when i'm using with ip adderss???
0
How would I convert the CSV from this line of code to an HTML file? Inside of Powershell.

Invoke-SelfSearch -ExchHostname outlook.office365.com -Mailbox user@domain.onmicrosoft.com -Remote -OutputCsv archive.csv -Terms *

Thanks!
0
Hello,

I've been asked to add "share buttons" to the HTML Email design I've created.  They want an email button, facebook button, linkedin button, and twitter button.  What is the most reliable way to code this?  I suggested using addthis.com - but the internal team does not want to use this service as a go between.  I've never done this before, so I'm not sure how to achieve this functionality.

Thanks!
0
Hi, I have a dynamic CF page with  printout tables. Problem is with printing. Table printout can be split depending on the dynamic content. I need to force a new page for each table output. Is there a CF or html string I can use to force this break

many thanks
0
Don't Cry: How Liquid Web is Ensuring Security
Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Hey folks. Web design and css is not my day job, more of a side hobby. That said I've been working iteratively on my site for a while now, and have worked myself into a corner when trying to make the site mobile friendly.

Overall I've had pretty good luck taking a two-column dynamic layout I tracked down a few years back and adapting it to mobile. I achieved the dynamic sizing for web with some nested divs that by necessity have a greater width than the window and need to be hidden, though.

On mobile, this only works if I assign overflow-x:hidden; to html,body. If I follow proper procedure and assign it, or the website scrolling setting, to document.body instead (or any other combination therein), the smooth scrolling is broken. I like the smooth scrolling, so even though it cost me the function of tapping the time bar to move to the top of the page, I went with it. It worked, right?

I accepted this compromise until I started to go further and taking my sidebar menus and try to make them fixed position nav menus for mobile. Even that worked fine until I created a logobar that would pop in upon scrolling away from the top of the page. The same compromise that broke "tap to top" has broken any JQuery scrollTop functions I tried to include, on mobile, using a simple enough technique I found here.

Now I have the choice, make any change at all to this css and lose smooth scrolling and gain my logobar and tap to top: as seen in test page 1
0
Hello,

I have a case where I have lots of HTML pages with <a name="[x]"> tags without any closing </a> tags.

Is there a regex that will find those <a tags so I can remove them?

Thanks in advance,

Steve
0
I would like to make a parse of postfix mail log in an HTML/PHP page with a search bar and then creating a dynamic table with all these tags. when the table is done I should be able to click on the "Date" and another page should open with others info about that log *(2)

I will copy an example of a log

search: from: ...... to: ...... date: from: .... to: ....

Eg Table example: Date | time | from: Jack | to: John | status:

*(2)

client:
message
id:
Size:
relay:
delay(s)
status detail
KLMS:
av-reason:
ap-reason:
as-reason:
cf-reason:
action:
rules:



809318:Jul 11 14:13:50 amail-2014 postfix/smtpd[17127]: 78F5E83F28: client=mx0a-00164e02.pphosted.com[67.231.149.89]
809320:Jul 11 14:13:50 amail-2014 postfix/cleanup[18135]: 78F5E83F28: message-id=<ADR420000021230890209457A56BCF141EE799C64C575B380E1C@molex.com>
809324:Jul 11 14:13:50 amail-2014 postfix/qmgr[27711]: 78F5E83F28: from=<NO-REPLY@MOLEX.COM>, size=30390, nrcpt=1 (queue active)
809325:Jul 11 14:13:50 amail-2014 postfix/smtp[11782]: 78F5E83F28: to=<*****@SYLEX.SK>, relay=mail1.sylex.sk[195.168.126.227]:25, delay=0.73, delays=0.59/0/0.01/0.13, dsn=2.6.0, status=sent (250 2.6.0 <ADR420000021230890209457A56BCF141EE799C64C575B380E1C@molex.com> [InternalId=50607599648815, Hostname=SYXEX01.sylex.sk] Queued mail for delivery)
809326:Jul 11 14:13:50 amail-2014 postfix/qmgr[27711]: 78F5E83F28: removed
809323:Jul 11 14:13:50 amail-2014 KLMS: not processed: …
0
I need to palace DOB in text format only so i wrote the code like this but i need some validation like DD should be upto 31 days only,MM should be upto 12 months and similarlu YYYY also
  DOB<input  pattern="^([0-9]{02}/[0-9]{02}/[0-9]{4})" type="text" placeholder="DD/MM/YYYY"></td>

Open in new window

0
If one EmployeeID is already exists in the phpmyadmin another employee should not enter the data with the same EmployeeID so can any one add alert message to my code???
<?php

$EmployeeID = "";
if(isset($_POST['EmployeeID'])){
    $EmployeeID = $_POST['EmployeeID'];
} 

$FirstName = "";
if(isset($_POST['FirstName'])){
    $FirstName = $_POST['FirstName'];
 } 

$MiddleName = "";
if(isset($_POST['MiddleName'])){
    $MiddleName = $_POST['MiddleName'];
 } 
                                                                                                                                                                                                                                                                                                                                                                                            
$LastName = "";
if(isset($_POST['LastName'])){
    $LastName = $_POST['LastName'];
 } 

$FatherName = "";
if(isset($_POST['FatherName'])){
    $FatherName = $_POST['FatherName'];
 } 

$SpouseName = "";
if(isset($_POST['SpouseName'])){
    $SpouseName = $_POST['SpouseName'];
 } 

$MotherName = "";
if(isset($_POST['MotherName'])){
    $MotherName = $_POST['MotherName'];
 } 

$DOBDay = "";
if(isset($_POST['DOBDay'])){
    $DOBDay = $_POST['DOBDay'];
 } 

 $DOBMonth = "";
if(isset($_POST['DOBMonth'])){
    $DOBMonth = $_POST['DOBMonth'];
 }

$DOBYear = "";
if(isset($_POST['DOBYear'])){
    $DOBYear = $_POST['DOBYear'];
 } 

$DateofBirth 

Open in new window

0
Hello Everyone,
I have one issue about PDF file.
I generate dynamic PDF template(Like Certificate). The file content some fields like Firstname,Lastname,Course type,etc.
I want to write dynamic content into PDF as firstname, lastname etc.

I have tried MPDF,FPDF etc tools but that's not working.Also used PDF to html conversation but after converting HTML regenerates not possible from html into proper format.

Please let me know if anyone have other idea to direct replace content into Existing pdf using PHP.
I have sample pdf files.
I want to replace content into given attachment.
This is demo file i have many files with different templates.
Waiting for help.
Certi-FWT-basis-en-opfris_PDF.pdf
0
please look attached file.i need to print the data individulaly
i created two tabular forms in phpmyadmin those two are linked data is fetching here the problem is while fetching the data i'm getting the employess data continusly.
for example : i created two tables one is employee family and other one is employee personal.while fetching the data all employees family details are fetching at a time similarly personal details comming like that but i want in order
<h3 style="font-size:10%;"><h3 style="text-align:center;color:black;">EMPLOYEE INFORMATION</h3>
<?php
 $dbhost = "localhost";
 $dbuser = "GCSADMIN";
 $dbpass = "123456";
 $db = "employee_db";

    $conn = mysql_connect($dbhost, $dbuser, $dbpass,$db);

   if(! $conn ) {
      die('Could not connect: ' . mysql_error());
   }

   $sql = "SELECT EmployeeID,FirstName,MiddleName,LastName,FatherName,SpouseName,MotherName,DOB,Age,BloodGroup,MaritalStatus,Gender,ContactNumber,EmergencyContactNumber,Email,DateOfJoiningatGemini,TotalYearOfExperience,ReleventYearOfExperience,PANnumber,PassportNumber,UANnumber,AadharNumber,PresentAddress,PermanentAddress FROM employee_information";

   mysql_select_db('employee_db');
   $retval = mysql_query( $sql, $conn );
   if(! $retval ) {
      die('Could not get data: ' . mysql_error());
   }
   
   echo "<table border='5px solid block', align='center', width='50%', padding='12px 20px' >";

   while($row = mysql_fetch_assoc($retval, MYSQL_ASSOC)){

     ?>
     
            <tr><th 

Open in new window

0
I am somewhat in range to creating a script to measure each line of a paragraph by a certain amount of characters, add the <br> tag (line break), create a carriage return and continue with the next word. Below is what I have so far. I included what I want to do in each line as a comment. Please help, thanks.

_______

#!/usr/bin/perl -w

my $indChar = /./g   # any character

def (readLine)
    read line < file.txt;    # read each individual line
    foreach ($indChar);
        $myTally += 1;
        if ($myTally = 100);
            # confirm if next character is a space \s $indChar ? (\s)
                # stop;
                #
            # confirm if next character is a letter \s $indChar ? (\w)
            # next;
0
I'm trying to understand how this works so that I can make a few small tweeks.
https://github.com/squallooo/MT5

When the page opens a dropdown list is populated, and a song selection can be made.
I can see that a Function loadSong(songName) { ...} is fired off at that point. (it is in sounds.js)

I have found that I can force the song by doing this on line 342
currentSong = new Song("Londres Appelle", context);

Open in new window

"Londres Appelle" is a song in the demo list.

My question is, would it be possible to force a 'song' in this function by using a URL parameter?
eg.
http://www.mydomain.com/index.html?songName="Londres Appelle"

My background: JavaScript and Node.js newbie. Worked extensively with Classic ASP and VBScript back in the day  (2001-2003). I understand using QueryString to pass a variable to a page, but I don't know if I need to think differently in Node.js.

Thanks.
0
WordPress Tutorial 1: Installation & Setup
WordPress Tutorial 1: Installation & Setup

WordPress is a very popular option for running your web site and can be used to get your content online quickly for the world to see. This guide will walk you through installing the WordPress server software and the initial setup process.

I use query to do basic validation and now want to add runat to each html input, and hope to work with asp button.

And I no longer can use validationgrup any more on html side. Do you have any work around solution?
I want to use asp.button for sure with html input runat

Thanks,

<input class="search-field" runat="server" id="customCode" type="text" value=""/>
<asp:LinkButton ValidationGroup="form" runat="server" ID="submitAddNew" OnClick="submitAddNew_Click" CssClass="button preview">
Preview <i class="fa fa-arrow-circle-right"></i>
</asp:LinkButton>

Open in new window

0
I have a php file to do some calculations and I want to pass the result to a paypal button (amount)  I have tried by several ways with no result.  I keep getting amount error

I am attaching the htm and php files

I want to be able to send the amount via paypal button

Tnx
testhtm.htm
calc.php
0
Hi, I am using the most recent divi theme and I'm on wordpress 4.8. They have a tab module, I'm using it here: http://techgardens.com/partner-forcepoint.

From the second tab, Cloud Security, I want to be able to place a link to tab 4, Contact Us.

http://www.kriesi.at/support/topic/trigger-anchor-link-to-tab-or-accordion-tab/

I looked there, and no luck. The thing is, it's not an id for that tab, it is class .et_pb_tab_4.
I saw some other explanations using php and jquery, but they are way over my head. Can anyone help?
0
I Created a form submitting data in a MySQL database

Now I try to get the following done.

To fill automatically some of the fields depending on the values in a previous field.  

Example: i have 3 fields

Firstname: ......
LastName: ......
UserName: .....
address: ......

All information is known in the db so when typing in the FirstName the LastName and  Username should automatically come up and be filled.

Thanks
0
I have an issue where Javascript is changing Chinese characters for some reason.

I have specified the javascript to use UTF-8 so I do not understand how it can be altering the characters...

If you view the source on the webpage it has the correct Chinese characters however when you click in on a record and it goes ahead and calls the javascript function the first thing I do is alert the value in question and it is different to what is passed in...

Note: This is only occurring on certain browsers soo it was difficult to replicate the issue. You need to specify your culture as Chinese Simplified for a start.

The website is .net based.

Any assistance would be much appreciated.
0
Hello

I have a joomla site and a component that lets me display a google map on a page.  

However the map is not showing in the front end to the public.  (It is showing in the back end of the site -- so I know I have my Google Maps API key correct -- at least that is what I am assuming).

I have some security settings which might be preventing the display of the map on the page, but am not sure if that is the issue.

So to troubleshoot it I want to use Firebug to see if there is an error regarding the display of the map. Once I know that I can go into Joomla and make any security adjustments (if that is the issue) to allow the map to be displayed.

Here is a link to the page.

https://goo.gl/HUc56w

If you can either tell me how to use Firebug to see where the map is failing, or check it yourself and let me know why it is failing -- that is what I am looking for in this question.

Thanks!

Rowby
0

HTML

57K

Solutions

30K

Contributors

HTML (HyperText Markup Language) is the main markup language for creating web pages and other information to be displayed in a web browser, providing both the structure and content for what is sent from a web server through the use of tags. The current implementation of the HTML specification is HTML5.