Go Back   vBulletin Modification Discussions > Coding Discussions > PHP Discussions, Tutorials and Help
Home Register FAQ Members List Calendar Mark Forums Read
vBSEO Info Tags

About This Page: This is a discussion on code question within the PHP Discussions, Tutorials and Help forums, part of the Coding Discussions category, at vBulletin Modification Discussions. Hi i've slowly....very slowly, been learning some php and html and just had a question about a few snippets in one line of code i used it has the <centre> used and i was told i


Reply
 
LinkBack Thread Tools
Old 02-22-2007, 07:29 PM   #1 (permalink)
Junior Member
 
Join Date: Jan 2007
Posts: 9
Faded is on a distinguished road
iTrader: (0)
code question

Hi i've slowly....very slowly, been learning some php and html and just had a question about a few snippets

in one line of code i used it has the <centre> used

and i was told i should use " div <div align="center"> </div> " instead

the original one works so i was just curious as to why it should be done the other way ?

-------------

the other one is a similar thing, I used <font color="yellow">

and was told i should use the <style> tag rather than the <font> tag

again the same question as above, why and if so is it used in exactly the same way ?
Faded is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links

Old 02-23-2007, 09:10 AM   #2 (permalink)
Junior Member
 
Join Date: Feb 2007
Posts: 11
echamberlain is on a distinguished road
iTrader: (0)
The new thinking in web design is that presentation information should not be hard coded in the content.

The idea being that you can add references to all your tags and then define the tag formatting in one or more files. This is done using CSS.

Here is a good site that will introduce you to CSS.
CSS Tutorial
echamberlain is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-23-2007, 02:40 PM   #3 (permalink)
Junior Member
 
Join Date: Jan 2007
Posts: 9
Faded is on a distinguished road
iTrader: (0)
cheers, thanks for that one, I got some reading to do now
Faded is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


A vBSkinworks Design Recoded By vBModder.
All Code Distributed On This Site is © 2006 by it's author.
Search Engine Optimization by vBSEO 3.1.0

All times are GMT -7. The time now is 02:29 PM.
Online Users 45
Registered 0
Guests 45
Members 3914
Active Members 162
Threads 1856
Posts 7347
Top poster: Code Monkey (2237)
Welcome to our newest member, xer321
Most users ever online was 235, 04-11-2007 at 09:59 AM.
Speak Out! vBulletin gets the web talking!


vBulletin Setup SEO

vBulletin graphics resource images