Jump to content

Website show desktop version in Dreamweaver but mobile in browser?

Jeroen1322
Go to solution Solved by Jeroen1322,

A wizard flew over the server and now it fixed.. i don't know why but if it ain't broken don't fix it! :D 

Hi guys! 

 

I'm working on my own website right now but i'm very confused i was working on my contact page and now it show the mobile version of my website in the browser but in Dreamweaver it shows the desktop..

This is my code 

<!DOCTYPE html><html><head><meta charset="utf-8" /><title>Contact</title><meta name="description" content="" /><meta name="generator" content="One.com Web Editor" /><meta http-equiv="Cache-Control" content="must-revalidate, max-age=0, public" /><meta http-equiv="Expires" content="-1" /><link rel="stylesheet" href="http://webbouwgrooten.nl/onewebstatic/23b643e7af.css" /><meta name="HandheldFriendly" content="True" /><meta name="MobileOptimized" content="320" /><meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0" /><link rel="stylesheet" href="http://webbouwgrooten.nl/onewebstatic/6319eeec07.css" /></head><body class="body blockbody"><div class="mm"><div id="mmt">Contact</div><div id="mmb"></div></div><div id="mm"><ul><li><a href="http://webbouwgrooten.nl/index.html">Home</a></li><li><a href="http://webbouwgrooten.nl/portfolio.html">Portfolio</a></li><li><a href="http://webbouwgrooten.nl/mogelijkheden.html">Mogelijkheden</a></li><li><a href="http://webbouwgrooten.nl/over.html">Over</a></li><li class="expanded"><a href="http://webbouwgrooten.nl/contact.html" class="current">Contact</a></li></ul></div><div class="innerBody self container" style="width:1000px;min-height:64px;width:1000px;margin:auto;"><div class="block"><div class="self container horizontalcontainer" style="width:1000px;min-height:226px;height:226px;"><div class="marginwrapper horizontalwrapper" style="padding:0px 30px 0px 0px;width:285px;"><div class="block"><div class="self container" style="width:285px;min-height:226px;"><div class="block"><div class="self container" style="width:285px;min-height:668px;"><div class="image marginwrapper"><div class="block"><div class="imageself self mobile-leaf" style="width:285px;height:115px;" data-weight="1000"><img width="285" height="115" src="http://webbouwgrooten.nl/onewebstatic/33b24204f1-Logo.jpg" style="display:block;" title="" alt="" /></div></div></div><div class="marginwrapper menu" style="padding:0px 0px 446px 0px;"><div class="block"><div class="self menuself menuvertical menuhorizontalfit menuverticaltop" style="width:285px;height:106px;"><ul class="menu1"><li><a class="menu1item" href="http://webbouwgrooten.nl/index.html">Home</a></li><li class="divider menu1divider"></li><li><a class="menu1item" href="http://webbouwgrooten.nl/portfolio.html">Portfolio</a></li><li class="divider menu1divider"></li><li><a class="menu1item" href="http://webbouwgrooten.nl/mogelijkheden.html">Mogelijkheden</a></li><li class="divider menu1divider"></li><li><a class="menu1item" href="http://webbouwgrooten.nl/over.html">Over</a></li><li class="divider menu1divider"></li><li><a class="menu1item menu1selected" href="http://webbouwgrooten.nl/contact2.php">Contact</a></li></ul></div></div></div><div class="end"></div></div></div><div class="end"></div></div></div></div><div class="marginwrapper horizontalwrapper" id="formulier" style="padding:0px 0px 0px 30px;width:655px;"><div class="block id217FD5C4FE2943129444C5479DF0F6AE"><div class="self container" style="width:655px;min-height:226px;"><div class="marginwrapper" style="padding:0px 0px 52px 0px;"><div class="block idE737B78FE9D54D559D73FA8052519F37"><div class="self container" style="width:655px;min-height:12px;"><div class="holder  "><div class="self" style="width:100%;min-height:0px;"><div class=" filler block"><div class="self container" style="width:100%;height:100%;"><div class="block"><div class="self container" style="width:655px;min-height:909px;"><div class="block idE3CD13E9488E43FBA0A25282B1E057CC"><div class="self mobile-leaf text textnormal mobile-undersized-upper" style="width:655px;min-height:176px;"><p><span class=" mobile-oversized" style="font-family:Georgia,Georgia,serif;font-size:22px;font-weight:normal;text-decoration:none;color:rgb(0,0,0);"> </span></p><p><span class=" mobile-oversized" style="font-family:Georgia,Georgia,serif;font-size:22px;font-weight:bold;text-decoration:none;color:rgb(0,0,0);">Contact</span></p><p><span class=" mobile-oversized" style="font-family:Georgia,Georgia,serif;font-size:22px;font-weight:bold;text-decoration:none;color:rgb(0,0,0);"> </span></p><p><span style="color:rgb(60,60,60);"> </span></p><p><span style="color:rgb(60,60,60);"> </span></p><p><span> </span></p><p><span> </span></p><p><span style="font-family:Georgia,Georgia,serif;font-size:18px;font-weight:bold;text-decoration:none;color:rgb(0,0,0);"> </span></p><p><span style="font-family:Georgia,Georgia,serif;font-size:18px;font-weight:bold;text-decoration:none;color:rgb(0,0,0);"> </span></p></div></div><?php// if the from is loaded from WordPress form loader plugin, // the phpfmg_display_form() will be called by the loader if( !defined('FormmailMakerFormLoader') ){    # This block must be placed at the very top of page.    # --------------------------------------------------	require_once( dirname(__FILE__).'/form.lib.php' );    phpfmg_display_form();    # --------------------------------------------------};function phpfmg_form( $sErr = false ){		$style=" class='form_text' ";?><div id='frmFormMailContainer'><form name="frmFormMail" id="frmFormMail" target="submitToFrame" action='<?php echo PHPFMG_ADMIN_URL . '' ; ?>' method='post' enctype='multipart/form-data' onsubmit='return fmgHandler.onSubmit(this);'><input type='hidden' name='formmail_submit' value='Y'><input type='hidden' name='mod' value='ajax'><input type='hidden' name='func' value='submit'>                        <ol class='phpfmg_form' ><li class='field_block' id='field_0_div'><div class='col_label'>	<label class='form_field'>Voornaam</label> <label class='form_required' >*</label> </div>	<div class='col_field'>	<input type="text" name="field_0"  id="field_0" value="<?php  phpfmg_hsc("field_0", ""); ?>" class='text_box'>	<div id='field_0_tip' class='instruction'></div>	</div></li><li class='field_block' id='field_1_div'><div class='col_label'>	<label class='form_field'>Achternaam</label> <label class='form_required' >*</label> </div>	<div class='col_field'>	<input type="text" name="field_1"  id="field_1" value="<?php  phpfmg_hsc("field_1", ""); ?>" class='text_box'>	<div id='field_1_tip' class='instruction'></div>	</div></li><li class='field_block' id='field_2_div'><div class='col_label'>	<label class='form_field'>E-mail adres</label> <label class='form_required' >*</label> </div>	<div class='col_field'>	<input type="text" name="field_2"  id="field_2" value="<?php  phpfmg_hsc("field_2", ""); ?>" class='text_box'>	<div id='field_2_tip' class='instruction'></div>	</div></li><li class='field_block' id='field_3_div'><div class='col_label'>	<label class='form_field'>Onderwerp</label> <label class='form_required' >*</label> </div>	<div class='col_field'>	<input type="text" name="field_3"  id="field_3" value="<?php  phpfmg_hsc("field_3", ""); ?>" class='text_box'>	<div id='field_3_tip' class='instruction'></div>	</div></li><li class='field_block' id='field_4_div'><div class='col_label'>	<label class='form_field'>Bericht</label> <label class='form_required' >*</label> </div>	<div class='col_field'>	<textarea name="field_4" id="field_4" rows=4 cols=25 class='text_area'><?php  phpfmg_hsc("field_4"); ?></textarea>	<div id='field_4_tip' class='instruction'></div>	</div></li><li class='field_block' id='phpfmg_captcha_div'>	<div class='col_label'><label class='form_field'>Security Code:</label> <label class='form_required' >*</label> </div><div class='col_field'>	<?php phpfmg_show_captcha(); ?>	</div></li>            <li>            <div class='col_label'> </div>            <div class='form_submit_block col_field'>					                <input type='submit' value='verstuur' class='form_button'>				<div id='err_required' class="form_error" style='display:none;'>				    <label class='form_error_title'>Check of u alle formulieren hebt ingevuld.</label>				</div>				                <span id='phpfmg_processing' style='display:none;'>                    <img id='phpfmg_processing_gif' src='<?php echo PHPFMG_ADMIN_URL . '?mod=image&func=processing' ;?>' border=0 alt='Processing...'> <label id='phpfmg_processing_dots'></label>                </span>            </div>            </li>            </ol></form><iframe name="submitToFrame" id="submitToFrame" src="javascript:false" style="position:absolute;top:-10000px;left:-10000px;" /></iframe></div> <!-- end of form container --><!-- [Your confirmation message goes here] --><div id='thank_you_msg' style='display:none;'>Uw bericht is verzonden, bedank zij zullen zo snel mogelijk antwoorden.</div>                        <?php			    phpfmg_javascript($sErr);} # end of formfunction phpfmg_form_css(){    $formOnly = isset($GLOBALS['formOnly']) && true === $GLOBALS['formOnly'];?><style type='text/css'><?php if( !$formOnly ){    echo"body{    margin-left: 18px;    margin-top: 18px;}body{    font-family : Verdana, Arial, Helvetica, sans-serif;    font-size : 13px;    color : #474747;    background-color: transparent;}select, option{    font-size:13px;}";}; // if?>ol.phpfmg_form{    list-style-type:none;    padding:0px;    margin:0px;}ol.phpfmg_form input, ol.phpfmg_form textarea, ol.phpfmg_form select{    border: 1px solid #ccc;    -moz-border-radius: 3px;    -webkit-border-radius: 3px;    border-radius: 3px;}ol.phpfmg_form li{    margin-bottom:5px;    clear:both;    display:block;    overflow:hidden;	width: 100%}.form_field, .form_required{    font-weight : bold;}.form_required{    color:red;    margin-right:8px;}.field_block_over{}.form_submit_block{    padding-top: 3px;}.text_box, .text_area, .text_select {    width:300px;}.text_area{    height:80px;}.form_error_title{    font-weight: bold;    color: red;}.form_error{    background-color: #F4F6E5;    border: 1px dashed #ff0000;    padding: 10px;    margin-bottom: 10px;}.form_error_highlight{    background-color: #F4F6E5;    border-bottom: 1px dashed #ff0000;}div.instruction_error{    color: red;    font-weight:bold;}hr.sectionbreak{    height:1px;    color: #ccc;}#one_entry_msg{    background-color: #F4F6E5;    border: 1px dashed #ff0000;    padding: 10px;    margin-bottom: 10px;}#frmFormMailContainer input[type="submit"]{    padding: 10px 25px;     font-weight: bold;    margin-bottom: 10px;    background-color: #FAFBFC;}#frmFormMailContainer input[type="submit"]:hover{    background-color: #E4F0F8;}<?php phpfmg_text_align();?>    </style><?php}# end of css # By: formmail-maker.com?></div><div class="block"><div class="self mobile-leaf text textnormal mobile-undersized-upper" style="width:655px;min-height:670px;"><p> </p></div></div><div class="end"></div></div></div><div class="end"></div></div></div><div class="end"></div></div></div></div></div><div class="end"></div></div></div></div><div class="end"></div></div></div></div><div class="end"></div></div></div><div class="end"></div></div><footer></footer><div class="end"></div><script src="http://webbouwgrooten.nl/onewebstatic/c46dcd73a7.js"></script></body></html>

