Solved

Div position after table

Posted on 2013-05-22
5
259 Views
Last Modified: 2013-05-27
Hi,

I have a table that can grow and I need to position a div after this table, is this possible?

Code attached, I have it currently set to absolute and I'm having to amend the position in the code rather than it automatically going below the table.

Thanks

<table style="position:absolute; top:230px; left:0px; font-family:Verdana, Arial, Helvetica, sans-serif;
							font-size:10pt; width:100%;" cellpadding="0" cellspacing="0" border="1">
							<tr>
								<td style="text-align:right; height:15px; font-weight:bold; padding-right:5px;
									width:29%; text-align:left; font-size:14px; border-right:none;">
									ACTIVITY DETAILS
								</td>		
                               	<td style="border-left:none; width:71%;">&nbsp;
                                	
                                </td>					
							</tr>
							<tr>
								<td style="text-align:left; height:15px; font-weight:bold; padding-right:5px; text-align:left;">
									Brand - Campaign
								</td>
								<td style="padding-left:5px; padding-right:5px; height:15px; font-size:11px;  width:71%; text-align:left">
								<%If strBrand = "" Or IsNull(strBrand) Then%>
										&nbsp;
									<%Else%>
										<%=strBrand%>
									<%End If%>									
								</td>								
							</tr>
                            <tr>
								<td style="text-align:left; font-weight:bold; padding-right:5px; text-align:left;">
									Activity Date(s)
								</td>
								<td style="padding-left:5px; padding-right:5px; font-size:11px; width:71%; height:15px; text-align:left">
								<%If strActDates = "" Or IsNull(strActDates) Then%>
										&nbsp;
									<%Else%>
										<%=strActDates%>
									<%End If%>									
								</td>								
							</tr>
                            <tr>
								<td style="text-align:left; font-weight:bold; padding-right:5px;
									width:10px; text-align:left; vertical-align:top;">
									Location(s)
								</td>
								<td style="padding-left:5px; padding-right:5px; font-size:11px; width:71%; height:15px; text-align:left; vertical-align:top;">
								<%If strLocation = "" Or IsNull(strLocation) Then%>
										&nbsp;
									<%Else%>
										<%=Replace(strLocation, Chr(13), "<BR>")%>
									<%End If%>									
								</td>								
							</tr>							
							<tr>
								<td style="text-align:left; font-weight:bold; padding-right:5px; text-align:left; vertical-align:top;">
									Working Hours
								</td>
								<td colspan="3" style="padding-left:5px; padding-right:5px; font-size:11px; width:71%; height:15px; text-align:left">
								<%If strWrkHrs = "" Or IsNull(strWrkHrs) Then%>
										&nbsp;
									<%Else%>
										<%=strWrkHrs%>
									<%End If%>									
								</td>
							</tr>
                           	<tr>
								<td style="text-align:left; font-weight:bold; padding-right:5px; text-align:left; vertical-align:top;">
									Client Brief
								</td>
								<td colspan="3" style="padding-left:5px; padding-right:5px; font-size:11px; width:71%; height:15px; text-align:left; vertical-align:top;">
								<%If strBrief = "" Or IsNull(strBrief) Then%>
										&nbsp;
									<%Else%>										
                                        <%=Replace(strBrief, Chr(13), "<br>")%>	
									<%End If%>									
								</td>
							</tr>
                            <%If strActDesc <> "" And Not IsNull(strActDesc) Then 'Hides this box if nothing in the field...%>
                                <tr>
                                    <td style="text-align:left; font-weight:bold; padding-right:5px; vertical-align:top; text-align:left;">
                                        Event/Activity Description
                                    </td>
                                    <td colspan="3" style="padding-left:5px; padding-right:5px; font-size:11px; width:71%; height:15px; text-align:left">
                                    <%If strActDesc = "" Or IsNull(strActDesc) Then%>
                                            &nbsp;
                                        <%Else%>
                                            <%=Replace(strActDesc, Chr(13), "<br>")%>									
                                        <%End If%>									
                                    </td>
                                </tr>
                            <%End If%>
                            <%If strStipulations <> "" And Not IsNull(strStipulations) Then 'Hides this box if nothing in the field...%>                            
                                <tr>
                                    <td style="text-align:left; font-weight:bold; padding-right:5px; text-align:left; vertical-align:top;">
                                        Stipulations/Notes
                                    </td>
                                    <td colspan="3" style="padding-left:5px; padding-right:5px; font-size:11px; width:71%; height:15px; text-align:left; vertical-align:top;">
                                    <%If strStipulations = "" Or IsNull(strStipulations) Then%>
                                            &nbsp;
                                        <%Else%>
                                            <%=Replace(strStipulations, Chr(13), "<br>")%>
                                        <%End If%>									
                                    </td>
                                </tr>
                            <%End If%>
						</table>					

						
						<%'Get how many lines there are in total takes to new page if over 11...
							strSQL = "SELECT Count(ID) FROM [Job Quotes Details Print] WHERE [SubID] = '" & Request.QueryString("ID") & "'"
							objRS.Open strSQL, objConn
									
							nCount = objRS(0)
									
							If nCount > 11 Or strPageBreak = True Then%>
                                <div style="position:absolute; top:1000px; left:0%; page-break-before:always">
							<%Else%>									
								<div style="position:absolute; top:590px; left:0%;">
                            <%End If%>
                            <%objRS.Close%>
                            
						<table style="width:100%; font-family:Verdana, Arial, Helvetica, sans-serif;
							font-size:11px; width:100%;" cellpadding="0" cellspacing="0" border="1">
                            <tr style="height:20px; font-weight:bold; font-size:11px; font:italic; background:#0099ff;">
                            	<td style="text-align:left;" colspan="5">
                                	COST BREAKDOWN
                                  </td>		
                            </tr>
							<tr style="height:20px; font-weight:bold; font-size:11px; font:italic;">								
								<td style="text-align:left;">
									ITEM
								</td>
                                <td style="width:45px; text-align:center;">
									QTY
								</td>
								<td style="width:45px; text-align:right; padding-right:5px; text-align:center;">
									DAYS
								</td>
								<td style="width:70px; text-align:right; padding-right:5px; text-align:center;">
									UNIT
								</td>
                                <td style="width:75px; text-align:right; padding-right:5px; text-align:center;">
									TOTAL
								</td>
							</tr>
							<%
								'Open 'Details' recordsets...
													
																									
									strSQL = "SELECT top 100 percent * FROM [Job Quotes Details Print] WHERE [SubID] = '" & Request.QueryString("ID") & "' ORDER BY [Order];"
									objRS.Open strSQL, objConn
													
									
									Do Until objRS.EOF
									
									nCounter = nCounter + 1
								%>
                                	<%Select Case nCounter%>
                                    
                                    <%Case 1%>
                                    
                                    	<%If objRS("Filter") <> "" And objRS("Item") = "" And objRS("Quantity") = 0 Then 'Show as title on it's own row...%>
                                            <tr style="text-align:left; height:15px; padding-right:5px; background:#CCCCCC;">
                                                <td style="text-align:left; padding-right:5px;" colspan="5">
                                                    <%=objRS("Filter")%>
                                                </td>
                                            </tr>
                                        <%ElseIf objRS("Filter") <> "" Then%>
                                        	<tr style="text-align:left; height:15px; padding-right:5px; background:#66CCFF;">
                                                <td style="text-align:left; padding-right:5px;" colspan="5">
                                                    <%=objRS("Filter")%>
                                                </td>
                                            </tr>
                                        <%End If%>
                                        <%If objRS("Item") = "" And objRS("Quantity") = 0 Then%>
                                        	<%'Do nothing..."%>
                                        <%Else%>
                                            <tr style="text-align:left; height:15px; padding-right:5px;">
                                            	<%If objRS("Bold") = true Then 'Show item in bold...%>
                                                	<td style="text-align:left; padding-right:5px; border-bottom:none; font-weight:bold;"
                                                <%Else%>
                                                	<td style="text-align:left; padding-right:5px; border-bottom:none;"
                                                <%End If%>>
                                                    <%If objRS("Item") = "" Then%>
                                                        &nbsp;
                                                    <%Else%>
                                                       <%=Replace(objRS("Item"), chr(13), "<br>") &Chr(13)%> 
                                                    <%End If%>												
                                                </td>
                                                <td style="text-align:center; padding-right:5px; border-bottom:none;">
                                                    <%If objRS("Quantity") = 0 Then%>
                                                        &nbsp;
                                                    <%Else%>
                                                        <%=objRS("Quantity")%>
                                                    <%End If%>
                                                </td>
                                                <td style="text-align:center; padding-right:5px; border-bottom:none;">
                                                    <%If objRS("Days") = 0 Then%>
                                                        &nbsp;
                                                    <%Else%>
                                                        <%=objRS("Days")%>
                                                    <%End If%>
                                                </td>
                                                <td style="text-align:right; padding-right:5px; border-bottom:none;">
                                                    <%If objRS("Unit") = 0 And objRS("Zero Val") = false Then%>
                                                        &nbsp;
                                                    <%Else%>
                                                        <%=FormatCurrency(objRS("Unit"))%>
                                                    <%End If%>
                                                </td>
                                                <td style="text-align:right; padding-right:5px; border-bottom:none;">
                                                    <%If objRS("Total") = 0 And objRS("Zero Val") = false Then%>
                                                        &nbsp;
                                                    <%Else%>
                                                        <%=FormatCurrency(objRS("Total"))%>
                                                    <%End If%>
                                                </td>
                                            </tr>
                                           <%If strSubTots = True Then%>
                                             	<%If objRS("Order") = objRS("MaxOrder") then%>
                                                     <tr style="height:15px;">
                                                        <td colspan="4" style="font-weight:bold; text-align:left; padding-right:5px; font:italic;">
                                                        	<%If strTotSum = True Then%>
                                                            	Sub Total (+VAT)
                                                            <%Else%>
                                                            	Total (+VAT)
                                                           	<%End If%>
                                                        </td>
                                                        <td style="text-align:right; font-weight:bold; padding-right:5px; width:10%;">
                                                            <%If objRS("SubTotal") = 0 Then%>
                                                                &nbsp;
                                                            <%Else%>
                                                                <%=FormatCurrency(objRS("SubTotal"))%>
                                                            <%End If%>
                                                        </td>
                                                    </tr>	
                                            	<%End If%>
                                            <%End If%>
                                        <%End If%>
                                    
									<%Case 35%>
                                    
                                    	<%If objRS("Filter") <> "" And objRS("Item") = "" And objRS("Quantity") = 0 Then 'Show as title on it's own row...%>
                                            <tr style="text-align:left; height:15px; padding-right:5px; background:#CCCCCC;">
                                                <td style="text-align:left; padding-right:5px;" colspan="5">
                                                    <%=objRS("Filter")%>
                                                </td>
                                            </tr>
                                        <%ElseIf objRS("Filter") <> "" Then%>
                                        	<tr style="text-align:left; height:15px; padding-right:5px; background:#66CCFF;">
                                                <td style="text-align:left; padding-right:5px;" colspan="5">
                                                    <%=objRS("Filter")%>
                                                </td>
                                            </tr>
                                        <%End If%>
                                        
                                        <%If objRS("Item") = "" And objRS("Quantity") = 0 Then%>
                                        	<%'Do nothing..."%>
                                        <%Else%>
                                             <tr style="text-align:left; height:15px; padding-right:5px;">
                                             	<%If objRS("Bold") = true Then 'Show item in bold...%>
                                                	<td style="text-align:left; padding-right:5px; border-bottom:none; font-weight:bold;"
                                                <%Else%>
                                                	<td style="text-align:left; padding-right:5px; border-top:none;"
                                                 <%End If%>>
                                                    <%If objRS("Item") = "" Then%>
                                                        &nbsp;
                                                    <%Else%>
                                                       <%=Replace(objRS("Item"), chr(13), "<br>") &Chr(13)%> 
                                                    <%End If%>												
                                                </td>
                                                <td style="text-align:center; padding-right:5px; border-top:none;">
                                                    <%If objRS("Quantity") = 0 Then%>
                                                        &nbsp;
                                                    <%Else%>
                                                        <%=objRS("Quantity")%>
                                                    <%End If%>
                                                </td>
                                                <td style="text-align:center; padding-right:5px; border-top:none;">
                                                    <%If objRS("Days") = 0 Then%>
                                                        &nbsp;
                                                    <%Else%>
                                                        <%=objRS("Days")%>
                                                    <%End If%>
                                                </td>
                                                <td style="text-align:right; padding-right:5px; border-top:none;">
                                                    <%If objRS("Unit") = 0 And objRS("Zero Val") = false Then%>
                                                        &nbsp;
                                                    <%Else%>
                                                        <%=FormatCurrency(objRS("Unit"))%>
                                                    <%End If%>
                                                </td>
                                                <td style="text-align:right; padding-right:5px; border-top:none;">
                                                    <%If objRS("Total") =0 Then%>
                                                        &nbsp;
                                                    <%Else%>
                                                        <%=FormatCurrency(objRS("Total"))%>
                                                    <%End If%>
                                                </td>
                                             </tr>
                                             <%If strSubTots = True Then%>
                                             	<%If objRS("Order") = objRS("MaxOrder") then%>
                                            		<tr style="height:15px;">
                                                        <td colspan="4" style="font-weight:bold; text-align:left; padding-right:5px; font:italic;">
                                                           <%If strTotSum = True Then%>
                                                            	Sub Total (+VAT)
                                                            <%Else%>
                                                            	Total (+VAT)
                                                           	<%End If%>
                                                        </td>
                                                        <td style="text-align:right; font-weight:bold; padding-right:5px; width:10%;">
                                                            <%If objRS("SubTotal") = 0 Then%>
                                                                &nbsp;
                                                            <%Else%>
                                                                <%=FormatCurrency(objRS("SubTotal"))%>
                                                            <%End If%>
                                                        </td>
                                                    </tr>	
                                            	<%End If%>
                                            <%End If%>
                                         <%End If%>
                                      </table>
                                      <table>
                                         <tr style="height:5px; padding:10px; vertical-align: text-bottom;">
                                    		<td colspan="5" style=" border-right:none; border-left:none; border-bottom:none;"><br style="page-break-after:always;"></td>
                                		</tr>
                                     </table> 
                                                                
                                <%Case 36%>
                                     
                                    <table style="width:100%; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:11px; width:100%;" cellpadding="0" cellspacing="0" border="1">                
                                        <tr style="height:20px; font-weight:bold; font-size:11px; font:italic; background:#0033FF;">								
                                            <td style="text-align:left;">
                                                ITEM
                                            </td>
                                            <td style="width:45px; text-align:center;">
                                                QTY
                                            </td>
                                            <td style="width:45px; text-align:right; padding-right:5px; text-align:center;">
                                                DAYS
                                            </td>
                                            <td style="width:70px; text-align:right; padding-right:5px; text-align:center;">
                                                UNIT
                                            </td>
                                            <td style="width:75px; text-align:right; padding-right:5px; text-align:center;">
                                                TOTAL
                                            </td>
                                        </tr>
                                        
                                       <%If objRS("Filter") <> "" And objRS("Item") = "" And objRS("Quantity") = 0 Then 'Show as title on it's own row...%>
                                            <tr style="text-align:left; height:15px; padding-right:5px; background:#CCCCCC;">
                                                <td style="text-align:left; padding-right:5px;" colspan="5">
                                                    <%=objRS("Filter")%>
                                                </td>
                                            </tr>
                                        <%ElseIf objRS("Filter") <> "" Then%>
                                        	<tr style="text-align:left; height:15px; padding-right:5px; background:#66CCFF;">
                                                <td style="text-align:left; padding-right:5px;" colspan="5">
                                                    <%=objRS("Filter")%>
                                                </td>
                                            </tr>
                                        <%End If%>
                                        <%If objRS("Item") = "" And objRS("Quantity") = 0 Then%>
                                       	 	<%'Do nothing..."%>
                                        <%Else%>
                                            <tr style="text-align:left; height:15px; padding-right:5px;">
                                            	<%If objRS("Bold") = true Then 'Show item in bold...%>
                                                	<td style="text-align:left; padding-right:5px; border-bottom:none; font-weight:bold;"
                                                <%Else%>
                                                	<td style="text-align:left; padding-right:5px; border-bottom:none;"
                                                <%End If%>>
                                                    <%If objRS("Item") = "" Then%>
                                                        &nbsp;
                                                    <%Else%>
                                                        <%=Replace(objRS("Item"), chr(13), "<br>") &Chr(13)%> 
                                                    <%End If%>												
                                                </td>
                                                <td style="text-align:center; padding-right:5px; border-bottom:none;">
                                                    <%If objRS("Quantity") = 0 Then%>
                                                        &nbsp;
                                                    <%Else%>
                                                        <%=objRS("Quantity")%>
                                                    <%End If%>
                                                </td>
                                                <td style="text-align:center; padding-right:5px; border-bottom:none;">
                                                    <%If objRS("Days") = 0 Then%>
                                                        &nbsp;
                                                    <%Else%>
                                                        <%=objRS("Days")%>
                                                    <%End If%>
                                                </td>
                                                <td style="text-align:right; padding-right:5px; border-bottom:none;">
                                                    <%If objRS("Unit") = 0 And objRS("Zero Val") = false Then%>
                                                        &nbsp;
                                                    <%Else%>
                                                        <%=FormatCurrency(objRS("Unit"))%>
                                                    <%End If%>
                                                </td>
                                                <td style="text-align:right; padding-right:5px; border-bottom:none;">
                                                    <%If objRS("Total") =0 And objRS("Zero Val") = false Then%>
                                                        &nbsp;
                                                    <%Else%>
                                                        <%=FormatCurrency(objRS("Total"))%>
                                                    <%End If%>
                                                </td>
                                             </tr> 
												 <%If strSubTots = True Then%>
                                                    <%If objRS("Order") = objRS("MaxOrder") then%>
                                                      <tr style="height:15px;">
                                                        <td colspan="4" style="font-weight:bold; text-align:left; padding-right:5px; font:italic;">
                                                            <%If strTotSum = True Then%>
                                                            	Sub Total (+VAT)
                                                            <%Else%>
                                                            	Total (+VAT)
                                                           	<%End If%>
                                                        </td>
                                                        <td style="text-align:right; font-weight:bold; padding-right:5px; width:10%;">
                                                            <%If objRS("SubTotal") = 0 Then%>
                                                                &nbsp;
                                                            <%Else%>
                                                                <%=FormatCurrency(objRS("SubTotal"))%>
                                                            <%End If%>
                                                        </td>
                                                    </tr>	 
                                                    <%End If%>
                                                <%End If%>
                                            <%End If%>                                               
                                                                                          
                                    <%Case Else%>
                                    
                                    	<%If objRS("Filter") <> "" And objRS("Item") = "" And objRS("Quantity") = 0 Then 'Show as title on it's own row...%>
                                            <tr style="text-align:left; height:15px; padding-right:5px; background:#CCCCCC;">
                                                <td style="text-align:left; padding-right:5px;" colspan="5">
                                                    <%=objRS("Filter")%>
                                                </td>
                                            </tr>
                                        <%ElseIf objRS("Filter") <> "" Then%>
                                        	<tr style="text-align:left; height:15px; padding-right:5px; background:#66CCFF;">
                                                <td style="text-align:left; padding-right:5px;" colspan="5">
                                                    <%=objRS("Filter")%>
                                                </td>
                                            </tr>
                                        <%End If%>
                                        
                                        <%If objRS("Item") = "" And objRS("Quantity") = 0 Then%>
                                        <%'Do nothing..."%>
                                        <%Else%>
                                            <tr style="text-align:left; height:15px; padding-right:5px;">
                                            	<%If objRS("Bold") = true Then 'Show item in bold...%>
                                                	<td style="text-align:left; padding-right:5px; border-bottom:none; font-weight:bold;"
                                                <%Else%>
                                                	<td style="text-align:left; padding-right:5px; border-bottom:none; border-top:none;"
                                                <%End If%>>
                                                    <%If objRS("Item") = "" Then%>
                                                        &nbsp;
                                                    <%Else%>
                                                        <%=Replace(objRS("Item"), chr(13), "<br>") &Chr(13)%> 
                                                    <%End If%>												
                                                </td>
                                                <td style="text-align:center; padding-right:5px; border-bottom:none; border-top:none;">
                                                    <%If objRS("Quantity") = 0 Then%>
                                                        &nbsp;
                                                    <%Else%>
                                                        <%=objRS("Quantity")%>
                                                    <%End If%>
                                                </td>
                                                <td style="text-align:center; padding-right:5px; border-bottom:none; border-top:none;">
                                                    <%If objRS("Days") = 0 Then%>
                                                        &nbsp;
                                                    <%Else%>
                                                        <%=objRS("Days")%>
                                                    <%End If%>
                                                </td>
                                                <td style="text-align:right; padding-right:5px; border-bottom:none; border-top:none;">
                                                    <%If objRS("Unit") = 0 And objRS("Zero Val") = false Then%>
                                                        &nbsp;
                                                    <%Else%>
                                                        <%=FormatCurrency(objRS("Unit"))%>
                                                    <%End If%>
                                                </td>
                                                <td style="text-align:right; padding-right:5px; border-bottom:none; border-top:none;">
                                                    <%If objRS("Total") =0 And objRS("Zero Val") = false Then%>
                                                        &nbsp;
                                                    <%Else%>
                                                        <%=FormatCurrency(objRS("Total"))%>
                                                    <%End If%>
                                                </td>
                                             </tr>
                                           <%If strSubTots = True Then%>
                                             	<%If objRS("Order") = objRS("MaxOrder") then%>
                                                	  <tr style="height:15px;">
                                                        <td colspan="4" style="font-weight:bold; text-align:left; padding-right:5px; font:italic;">
                                                            <%If strTotSum = True Then%>
                                                            	Sub Total (+VAT)
                                                            <%Else%>
                                                            	Total (+VAT)
                                                           	<%End If%>
                                                        </td>
                                                        <td style="text-align:right; font-weight:bold; padding-right:5px; width:10%;">
                                                            <%If objRS("SubTotal") = 0 Then%>
                                                                &nbsp;
                                                            <%Else%>
                                                                <%=FormatCurrency(objRS("SubTotal"))%>
                                                            <%End If%>
                                                        </td>
                                                    </tr>	
                                            	<%End If%>
                                             <%End If%>
                                         <%End If%>
                                    <%End Select%>
								<%
										objRS.MoveNext
									Loop
							%>
                            <%If nCount = 35 Then 'New table...%>
                            	<table style="width:100%; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:11px; width:100%;" cellpadding="0" cellspacing="0" border="1">
                            <%End If%>
                            <%If strTotSum = True Then%>
                                <tr style="height:15px;">
                                    <td colspan="4" style="font-weight:bold; text-align:left; padding-right:5px; font:italic;">
                                        Total (+VAT)
                                    </td>
                                    <td style="text-align:right; font-weight:bold; padding-right:5px; width:10%;">
                                        <%If nTotal = 0 Then%>
                                            &nbsp;
                                        <%Else%>
                                            <%=FormatCurrency(nTotal)%>
                                        <%End If%>
                                    </td>
                                </tr>	
                           <%End If%>						
						</table></div>

