Any ideas how to remove the weird question mark in the diamond and $0.00 next to it on this page? http://www.happycow.com.au/wholesale
thanks heaps!
You need to set the content type to UTF-8. See if you can add this meta tag to your theme:
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
See: http://www.w3schools.com/tags/att_meta_http_equiv.asp
Related
I am trying to display special characters like Circumflex (Ê) or Acute (&Vacute) in UI5 Fiori. I am not using index.html but I am using component.js. All the answers to this question insert
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
into index.html but I don't have index.html. So how will I do it with component.js?
I have tried using uriencode but that didn't work.
For example I have card control and I want to escape the text in the card header.
Here is the code:
<f:Card>
<f:header>
<card:Header id="header" title="value"/>
</f:header>
I am trying to escape the title for card with header id.
mhm.. you can use it anywhere.. so you just have to add the html code for the character you can look for example here: https://www.starr.net/is/type/htmlcodes.html
you put the character code where you want it to have
I am trying to word wrap my html string when zoomed. I have set scalePagesToFit=YES and added a meta tag with device-width. But still i have to pan to see the hidden content. Please help me. Thank you.
Here is the HTML code for iOS 5.1
<html>
<head>
<meta name='viewport'
content='initial-scale=3.0,
minimum-scale=3.0,
maximum-scale=3.0,
user-scalable=no'>
</head>
<body>Stack Overflow<br>iOS 5.1</body>
</html>
<meta content="minimum-scale=1.0, width=device-width, maximum-scale=1.0, user-scalable=no" name="viewport">
to be able to see all the important stuff, on normal desktop, a windows width is always 1000px or more, but on iphone, i like to make sure the screen is 1000px minimum width
is it possible to do that ?
the site that cause problem is : http://www.benoitjacquesdesigner.com/index.html
look at the text on top, it cut .... or explaint to me the white right band (missing background)
--
sub question, is there a place where i can learn by myselft all the mobile trick and tips... i often go to w3school, but people tell some bad stuff about this site...
iOS products(so does most Androids) have min-width as 600px, and making it so, will work.
research on media queries
Try
<meta content="minimum-scale=1.0, width=device-1000, maximum-scale=1.0, user-scalable=no" name="viewport">
OK, with some testing that work : <meta name="viewport" content="width=1200">
The example Tumblr gives is
<html>
<head>
<!-- DEFAULTS -->
<meta name="if:Show people I follow" content="1"/>
<meta name="if:Reverse pagination" content="0"/>
</head>
<body>
{block:IfNotReversePagination}
Previous Next
{/block:IfNotReversePagination}
{block:IfReversePagination}
Next Previous
{/block:IfReversePagination}
{block:IfShowPeopleIFollow}
<div id="following">...</div>
{/block:IfShowPeopleIFollow}
</body>
</html>
For these meta-if tags, when I change content="1" to content="0" or content="" nothing seems to happen to the appearance of my tumblr.
I don't understand what these meta-if tags do.
According to Tumblr: By including the special meta-if tags in your theme, users can easily toggle options you define. This is useful for showing or hiding different widgets or design elements.
I understood this as you can show/hide different design elements by changing the content value ie. content="0", content="1", content="". But nothing seems to happen to the design if I do this.
I googled this and I can't find any explanation elaborating on what Tumblr says. Can someone please explain?
Tumblr uses meta tags to save preferences of the theme. Meta if will cause that user gets a new checkbox on the Appearance menu. If its checked than the
<div id="following">...</div>
will be shown on your page.
So there should be new div element in the page source and three dots displayed on the page.
What Bojan Dević said is correct. Although, I would like to address the other half of your question, as well. content="1" automatically sets the element to be shown, or as content="0" makes it hidden.
I'm editing our News site's mobile CSS file. On the iPhone 3gs, 4 & simulator there are some pages (not all) there is an extra right margin.
Here's an example of a page WITH the extra margin:
http://bit.ly/mMA2q7
..and here's an example of a page without it:
http://bit.ly/iQeOGY
Both pages are using the same template. I'm guessing the images are adding the extra margin.
Here is our mobile CSS file http://bit.ly/iW5JVm and viewport:
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=1;"/>
I tried applying different min-width values to the body but haven't found a solution.
Do you know how to get rid of this extra margin on the iPhone?
your photobanner div is too wide. It gets set to 500px which is way too much :)
try to add width:auto!important to it :)
Same problem, I fixed it adding this code in header:
<meta name="viewport" content="width=1100" />