It has HTML and PHP in it. 

The website link is www.webbouwgrooten.nl/contact2.php 

 

 

I'm very confused my friends didn't get it either. You guys are my last hope! :)

 

Btw i didn't link the external Javascript and CSS links in the code above because i didn't edit anything in it and the post would get waaayyyy to long! 

[CPU: AMD FX-6100 @3.3GHz ] [MoBo: Asrock 970 Extreme4] [GPU: Gigabyte 770 OC ] [RAM: 8GB] [sSD: 64gb for OS] [PSU: 550Watt Be Quiet!] [HDD: 1TB] [CPU cooler: Be Quiet! Shadow Rock Pro Sr1]  -Did i solve your question/problem? Please click 'Marked Solved'-

Link to comment
Share on other sites

Link to post
Share on other sites

Link to comment
Share on other sites

Link to post
Share on other sites

I see your mistake, you used DreamWeaver.

Why? didn't hear any negative things about it 

[CPU: AMD FX-6100 @3.3GHz ] [MoBo: Asrock 970 Extreme4] [GPU: Gigabyte 770 OC ] [RAM: 8GB] [sSD: 64gb for OS] [PSU: 550Watt Be Quiet!] [HDD: 1TB] [CPU cooler: Be Quiet! Shadow Rock Pro Sr1]  -Did i solve your question/problem? Please click 'Marked Solved'-

