-
ronwolpa reacted to a post in a topic:
how to align <article> @ the center ? some help would be appreciated
-
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.