|
-
Feb 21st, 2001, 07:22 PM
#1
Thread Starter
Fanatic Member
How do I do this? Right now I am doing {text-align: center;}, and it doesn't work. I also tried {align: center;}, but that won't work either. Can anyone help?
Alcohol & calculus don't mix.
Never drink & derive.
-
Feb 21st, 2001, 07:47 PM
#2
Lively Member
it's not much of a problem if you use Dreamweaver.
try this...tell me if it works..
.center {text-align: center}
good luck
MohamadHassan<equuelus@icqmail.com>
Javascript,VBScript,ASP,LearningVBfor.NET
ICQ:7205608

-
Feb 22nd, 2001, 06:34 PM
#3
Thread Starter
Fanatic Member
I finally got it, it turns out I have to use divs instead of spans.
Alcohol & calculus don't mix.
Never drink & derive.
-
Feb 22nd, 2001, 08:55 PM
#4
Lively Member
do you know what the difference is, between span and div??
MohamadHassan<equuelus@icqmail.com>
Javascript,VBScript,ASP,LearningVBfor.NET
ICQ:7205608

-
Feb 25th, 2001, 04:23 PM
#5
Fanatic Member
<span> is usually used inline and does not have an HTML alignment attribute where the <div> tag does. In HTML you could have <div ALIGN = "center">. This cannot be done with the <span> tag and since no attribute exists in HTML for it you cannot set it in a style.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|