Go Back   Winamp Forums > Community Center > General Discussions

Reply
Thread Tools Search this Thread Display Modes
Old 17th July 2004, 22:27   #1
Cleanup
The WWYD Jerk
(Forum King)
 
Cleanup's Avatar
 
Join Date: Jan 2002
Location: Shanghai
Posts: 2,385
Need HTML Help

I need some help with a website I'm designing for my parents' company. THe design is all drawn up, but my HTML skills are kaput (I'm using Dreamweaver MX 2004)...

My current hurdle to conquer is CSS or some such. I need text to be 10 px away from every border of the cell that it's in. Apparently this can be achieved with a .css. I've already made default font colours, link colours, etc., but I can't seem to find the spacing in Dreamweaver.

I need some help creating a .css or if there's another way to do this? (In Dreamweaver or in code)..

Thanks.
Cleanup is offline   Reply With Quote
Old 17th July 2004, 22:30   #2
Bilbo Baggins
Wind Chime of the Apocalypse
 
Bilbo Baggins's Avatar
 
Join Date: May 2000
Location: The Forest
Posts: 17,231
use the border command.
Bilbo Baggins is offline   Reply With Quote
Old 17th July 2004, 22:38   #3
Cleanup
The WWYD Jerk
(Forum King)
 
Cleanup's Avatar
 
Join Date: Jan 2002
Location: Shanghai
Posts: 2,385
That lines my cells with a foogly border that pushes everything out of place. But I'll investigate further.
Cleanup is offline   Reply With Quote
Old 17th July 2004, 23:59   #4
CaptainNuss
Indecisive One
(Senior Member)
 
CaptainNuss's Avatar
 
Join Date: Jul 2004
Location: :morF
Posts: 625
This site provides excellent references to HTML and CSS. Look into the padding-left property (CSS) to solve your problem.

[size=1]"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs and the universe trying to produce bigger and better idiots. So far, the universe is winning." - Richard Cook
CaptainNuss is offline   Reply With Quote
Old 18th July 2004, 02:50   #5
ctn|chrisw
Forum King
 
ctn|chrisw's Avatar
 
Join Date: Mar 2002
Location: Hell
Posts: 3,309
dreamweaver mx 2004 does css real good. and as was said, check padding-left


ctn|chrisw is offline   Reply With Quote
Old 18th July 2004, 04:51   #6
xzxzzx
Forum King
 
xzxzzx's Avatar
 
Join Date: Aug 2002
Posts: 7,267
Cleanup: You could also try messing with margin-left.

See http://archivist.incutio.com/viewlist/css-discuss/24950

Freedom of speech is the basic freedom of humanity. When you've lost that, you've lost everything.
1\/\/4y 34|<$p4y 1gp4y 33714y, 0d4y 0uy4y? | Roses are #FF0000; Violets are #0000FF; chown -R ${YOU} ~/base
The DMCA. It really is that bad. : Count for your life.
xzxzzx is offline   Reply With Quote
Old 18th July 2004, 06:14   #7
ryan
not fucked, not quite.
(Forum King)
 
ryan's Avatar
 
Join Date: Feb 2002
Location: Tn
Posts: 8,755
Send a message via AIM to ryan
You can use the margin property to apply space on the outside of objects, and the padding property to add space on the inside of objects.

What I'm guessing is that you want something like

td { padding: 10px }

Although I'd advise against using tables, using css positioned divs are much better.

So if you
ryan is offline   Reply With Quote
Old 18th July 2004, 09:49   #8
mark
Forum King
 
mark's Avatar
 
Join Date: Jul 2002
Location: Norn Ir'nd, leek...
Posts: 6,287
Quote:
Originally posted by idiot
So if you
hit submit too soon your post doesnt make sence?
mark is offline   Reply With Quote
Old 18th July 2004, 09:54   #9
mark e
Major Dude
 
mark e's Avatar
 
Join Date: Aug 2001
Posts: 1,117
w3schools.com
mark e is offline   Reply With Quote
Old 18th July 2004, 14:10   #10
Cleanup
The WWYD Jerk
(Forum King)
 
Cleanup's Avatar
 
Join Date: Jan 2002
Location: Shanghai
Posts: 2,385
Solved the problem using padding. Since I don't really know HTML, I don't know many of the commands.

Thanks for your help. This is the website I'm remaking. My eyes are bleeeeding.
Cleanup is offline   Reply With Quote
Old 18th July 2004, 22:16   #11
ryan
not fucked, not quite.
(Forum King)
 
ryan's Avatar
 
Join Date: Feb 2002
Location: Tn
Posts: 8,755
Send a message via AIM to ryan
Quote:
Originally posted by Nobby Nobbs
hit submit too soon your post doesnt make sence?
I was planning on posting more, but I thought to myself "fuck it, he probably gets it".
ryan is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Community Center > General Discussions

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump