Showing posts with label CSS. Show all posts
Showing posts with label CSS. Show all posts

Tuesday, 9 February 2016

Why Use a Relational Database for Your Website?In Feburary 2016 09,

In Feburary 2016 09,
One of the primary reasons for using a relational database is that it makes updating and maintaining website content easier. Often within a website, the same piece of information will be included in more than one location, so if that information needs to be amended or updated, the same editing process must be carried out multiple times. With a relational database, a data item can be listed once and then read from the same location whenever it is required within the site. This means that information only needs to be updated in this one place and the changes will filter throughout the site.
Consistency
Relational databases can increase consistency in the way website content is both structured and presented. When data is kept in a database, items within the same category will be listed within the same table and a server-side scripting language such as PHP or ASP will pull the data for presenting within the site pages. The data will normally be structured in HTML and styled in CSS (Cascading Style Sheets), using the same structures for everything within a category of data, making the site structure and appearance uniform and therefore more user friendly.
Reliability
Database systems offer a reliable way to store website content and are less likely to become corrupted than static HTML files. Most Web database systems such as MySQL can be easily backed up to protect against data loss. Many Web database systems can also provide secure functions, preventing data updates from being carried out by anyone who is not authorized. For corporate needs, there are powerful database systems such as Oracle that can provide extensive levels of security.
Dynamic Functions
Within Web development, sites are described as being either static or dynamic. Sites built using server-side scripting on top of a relational database are dynamic, which is in contrast with static sites where the content is included within HTML files that are simply viewed on request by visitors. Database-driven sites are dynamic because the pages are only built when a visitor requests them, with the HTML content being written by the server-side program according to whatever is in the database. This means that relational databases make a site more fluid and changeable, potentially offering a unique user experience with each visit.
Separating Content From Style
Websites are generally more usable to people when content and style are kept separate within the code. The content of a site is the data, text and other media displayed within it, and the style is the formatting rules (for example in CSS), determining how this content should be displayed. Keeping content and style separate allows websites to adapt to different environments and lets users tailor the presentation to suit them. Database-driven websites separate content from style automatically due to their inherent design.
In Feburary 2016 09,

Thursday, 4 February 2016

How to Set a Fixed Background in JoomlaIn Feburary 2016 04,

In Feburary 2016 04,
Log in to the administration section of your Joomla website.
Upload the image you want to use as a background to the images folder in the Joomla code, using an FTP editor or through the Joomla Media Manager.
Navigate to the
Extensions tab, followed by
Template Manager and then click on the live template for the site. A yellow star beside the template name indicates the live template.
Click
Edit CSS. Choose the template for the site, usually called 'template.css.' Click the
Edit button to open the file for editing.
Search for the 'body' tag in the code.
Add the following code between the opening and closing brackets:background-image:URL('/images/image.gif');
background-repeat:no-repeat;
background-attachment:fixedThe image links to the image you uploaded earlier.
Click the
Save to save the file. Open the site in a browser and the image will now stay in position on the page when you scroll down.
In Feburary 2016 04,