I'm making a website and it is here: http://animactions.ca/Animactions/accueil.php
My problem is when I go from accueil to contact, I notice the page shifts a bit. I cant figure out why though, the body is supposed to be a fixed width.Thanks
*Bear in mind my resolution is 1680x1050, it doesn't do this on 1280x800
It's just because the scrollbar appears when you go to Contact, since the page isn't long enough with your resolution to need one on Accueil.
Edit : mais pourquoi je parle en anglais moi ? :) Bref c'est juste la présence ou non de l'ascenceur de Firefox qui fait que la page semble bouger, c'est normal.
Related
I have a the next marquee element:
<marquee height="450px" class="quotes" behavior="scroll" direction="up" scrollamount="2">
Sal ahí fuera y prueba diferentes cosas hasta que descubras donde dan resultado tus talentos,
intereses y prioridades<br /><br />
The best founders get things done every time. Small chunks at a time.<br /><br />
Tienes que amar la idea en cuestión, tienes que sentir pasión por ella, si no, te pondrás contra las
cuerdas todos los días.<br /><br />
People can dismiss your start-up but you never can.<br /><br />
You cant build Twitter looking for it. Make something unsexy people will pay for.<br /><br />
Las ideas que parecen malas son las mejores, ya que no hay gente trabajando en ellas.<br /><br />
Intensity→ you can't have other hobbies.<br /><br />
Lo mejor es ir a por un mercado pequeño pero en crecimiento y expandirse desde ahí.
</marquee>
The text start from bottom and scroll to top, once the last text line appears, doesn't appear any other until this reach the top.
I want my text to start in the top and scroll up, also when the last quote appears, I don't want to wait until this to reach the top to see the first one, I want no space between them.
Is this possible?
Thanks in advance!
I'm trying to create my first IOS app and run into problems when creating the view. The app shows info that I get from a JSON file. The JSON contains formatted text in HTML style. Within this html text there are one or more photos. In the app I want these photos to be shown above the text (each photo shown for some seconds). The photos are separate items in the JSON as well so I really don't need the reference in the HTML text. I want the photo and the text to be scrollable in case it does not fit on the screen.
I've tried the following: Removed the href tags from the HTML text and shown the text in a UIWebView. Above the text I showed the photos in a UIImageView. The text was scrollable instantly, but the photos weer always visible.
So now I think I should use UITextview. But how do I get the formatting that's in the HTML text transferred to a formatted UITextView? Or am I missing something?
The HTML text looks something like this:
<p>ik was de afgelopen dagen voor het eerst van mijn leven in de Duitse stad Keulen. Bepakt met een frisse blik zitten we nu in de ICE die ons terug brengt naar Amsterdam. Hoog tijd om die blik te delen!<br \/>\n<a href=\"http:\/\/www.blablablog.nl\/wp-content\/uploads\/IMG_8259.jpg\"><img src=\"http:\/\/www.blablablog.nl\/wp-content\/uploads\/IMG_8259.jpg\" alt=\"\"><\/a> <\/p>\n<p><b>De ICE<\/b><\/p>\n<p>Eerst maar ‘s beginnen met die hogesnelheidstrein. Hij stopt weinig en da’s een voordeel. De stoelen zitten lekker en er rijdt een bistrowagen mee, maar echt snelheid maken doet hij pas na Keulen dus als je net als ik onvoorbereid op dat moment wacht kom je bedrogen uit.<br \/>\n <a href=\"http:\/\/www.blablablog.nl\/wp-content\/uploads\/IMG_8248.jpg\"><img src=\"http:\/\/www.blablablog.nl\/wp-content\/uploads\/IMG_8248.jpg\" alt=\"\"><\/a> <\/p>\n<p><b>De inwoners<\/b>
You can just use UIWebView for that and initialize it with the html string. This way everything is taken care of automatically.
If you format the HTML properly you won't have issues with scrolling.
I would like to know how to get my UIWebView to show these characters correctly. The image below is a snapshot of my UIWebView, showing some European language characters are not displaying correctly. I looked at the original web page that this was presented on, and the characters are correct. I suspect there are some meta tags that need to be set in the HTML head used in my UIWebView. but I'm not sure what they would be. Both the original web page and my own HTML are encoded with UTF-8 like this:
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
This should be:
Pour sa première exposition à la Inception Gallery, Christine Barbe
affiche une maturité dans son expérimentation en photographie et en
vidéo. Elle témoigne d'une nouvelle réflexion profonde liée à notre
condition d'humain au sein de notre environnement et à celle de
l'intervention du corps dans l'imprégnation de cet environnement.
...
The data is UTF-8 encoded but UIWebView is interpreting it as if it were ISO-8859-1. This is what makes e.g. “è” rendered as “è”.
For several weeks I learn a lot from this site.
Now I search for hours for a tip but can not find it and I decided to post a question.
I want an image from bbcode filter and a style as I add, but I do not know how to do this.
Who can tell me how can in chage this:
[attach=news-ZmAk6khfk0.jpg align=left title=title width=500 height=500 rel=rel]<br />
De formatie van Rutten creëerde in het eerste bedrijf geen uitgespeelde kansen. Vanuit de tweede lijn vielen een paar schoten te noteren. Dries Mertens en Tim Matavz hadden het vizier niet op scherp staan.
To this:
<img src=news-ZmAk6khfk0.jpg align=left title=title width=500 height=500 border=0 class=footblocks/>
Take a look at the PEAR package BBCode Parser 2. It's an excellent tool that will save you hours.
Edit: PECL also has one similar to the PEAR version: BBCode Parser
I'm working on a project, and I need know how I can force breakline, giving preference to a float:right element.
See this picture:
There are some CSS attribute that I can use to work with this case? I have tried clear: left, but nothing.
Code: jsFiddle
Out of script: what you think that have a better visual? :p
The easiest way is to move your element with float: right to before your other elements:
See: http://jsfiddle.net/G9UAR/1/
<div class="message">
<ul>
<li>Alterar preferências de idioma</li>
<li>Alterar preferências de idioma</li>
</ul>
<strong>Informação:</strong>
<span>A página não está disponível em seu idioma. O inglês está sendo usado.</span>
<br />
</div>
It is (probably) possible to do without switching around the HTML, but that answer would be a lot more complicated.