Posts

html - External style not picked by div element -

Image
i relatively new css please let me know if there silly mistake on below. while trying out 1 of examples on w3cschools used below code <!doctype html> <html> <head> <style> div { background-color: lightgrey; width: 300px; border: 25px solid green; padding: 25px; margin: 25px; } </style> </head> <body> <h2>demonstrating box model</h2> <p>the css box model box wraps around every html element. consists of: borders, padding, margins, , actual content.</p> <div>this text actual content of box. have added 25px padding, 25px margin , 25px green border. ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div> </body...

ios - Image data Shows nil while retrieving image from JSON Array in objective c -

i new in ios. , trying load images custom uitableviewcell unfortunately not getting desired results. in didfinishlaunching method imagearray=[[nsmutablearray alloc] init]; imagearray=[responsedict valueforkey:@"empimg"]; nslog(@"image array =%@",imagearray); table view cellforrowatindexpath method - (uitableviewcell *)tableview:(uitableview *)tableview cellforrowatindexpath:(nsindexpath *)indexpath { static nsstring *sti=@"sti"; newjoineecell *cell = (newjoineecell *)[tableview dequeuereusableheaderfooterviewwithidentifier:sti]; if (cell == nil) { nsarray *nib = [[nsbundle mainbundle] loadnibnamed:@"newjoineecell" owner:self options:nil]; cell = [nib objectatindex:0]; cell.accessorytype=uitableviewcellaccessorynone; } nsdata *imagedata=[[nsdata alloc]initwithcontentsofurl:[nsurl urlwithstring:[imagearray objectatindex:indexpath.row]] ]; uiimage *image11=[[uiimage allo...

database - Wondering what the default post date PHP string for Wordpress is? -

i'm trying add column csv exported using php file. down bottom in post_date part need know correct string when submission/ wordpress post made. i've got default date request in there that's current time , not post time. how can date post made? appreciate help! $surveyarray = array( 'id' => $survey_id, 'title' => $survey_title, 'airline' => $airlinename, 'meal' => $mealname, 'test_great' => $get_test_great[0], 'fair_price' => $get_fair_price[0], 'friendly_host' => $get_friendly_host[0], 'right_temp' => $get_right_temp[0], 'looked_good' => $get_looked_good[0], 'would_reorder' => $get_would_reorder[0], 'comment' => $get_comment[0], 'airlane_race_number' =...

c# - android.support.v7.widget.Toolbar element is not declared -

hi i'm new android dev , start using xamarin last week, i'm trying build app test , learn how use material design using android support library v7 appcompat . encounter problem saying element not declared though added component. i'm using xamarin visual studio . first problem then separate toolbar happens kindly enlighten me whats causing this.

user interface - Plotting in GUI of Matlab -

until had 1 axis in gui used plot directly using plot command. plus need plot these in loop. for = 1:length(sig) plot(sig(i).time,sig(i).signal,sig(i).time,updated(i).filter,) hold on end now have 2 axes in gui, how can make plot appear in 1st axis , in 2nd axis now example need plot below in 2nd axis = 1:length(sig) plot(sig(i).time,sig(i).fil,sig(i).time,updated(i).sig,) hold on end any appriciated you specify axes hold , plot functions. considering have 2 axes, h1 , h2 inside figure, following: hold(h1, 'on') hold(h2, 'on') = 1:length(sig) plot(h1, sig(i).time,sig(i).signal,sig(i).time,updated(i).filter) plot(h2, sig(i).time,sig(i).fil,sig(i).time,updated(i).sig) end

javascript - checkbox checked id and name value push array angularjs -

i proper , name values checkbox parent ng repeat. problem is, when checked check box need push id , name values in 1 array. if uncheck remove id , name values. <tr ng-repeat="user in partylist | filter:{ 'partyrole': 4}:true | filter:searchusers | myslice:start:end"> <td> <input type="checkbox" class="tablebox" value="{{user.partyid}}" name="{{user.first_name}}" ng-checked="userbox" ng-model="usermodel" ng-change="getindex(user.partyid,user.first_name,usermodel)" /> </td> <td>{{user.first_name}}</td> <td>{{user.email}}</td> <td>{{user.phone_number}}</td> </tr>

xml - "Your site has no hreflang tags." [Google Webmastertools - International Targeting]. How to fix this error? -

i don't know if it's right place ask, on google forum there no reaction. i'm getting error though made sitemap.xml should be. or wrong? the domain is: www.szerelemguru.ro , sitemap.xml following: <?xml version="1.0" encoding="utf-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"> <url> <loc>http://szerelemguru.ro/de/</loc> <xhtml:link rel="x-default" hreflang="de-de" href="http://szerelemguru.ro/de/" /> <xhtml:link rel="alternate" hreflang="ro-ro" href="http://szerelemguru.ro/ro/" /> <xhtml:link rel="alternate" hreflang="en-gb" href="http://szerelemguru.ro/en/" /> <xhtml:link rel="alternate" hreflang="en-us" href="http://szerelemguru.ro/en/" /> <xhtml:link rel="...