Everything posted by ronwolpa
-
how to align <article> @ the center ? some help would be appreciated
In general lines , to be brief , I don´t manage to align some boxes of text built with <article> Below a basic unit , witness class is an unsuccesfull attempt to center such thing. Align to the right as such elements are it hurts the layout. Would please suggest me something else ? Thank you so much. .witness { text-align: center; } <div class="witness"> <article class="content_bg1 pad__1"> <div class="container"> <div class="row"> <div class="grid_6"> <div class="block1"> content .............. </div> </div> </div> </div> </div> </article> </div> </section>
-
how duplicate a class for creating buttons ?
I have attempted unsucessfully to duplicate a class responsible for formatting links turning them into buttons. Below I pasted the html and css original codes: Now I will paste my tentative code : I thought it was going to work but it is not what happened (only a rectangular background ) Would you please provide me some guidance on what is wrong ; Thank you so much.
-
formatting a submenu problem
It was necessary to add submenus to an already existing menu , as it can be seen below I nested it but the original .css was not written to accomodate submenus. As it can be seen on the attached picture , the submenu is not formatted as the menu so that it hurts the layout. Can someone please help me out ? Thanks.
-
why id="form" prevents my form to work ...
As I liked the original validated form that came with the site template , I made up my mind to give it a try , despite not understanding fully how it works and shed my own form & php code which I know how it does. rbrtsmith asked if the form employed a js , yes it does , it employs “TMForm.js “ - which may be found @ http://bettodamasceno.com.br/2/js/TMForm.js - that works together with MailHandler.php . Usually the form codes I know submit the form info to an email , this one seems to send the message to a Webmail (?). The form is @ http://bettodamasceno.com.br/2/index-4.html. Could you please help me out ? Thank you both guys very much for your support.
-
why id="form" prevents my form to work ...
The form is fully operational , I tested it on line. It worked perfectly but as id="form" is added to the form tag , there is no use to click on the submit as nothing happens. Why id="form" prevents my form to work ? Thank you. <form method="POST" action="php/send_form_email.php" id="form" > <label class="name"> <input type="text" name="nome" type="text" value="nome" id="nome" placeholder="Name:" data-constraints="@Required @JustLetters" / /> </label> <label class="email"> <input type="text" name="email" value="email" id="email" placeholder="E-mail:" data-constraints="@Required @Email" / /> </label> <label class="message"> <textarea name="mensagem" id="mensagem" placeholder="Message:" data-constraints='@Required @Length(min=20,max=999999)' > </textarea> </label> <div> <div class="clear"> </div> <div class="btns"> <input name="Submit" type="Submit" value="ENVIAR" />
-
font-face : I don´t manage it to work
I changed the old font by a modern one , converted it and downloaded the complete kit. Now it works ! Thanks you all for your replies.
-
font-face : I don´t manage it to work
I am trying to add a new typography to an already existing site. I added a typography.css file : @font-face{ font-family: news-gothic; scr: url(news-gothic.ttf); } I added as well the news-gothic.ttf font , which is temporarily in the css files folder. On the already existing style.css , I added the font-family inside h2 header. h2 { font-family:news-gothic; font-size:42px; ………….. In the html code , into the head element h2 , there is a text which since the font-familiy has been added to h2 is renderized different than previously was . As what I see does not look like with News gothic , in order to determine whether face-font is really working I renamed the .ttf font file. It hasn´t changed the way the text is exhibited what it means that the font face is not responsible for the text exhibition change. My question is what may be wrong ? Thank you for your attention.
-
cufon-yui.js how exactly it works
Yeah , I know that , I tried it and it worked as well. cheers
-
cufon-yui.js how exactly it works
It works wonderfully well. However , in order for my logo to appear as it uses to be I had to do the following : <span class="color_orange_mm">mm<span class="color_orange_k">K<span class="color_orange_t">t</span></span></span> Is it correct to nest spans as I did ? Let me explain that If I write the code this way , the logo appears with unwanted gaps <span class="color_orange_mm">mm</span> <span class="color_orange_k">k</span> <span class="color_orange_t">t</span> Thanks
-
cufon-yui.js how exactly it works
I discovered http://cufon.shoqolate.com/ , but the fonts I chose seem not to be compatible with EULA embed. And it seems the font does not have a commercial version. I thought I had solved a trouble to fall into another. it remains the doubt , from where does cufon download the fonts ? can I point to folders on my server the ttf files ?
-
cufon-yui.js how exactly it works
Typography question : How cufon-yui.js exactly works ? Accessed a site which employs Arizonia.ttf , a font I have not installed on my system, however the logo is renderized with this font. I´ve analyzed all the code seeking for absolute URLs pointing the path toward such font over the web but there is no one at all. I´ve seen a couple of sites on which there was a folder with the ttf files. It is not the case this one. So where it is going to pick the ttfs to work ? The other question is how to change arizonia by the other fonts I employ on my logo ?
-
forms submition with onClick="document.....how?
input[type=reset] { } is there a way to make it work with <input type="reset" name="reset" ...... ?
-
forms submition with onClick="document.....how?
It works fine. If I want to add hover function then I will need a js script I suppose ? Thank you for your help.
-
forms submition with onClick="document.....how?
So how to keep the neat aspect of the button and submit the form ; If I can´t format with css the <input name="send" type="submit" class="button" id="send" value="" /> to appear exactly as a <a href...... class=""....
-
forms submition with onClick="document.....how?
How to submit forms with onClick <a href="#" onClick="document.getElementById('ContactForm').submit()">Send</a> I ask you please some guidance. As I have not found elucidative literature I made up my mind to post. How to pass variables with data to my php script ?? <form method="POST" name="form" id="form" class="form-1" action=""> Thank you for your attention.
-
how to improve the look of a floating menu
Thank you both for your answers ; Have yiu tested your code in an online page? The matter is solved , it was a relative path problem ; The way the code is below it works fine on Chrome. As to IE8 and FIrefox there is a trouble I have no idea how to fix it up: On Chrome as the menu collapses the background of each <li> is grey with text black and when mouse is on is an orange #ff9900. IE8 and Firefox does not render that way , as the menu collapses background and txt of <li> are #000 ; is there a way to correct this ? Thank you once again.
-
how to improve the look of a floating menu
is there a way to improve the aspect of the floating bar as coded below ? I thought I could employ background images ; Please suggest me something. /* F L O A T I N G M E N U J U N E 1 3 2 0 1 2 */. body{ margin:0px; padding:0px;} #fl_menu{ position:absolute; top:0px; right:0px; z-index:9999; width:150px; height:50px;} #fl_menu .label{ padding-left:20px; line-height:50px; font-family:"Tahoma", Tahoma , Arial, Helvetica, sans-serif; font-size:14px; font-weight:bold; background:#ccc; color:#fff; letter-spacing:7px;} #fl_menu .menu{ display:none;} #fl_menu .menu .menu_item{ display:block; text-align:left; background-image : url(/images/thumb-4.jpg); /* IT DOES NOT WORK WHY ? */ background:#000; color:#ffcc00; /* CHANGES MOUSE ON BACKGROUND AND FONTS COLOR */ border-top:1px solid #333; padding:10px 20px; font-weight:bold; font-family: Tahoma, Arial, Helvetica, sans-serif; font-size:12px; text-decoration:none; } #fl_menu .menu a.menu_item:hover{ background:#ff9900; color:#fff; } .content{width:520px; margin:50px auto;}
-
compatibility between jQuery files
I have had trouble with compatibility between jQuery files .js. Usually my rule is to try a new js code and find out whether other functions were not affected. My question if there is any rule to know which codes goes with other ones ? ps : sample of codes I have in one of my projects I am trying to implant a div float menu based on floating-1.8.js & jquery-1.4.4.min.js , however it doesn´t ran and besides that affected the carrouselite ; Can someone suggest me a link where I could find another option who could fit ?
-
left side fixed nav bar
Last year I saw somewhere over the web a site that had a left side nav bar which collapsed as mouser cursor on it. I thought I had bookmarked it but haven´t been able to find it. I don´t even know how this kind of menu is called (a floating menu ?). Does someone know where can I find more information ?
-
How to add the class phpforms that calls an overlay screen inside this jQuery floating menu code ?
It worked fine , thank you a lot
-
How to add the class phpforms that calls an overlay screen inside this jQuery floating menu code ?
How to add the class phpforms that calls an overlay screen inside this jQuery floating menu code ? On my code there are two different jQuery functions , one is for the floating menu and the other to call the jQuery overlay screen. The way it is the code it works but the link on the floating menu looses the format. Is there a way to correct the problem and make both functions work ? Thanks
-
anchor link on php file does not work if clicked when such file is embeded on a HTML
Employed entities as suggested above but the trouble remains : • This is a sample about how I employed entities on the code : Escrever apresentação pessoal • This is how the text appears on the source code after being ran on the server : Escrever apresentação pessoal Text above is how it was supposed to be shown , correct. • Finally how is renderized , messed up : Escrever apresenta��o pessoal it is strange that if it is correct on source code it should be renderized correctly too. Wherever there is a accented vowel , there is a "unrecognized character" (��) , if I can call it this way. Useless to replace by entities; Just to explain what I am doing I have a HTML code renamed as a PHP file on which it is included a PHP external file. Cheers
-
is there a way to customize the browser default fly over comes up due to
Before posting here I searched through Google to find nearly nothing on this matter. Is there a way to customize the browsers default validation error fly over that comes up due to required="required" ? Any tutorials you perhaps know ? thanks
-
anchor link on php file does not work if clicked when such file is embeded on a HTML
It has worked , <?php include('php/document.php'); ?> but ocurred two additional problems ; one is very easy , I will have to change the images path , the other seems to be not so easy ; all accented vowels are messed up : apresenta��o (apresentação) , Endere�o (it was supposed to be ENDEREÇO); You are lucky guys by not to having to handle with latin languages. Any suggestion ?
-
anchor link on php file does not work if clicked when such file is embeded on a HTML
It may seem a dull question but what does it mean to change php instead of html ? What do I do with the html , does the code have to be enclosed inside php tags ? I am not used to PHP and it is still a bit strange to me to blend it together html.