Open in new window

0
Comment
Question by:Tra71
  • 3
  • 2
5 Comments
 
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 39186778
Yes, it would look like this
<tabel>
<tr><td>stuff</td></tr>
</tabel>
<div>more stuff</div>

Open in new window


Maybe it was just copy and paste error but it looks like you have wrapped your div around your table as there is a closing div at the end but no starting div before the table.

I hope this is for an html email.  Otherwise, you should be doing the majority of your styling in css.
0
 

Author Comment

by:Tra71
ID: 39186804
Thanks,

In the above code it has a table, then a div with another table inside it:

If nCount > 11 Or strPageBreak = True Then%>
                                <div style="position:absolute; top:1000px; left:0%; page-break-before:always">
							<%Else%>									
								<div style="position:absolute; top:590px; left:0%;">
                            <%End If%>
                            <%objRS.Close%>

Open in new window

0
 

Accepted Solution

by:
Tra71 earned 0 total points
ID: 39187180
Added a wrapper div which resolved it...
0
 
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 39188339
Isn't that something I pointed out?
0
 

Author Closing Comment

by:Tra71
ID: 39198739
resolved as per my post
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Ajax control editor 4 32
using web browser with BING 40 86
text align center the options is an html select 4 25
SVG Logo 4 18
Introduction The Google Maps API offers various ways to draw dynamic and static maps.  Using a combination of PHP and JavaScript, you can draw active JavaScript maps that allow pan-and-zoom in the client browser window.  You can also draw "static" …
Do you want to insert HTML5 video into your site? This is the tutorial how to do so. What are the main advantages of HTML5 video? 1) Have good compression, good image quality, and low decode processor use. 2) It is royalty-free 3) It is easi…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now