簡體   English   中英

我在網頁上顯示了用戶的電子郵件,但是當我在移動設備上拉出該頁面時,有時卻不顯示

[英]I show the user's email on my web page but when I pull this page on mobile, it sometimes shows sometimes not

我有一個頁面,其中將顯示用戶的電子郵件。 當我在PC上登錄該頁面時,該頁面始終有效,但是在我的手機上,有時會顯示該電子郵件,有時卻不會。

請參閱下面的代碼。

我安裝了一個可以在html環​​境中編寫php的插件。

<h5>Please confirm your email address, and the results will display shortly</h5>
<input name="email" required="" type="radio" value="<?php global $current_user;
get_currentuserinfo();
echo $current_user->user_email;
?>" /><?php global $current_user; 
get_currentuserinfo(); 
echo "  " . $current_user->user_email . "\n";
?>
<input type="submit" />

好吧,我不知道您以后是否打算在表單上添加更多輸入。 但我建議您采用響應式設計,以確保它在所有設備上看起來都不錯。

您可以使用樣式表或創建自己的樣式表。 此鏈接包含一些示例: http : //www.w3schools.com/html/html_sensitive.asp

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM