-
Posts
14,901 -
Joined
-
Last visited
-
Days Won
177
Content Type
Profiles
Forums
Events
Everything posted by Ingolme
-
First you need to break the file into lines. All your code is on one line.
-
What does your code look like?
-
Text automatically wraps around floated elements, provided that the floated element occurs before the text in the HTML.
-
Did you change your code in any way?
-
If you don't want responsive then you really shouldn't be using Bootstrap. The whole purpose of Bootstrap is to be responsive.
-
Presentation refers to the visual appearance of the site, like colors, shapes, fonts and layout. There are three client-side languages: HTML for structure CSS for presentation Javascript for behavior By separating your code into these three languages your site becomes much easier to maintain. The only thing HTML is meant for is to provide a structure so that the CSS and Javascript may interact with it. It should describe the content that's in it, for example, <p> for paragraphs, <ul>, <ol> and <dl> for different types of lists, <section>, <article>, <aside> are all self-descriptive. Once you have an HTML structure you can use CSS selectors to change the appearance of the page.
-
You need to access elements using other DOM methods, such as getElementsByTagName(), getElementById(), parentNode, childNodes and the rest. Read the HTML DOM tutorial here: http://www.w3schools.com/js/js_htmldom.asp Here's a simple example: <input id="centimeters">var centimeters = Number(document.getElementById("centimeters").value);alert(centimeters);
-
Using deprecated elements usually results in code that's harder to maintain. Imagine you're using the <center> tag on 20 pages and tomorrow you want the text to be left-aligned. In CSS, change one rule to "text-align: left". If you want to change the <center> tag you need to go through all 20 pages and remove it. HTML should not be used for presentation.
-
Try this: footer{ background-color:black; color: white; text-align: center; line-height: 100px; height: 100px; width: 100%;}footer p { display: inline-block; vertical-align: middle;}
-
It looks like some software on your phone is doing it. I see nothing wrong on my devices.
-
I do think 000webhost supports PHP mail. Try it and see. I would recommend going through the W3Schools.com PHP tutorial if you haven't learned PHP yet.
-
Well, that should work as long as you run it on a server with PHP enabled and a mailing service. You may need to customize the script.
-
You need a server-side language such as PHP to send the mail. HTML alone can't do it.
-
Just make the image a background image.
-
A missing semi-colon is one of the most common syntax errors. Even I make the mistake all the time, just get used to finding and fixing them while testing.
-
You can use constants for the MySQL connection. All that matters is that the values are correct.
-
Actually, the selector should be this since the <a> element is always the last element in its parent <li> .navbar-default .navbar-nav > li:last-child > a:after
-
The :after selector creates a pseudo-element that acts as if it was inside the element it belongs to. If you don't want that you'll have to actually add the content to the page's HTML instead of using the :after selector You can use the :last-child selector to make the last link not have the vertical bar. .navbar-default .navbar-nav>li>a:last-child:after { content: "";}
-
Not the plug-in's code, show the code you're using to add the plug-in onto your page. It should only be one or two lines of code, paste them into a forum post here.
-
All PHP statements need to be separated by semi-colons. This would fix your problem: include "../xx/xxxx.php";
-
Read about the different types of CSS selectors here: http://www.w3schools.com/css/css_selectors.asp The first one on that page is the element selector, which you already know, but the class and id selectors can be used to select specific elements.
-
The content property only works with :before and :after selectors. So you would do it like this: navbar-default .navbar-nav>li>a:after { content: " | ";} You can change its color, font and all the rest with other CSS properties in the same selector.