Link to comment
Share on other sites

Link to post
Share on other sites

Why? didn't hear any negative things about it 

 

Then you didn't listen... DreamWeaver is the worse software out there, don't use it...

Link to comment
Share on other sites

Link to post
Share on other sites

Then you didn't listen... DreamWeaver is the worse software out there, don't use it...

I'll remember it, do you have a suggestion what i should use?

[CPU: AMD FX-6100 @3.3GHz ] [MoBo: Asrock 970 Extreme4] [GPU: Gigabyte 770 OC ] [RAM: 8GB] [sSD: 64gb for OS] [PSU: 550Watt Be Quiet!] [HDD: 1TB] [CPU cooler: Be Quiet! Shadow Rock Pro Sr1]  -Did i solve your question/problem? Please click 'Marked Solved'-

Link to comment
Share on other sites

Link to post
Share on other sites

I've had tons of problems with dreamweaver in the past, I wouldn't reccomend it to anyone.

Link to comment
Share on other sites

Link to post
Share on other sites

I'll remember it, do you have a suggestion what i should use?

Netbeans with the PHP and Javascript plugins.

Link to comment
Share on other sites

Link to post
Share on other sites

A wizard flew over the server and now it fixed.. i don't know why but if it ain't broken don't fix it! :D 

[CPU: AMD FX-6100 @3.3GHz ] [MoBo: Asrock 970 Extreme4] [GPU: Gigabyte 770 OC ] [RAM: 8GB] [sSD: 64gb for OS] [PSU: 550Watt Be Quiet!] [HDD: 1TB] [CPU cooler: Be Quiet! Shadow Rock Pro Sr1]  -Did i solve your question/problem? Please click 'Marked Solved'-

Link to comment
Share on other sites

Link to post
Share on other sites

Netbeans with the PHP and Javascript plugins.

 

Personally, I like Aptana more, but it's also based on Eclipse, so yeah :D

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×