NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page newby question html/css

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 08-16-2006, 07:55 PM THREAD STARTER               #1 (permalink)
NamePros Member
 
Zombie's Avatar
Join Date: Aug 2005
Posts: 79
Zombie is an unknown quantity at this point
 



newby question html/css


im try to learn html and css (total newb) it seems quite straight forward up to now.

One thing i cant understand is why it is written out un evenly.

uneven as in it is not flush to the left

is it important for any reason to be layed out in the way it is?

(sorry if the question is a bit stupid!)
__________________
Online Marketing Tips
Zombie is offline  
Old 08-16-2006, 07:57 PM   #2 (permalink)
Senior Member
Join Date: Dec 2005
Posts: 1,604
webfreak has much to be proud ofwebfreak has much to be proud ofwebfreak has much to be proud ofwebfreak has much to be proud ofwebfreak has much to be proud ofwebfreak has much to be proud ofwebfreak has much to be proud ofwebfreak has much to be proud ofwebfreak has much to be proud of
 


Diabetes Cystic Fibrosis
You do not have to format it like that.
webfreak is offline  
Old 08-16-2006, 08:00 PM   #3 (permalink)
Dan
Buy my domains.
 
Dan's Avatar
Join Date: Feb 2006
Posts: 2,796
Dan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant future
 


Autism Autism Autism Autism Autism Autism Autism
Using tabs or spaces makes it easier to see what tags are opened/closed and the parent elements of what you are editing in. It's just for readability.
Dan is offline  
Old 08-16-2006, 08:31 PM THREAD STARTER               #4 (permalink)
NamePros Member
 
Zombie's Avatar
Join Date: Aug 2005
Posts: 79
Zombie is an unknown quantity at this point
 



i thought it might be that, thanks

so it's just spaces or tabs being used?
__________________
Online Marketing Tips
Zombie is offline  
Old 08-16-2006, 08:47 PM   #5 (permalink)
Dan
Buy my domains.
 
Dan's Avatar
Join Date: Feb 2006
Posts: 2,796
Dan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant future
 


Autism Autism Autism Autism Autism Autism Autism
I use tabs, but not all people do.
Dan is offline  
Old 08-16-2006, 09:05 PM   #6 (permalink)
NamePros Regular
Join Date: Jun 2003
Location: Louisiana, USA
Posts: 658
painperdu has a spectacular aura aboutpainperdu has a spectacular aura about
 



If you think about it a web page consits of containers, boxes inside other boxes.

All open tags have corresponding closing tags (with a few exceptions).

To keep things simple it's best to keep the same tags lined up with each other so you'll know where a particular 'box' opens and closes. This is especially important when using tables.
painperdu is offline  
Old 08-16-2006, 10:10 PM   #7 (permalink)
Eating Pie
 
iNod's Avatar
Join Date: Nov 2004
Location: Canada
Posts: 2,272
iNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud of
 


Special Olympics AIDS/HIV Cystic Fibrosis Save The Children Baby Health Cystic Fibrosis
Most major programmers use tabs as C#, C++, VB, etc.. They all require certain amount of spaces. Otherwise you will get errors. PHP,HTML, CSS does not require this but it cleans up the code.

- Steve
__________________
I feel old.
iNod is offline  
Closed Thread


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


Liquid Web Smart Servers  
All times are GMT -7. The time now is 09:27 PM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger