html, css, jQuery, PHP, mySQL
Sunday, August 7th, 2011
TweetOnce you have understood the display property and the parent-child relationship in CSS, it is time to move the elements around with relation to one another and the page itself. We do this using the position property, and x and y coordinates. Once you have set a width on an element, restricting the size of [...]
Tags: bad idea, block level elements, default position, document flow, internet explorer, level element, logos, padding, page scrolls, parent child relationship, position property, relative position
Posted in Tutorials | No Comments »
Friday, August 5th, 2011
TweetAlthough it is considered best practice to use CSS to place images in a web page, it is still very useful to know how to do this with HTML. Here is the basic code to include a picture called mycat.jpg in your HTML document: <img src=”mycat.jpg” alt=”my cat Fluffy” /> Notice this is another self-closing [...]
Tags: advantages and disadvantages, attribute, bad idea, element, html document, image file, images, img src, lt, mycat, own website, photographs, png, savin, short description, value pairs, web page
Posted in Tutorials | No Comments »