[advanced search]
 

Go Back   NamePros.com > Discussion > Web Design & Development > Programming

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


Closed Thread
 
LinkBack Thread Tools
Old 08-16-2006, 06:55 PM   #1 (permalink)
NamePros Member
 
Zombie's Avatar
 
Join Date: Aug 2005
Posts: 78
86.00 NP$ (Donate)

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!)
__________________
RandyBoo Web Directory <-- Submit your site
Zombie is offline  
Old 08-16-2006, 06:57 PM   #2 (permalink)
New Member
 
Join Date: Dec 2005
Posts: 1,614
90.00 NP$ (Donate)

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, 07:00 PM   #3 (permalink)
Dan
Buy my domains.
 
Dan's Avatar
 
Join Date: Feb 2006
Posts: 2,801
56.00 NP$ (Donate)

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, 07:31 PM   #4 (permalink)
NamePros Member
 
Zombie's Avatar
 
Join Date: Aug 2005
Posts: 78
86.00 NP$ (Donate)

Zombie is an unknown quantity at this point


i thought it might be that, thanks

so it's just spaces or tabs being used?
__________________
RandyBoo Web Directory <-- Submit your site
Zombie is offline  
Old 08-16-2006, 07:47 PM   #5 (permalink)
Dan
Buy my domains.
 
Dan's Avatar
 
Join Date: Feb 2006
Posts: 2,801
56.00 NP$ (Donate)

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, 08:05 PM   #6 (permalink)
NamePros Regular
 
Join Date: Jun 2003
Location: Louisiana, USA
Posts: 665
33.75 NP$ (Donate)

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.
__________________
******dotbob.com******
Cheap Domain Name Registrations
**** -Dotbob.com
painperdu is offline  
Old 08-16-2006, 09:10 PM   #7 (permalink)
Eating Pie
 
iNod's Avatar
 
Join Date: Nov 2004
Location: Canada
Posts: 2,289
126.05 NP$ (Donate)

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

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

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


Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 03:03 AM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85